Changeset 16833 for trunk/wp-admin/includes/ms.php
- Timestamp:
- 12/09/2010 12:36:39 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ms.php
r16764 r16833 723 723 } 724 724 /** 725 * Whether or not we can edit this sitefrom this page725 * Whether or not we can edit this network from this page 726 726 * 727 * By default editing of sitesis restricted to the Network Admin for that site_id this allows for this to be overridden727 * By default editing of network is restricted to the Network Admin for that site_id this allows for this to be overridden 728 728 * 729 729 * @since 3.1.0 730 * @param integer $site_id The site id to check.731 */ 732 function can_edit_ site( $site_id ) {730 * @param integer $site_id The network/site id to check. 731 */ 732 function can_edit_network( $site_id ) { 733 733 global $wpdb; 734 734 … … 738 738 $result = false; 739 739 740 return apply_filters( 'can_edit_ site', $result, $site_id );740 return apply_filters( 'can_edit_network', $result, $site_id ); 741 741 } 742 742 ?>
Note: See TracChangeset
for help on using the changeset viewer.