Ticket #14408: 14408.2.diff
File 14408.2.diff, 654 bytes (added by , 11 years ago) |
---|
-
wp-includes/class-wp.php
458 458 $GLOBALS['post'] = (isset($wp_query->post)) ? $wp_query->post : null; 459 459 $GLOBALS['request'] = $wp_query->request; 460 460 461 if ( is_single() ||is_page() ) {462 $GLOBALS['more'] = 1;461 if ( $wp_query->is_single() || $wp_query->is_page() ) { 462 $GLOBALS['more'] = 1; 463 463 $GLOBALS['single'] = 1; 464 464 } 465 466 if ( $wp_query->is_main_query() && $wp_query->is_author() ) 467 $GLOBALS['authordata'] = $wp_query->get_queried_object(); 465 468 } 466 469 467 470 /**