WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/09/2010 12:36:39 PM (9 years ago)
Author:
nacin
Message:

s/can_edit_site/can_edit_network/g. see #15720.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/site-options.php

    r16764 r16833  
    2323
    2424$details = get_blog_details( $id );
    25 if ( !can_edit_site( $details->site_id ) )
     25if ( !can_edit_network( $details->site_id ) )
    2626    wp_die( __( 'You do not have permission to access this page.' ) );
    2727
Note: See TracChangeset for help on using the changeset viewer.