[wp-trac] [WordPress Trac] #39059: Remove unnecessary `is_super_admin()` checks for editing others posts

WordPress Trac noreply at wordpress.org
Sun Dec 4 18:40:26 UTC 2016


#39059: Remove unnecessary `is_super_admin()` checks for editing others posts
-----------------------------+-----------------
 Reporter:  flixos90         |      Owner:
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  4.8
Component:  Role/Capability  |    Version:
 Severity:  normal           |   Keywords:
  Focuses:  multisite        |
-----------------------------+-----------------
 This is part of the #37616 task. Since super admins have all capabilities
 anyway, the checks in `wp-admin/edit-form-advanced.php` and `wp-
 admin/includes/class-wp-posts-list-table.php` are not necessary.

 See https://core.trac.wordpress.org/ticket/37616#comment:23

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39059>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list