Changeset 16900 for trunk/wp-admin/includes/ms.php
- Timestamp:
- 12/13/2010 09:21:50 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ms.php
r16847 r16900 722 722 /** 723 723 * Whether or not we can edit this network from this page 724 * 724 * 725 725 * By default editing of network is restricted to the Network Admin for that site_id this allows for this to be overridden 726 * 726 * 727 727 * @since 3.1.0 728 728 * @param integer $site_id The network/site id to check. … … 730 730 function can_edit_network( $site_id ) { 731 731 global $wpdb; 732 732 733 733 if ($site_id == $wpdb->siteid ) 734 734 $result = true; 735 735 else 736 736 $result = false; 737 737 738 738 return apply_filters( 'can_edit_network', $result, $site_id ); 739 739 }
Note: See TracChangeset
for help on using the changeset viewer.