[wp-trac] [WordPress Trac] #37580: Users who cannot set the Front page or Posts page should not be able to delete these pages
WordPress Trac
noreply at wordpress.org
Fri Aug 26 18:22:29 UTC 2016
#37580: Users who cannot set the Front page or Posts page should not be able to
delete these pages
--------------------------------------+-----------------------------
Reporter: JakePT | Owner: johnbillion
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.7
Component: Role/Capability | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: administration
--------------------------------------+-----------------------------
Changes (by johnbillion):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"38378"]:
{{{
#!CommitTicketReference repository="" revision="38378"
Role/Capability: Only users who can manage options should be able to
trash/delete the page for posts or the front page, as they are the only
users who can restore it or subsequently alter the "Front page displays"
setting.
Fixes #37580
Props JakePT
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37580#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list