[wp-trac] [WordPress Trac] #21665: Allow non-editable pages to be classified & organized as "System Pages"
WordPress Trac
wp-trac at lists.automattic.com
Thu Aug 23 19:50:40 UTC 2012
#21665: Allow non-editable pages to be classified & organized as "System Pages"
------------------------------------+------------------------------
Reporter: bootsz | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: UI | Version:
Severity: normal | Resolution:
Keywords: dev-feedback has-patch |
------------------------------------+------------------------------
Changes (by bootsz):
* keywords: dev-feedback => dev-feedback has-patch
Comment:
Here's an initial patch:
http://core.trac.wordpress.org/attachment/ticket/21665/21665-v1.diff
In this patch "System pages" are handled similarly to how posts are
classified as "Sticky": The wp_options table stores a new option,
system_pages, which contains an array of page IDs that have been labeled
as System.
As of version 1, the only way to make a page a "system page" is to set it
as the "page for posts" under Settings -> Reading. How we'll enable
developers to classify other pages as "system" is TBD. Definitely looking
for some additional input from a senior dev on that one.
Haven't yet tested on user permissions.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21665#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list