[wp-trac] [WordPress Trac] #13830: Front page displays: Fix same static page warning
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 10 20:29:41 UTC 2010
#13830: Front page displays: Fix same static page warning
----------------------------+-----------------------------------------------
Reporter: zeo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Administration | Version: 3.0
Severity: normal | Keywords: has-patch
----------------------------+-----------------------------------------------
Front page display-> static page; if you choose same page for both Front
page and Posts page a warning message will appear.
But if you choose static page without selecting a page for Front page,
Posts Page and use the default "--Select--" for both, no warning message
displayed. This will cause error, since the value for page_on_front will 0
but page_for_posts is set with no value. Warning message should be
displayed.
Adding option_none_value=0 to wp_dropdown_pages will solve the issue.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13830>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list