[wp-trac] [WordPress Trac] #12737: is_front_page issue with no pages

WordPress Trac wp-trac at lists.automattic.com
Sat May 1 02:08:39 UTC 2010


#12737: is_front_page issue with no pages
--------------------------+-------------------------------------------------
 Reporter:  Connorhd      |       Owner:                        
     Type:  defect (bug)  |      Status:  new                   
 Priority:  normal        |   Milestone:  3.0                   
Component:  General       |     Version:  2.9.2                 
 Severity:  normal        |    Keywords:  dev-feedback has-patch
--------------------------+-------------------------------------------------
Changes (by sivel):

  * keywords:  dev-feedback => dev-feedback has-patch


Comment:

 New patch adds a hidden input field to options-reading.php when no
 published pages are present.  This saves options.php from blanking
 show_on_front when saving.

 Viper007Bond and I discussed fixing this for backwards compat and without
 the user going to options-reading.php and clicking "Save Changes" the
 option will still remain blank.  I am open to suggestions, but really feel
 that fixing it in the is_front_page logic is the wrong place.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12737#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list