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

WordPress Trac noreply at wordpress.org
Tue Jun 9 15:46:55 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:
-------------------------------+-----------------------------

Comment (by jorbin):

 I wonder if it might be simpler to add this into the delete_post section
 of map_meta_cap

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


More information about the wp-trac mailing list