[wp-trac] [WordPress Trac] #8592: Private Pages not listed in the Parent dropdown
WordPress Trac
noreply at wordpress.org
Tue Aug 27 19:30:02 UTC 2013
#8592: Private Pages not listed in the Parent dropdown
-----------------------------------+-----------------------------
Reporter: mtdewvirus | Owner: nacin
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: Administration | Version: 2.7
Severity: major | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+-----------------------------
Changes (by sillybean):
* keywords: has-patch => has-patch 2nd-opinion
Comment:
8592.5.diff includes checks for password-protected pages' children.
To sum up the current approach, there are new args filters on
wp_list_pages() and wp_dropdown_pages(), to allow devs to change
post_status (among other things). And then there is a bunch of sanity
checking as a result:
* Reading Settings forces public status for the front page setting, in
case wp_dropdown_pages() has been filtered to include other statuses.
* If the user attempts to publish child pages of draft or private pages,
the children will inherit the parent's status instead, and their status
can't be changed until the parent is published (with a note to that effect
in the Visibility section of the Publish box).
* If the user attempts to publish child pages of password-protected pages,
the children will also be set to password-protected and will inherit the
parent's password if none was set (also with a note in the Publish box).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8592#comment:158>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list