Changeset 4863
- Timestamp:
- 02/02/2007 04:38:26 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-template.php
r4748 r4863 274 274 275 275 $output = ''; 276 $current_page = 0; 276 277 277 278 // sanitize, mostly to keep spaces out … … 289 290 290 291 global $wp_query; 291 $current_page = $wp_query->get_queried_object_id(); 292 if ( is_page() ) 293 $current_page = $wp_query->get_queried_object_id(); 292 294 $output .= walk_page_tree($pages, $r['depth'], $current_page, $r); 293 295
Note: See TracChangeset
for help on using the changeset viewer.