Changeset 5100 for branches/2.0/wp-includes/template-functions-links.php
- Timestamp:
- 03/25/07 23:12:38 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.0/wp-includes/template-functions-links.php
r5080 r5100 90 90 $id = (int) $id; 91 91 if ( !$id ) 92 $id = $post->ID;92 $id = (int) $post->ID; 93 93 94 94 $pagestruct = $wp_rewrite->get_page_permastruct(); … … 111 111 112 112 if (! $id) { 113 $id = $post->ID;113 $id = (int) $post->ID; 114 114 } 115 115
