Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #39206


Ignore:
Timestamp:
12/09/2016 04:39:14 PM (8 years ago)
Author:
flixos90
Comment:

Thanks for the patch @ashokkumar24! You are using the manage_network capability there although it should be manage_options (see "Ticket 15" in https://core.trac.wordpress.org/ticket/37616#comment:28 for reference) - could you update the patch accordingly?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #39206

    • Property Status changed from new to reviewing
    • Property Summary changed from Replace current_user_can( 'manage_options' ) in wp-admin/network.php to Replace `is_super_admin()` with `current_user_can( 'manage_options' )` in wp-admin/network.php
    • Property Keywords has-patch needs-refresh added
    • Property Milestone changed from Awaiting Review to 4.8
    • Property Owner set to flixos90
    • Property Type changed from defect (bug) to enhancement
  • Ticket #39206 – Description

    initial v1  
    1 This is part of the #37616 task. There are 2 is_super_admin() checks in wp-admin/network.php that should be replaced with current_user_can( 'manage_network' ).
     1This is part of the #37616 task. There is 1 `is_super_admin()` check in wp-admin/network.php that should be replaced with `current_user_can( 'manage_options' )`.