Ticket #29660: 29660.diff
File 29660.diff, 439 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/query.php
diff --git src/wp-includes/query.php src/wp-includes/query.php index 5c1c97c..3015509 100644
class WP_Query { 4305 4305 * @return bool True, if front of site. 4306 4306 */ 4307 4307 public function is_front_page() { 4308 if ( $this->is_feed ) { 4309 return false; 4310 } 4311 4308 4312 // most likely case 4309 4313 if ( 'posts' == get_option( 'show_on_front') && $this->is_home() ) 4310 4314 return true;