[wp-trac] [WordPress Trac] #30352: Prevent an editor to move the front page / posts page to trash

WordPress Trac noreply at wordpress.org
Sun Feb 15 12:43:05 UTC 2015


#30352: Prevent an editor to move the front page / posts page to trash
-------------------------------+-----------------------------
 Reporter:  benoitchantre      |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Future Release
Component:  Posts, Post Types  |     Version:  4.0
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:
-------------------------------+-----------------------------
Changes (by mrahmadawais):

 * keywords:  needs-patch good-first-bug => has-patch


Comment:

 I have added a function to prevent the editor user role from deleting any
 page which has been selected as the front page.
 Awaiting review.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30352#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list