[wp-trac] [WordPress Trac] #31958: Private pages does not show in Page Attributes and Edit Menu screen
WordPress Trac
noreply at wordpress.org
Mon Apr 13 15:36:59 UTC 2015
#31958: Private pages does not show in Page Attributes and Edit Menu screen
----------------------------+----------------------
Reporter: totland | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Administration | Version: 4.1.1
Severity: normal | Resolution: wontfix
Keywords: | Focuses:
----------------------------+----------------------
Changes (by boonebgorges):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
I would suggest that this is a feature, not a bug.
In the case of Menus, it'd be problematic to allow private pages to be
added. What would happen to menu items that appear as subnavigation to a
private item, when viewed by a user without permission to view such items?
In the case of page hierarchy, I guess I do see a use case for having
private parents. But there are lots of UX and workflow considerations. If
A and B are private pages, and B is a parent of A, what happens when B is
made public? We would need to be sure that information about that parent
doesn't show anywhere in the interface for users without the capability to
read the capacity. This would include fairly low-level filtering of things
like `wp_dropdown_pages()`.
Given the complexity involved, and the relatively limited situations where
such a use would be worthwhile, I'd say that this is plugin territory. Use
the 'page_attributes_dropdown_pages_args' to pass a custom 'post_status'
argument that includes 'private' as appropriate.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31958#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list