Ticket #9105: show_on_front.9105.diff
| File show_on_front.9105.diff, 532 bytes (added by , 17 years ago) |
|---|
-
wp-includes/query.php
331 331 */ 332 332 function is_front_page () { 333 333 // most likely case 334 if ( 'p osts' == get_option('show_on_front') && is_home() )334 if ( 'page' != get_option('show_on_front') && is_home() ) 335 335 return true; 336 336 elseif ( 'page' == get_option('show_on_front') && get_option('page_on_front') && is_page(get_option('page_on_front')) ) 337 337 return true;