[wp-trac] [WordPress Trac] #39207: Replace is_super_admin() check with current_user_can( 'manage_options' ) in wp-admin/options-general.php

WordPress Trac noreply at wordpress.org
Sun Dec 11 23:36:46 UTC 2016


#39207: Replace is_super_admin() check with current_user_can( 'manage_options' ) in
wp-admin/options-general.php
--------------------------------+------------------------
 Reporter:  Dhaval Parekh       |       Owner:  flixos90
     Type:  enhancement         |      Status:  reviewing
 Priority:  normal              |   Milestone:  4.8
Component:  Options, Meta APIs  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  needs-patch         |     Focuses:  multisite
--------------------------------+------------------------

Comment (by flixos90):

 +1 on removing the warning. I think the regular `_deprecated_argument()`
 call can remain, it should really be sufficient as a warning for a
 developer.

 Let's open a new ticket if we agree on this - this here would then become
 invalid. :)

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


More information about the wp-trac mailing list