Changeset 18844 for trunk/wp-includes/admin-bar.php
- Timestamp:
- 09/30/2011 06:07:14 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/admin-bar.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/admin-bar.php
r18788 r18844 367 367 */ 368 368 function wp_admin_bar_edit_menu( $wp_admin_bar ) { 369 global $post, $tag ;369 global $post, $tag, $wp_the_query; 370 370 371 371 if ( is_admin() ) { … … 395 395 } 396 396 } else { 397 $current_object = get_queried_object();398 399 if ( empty( $current_object) )397 $current_object = $wp_the_query->get_queried_object(); 398 399 if ( empty( $current_object ) ) 400 400 return; 401 401
Note: See TracChangeset
for help on using the changeset viewer.