Changeset 27088
- Timestamp:
- 02/04/2014 07:48:03 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/sites.php
r26518 r27088 153 153 case 'activateblog': 154 154 update_blog_status( $id, 'deleted', '0' ); 155 156 /** 157 * Fires after a network site is activated. 158 * 159 * @since MU 160 * 161 * @param string $id The ID of the activated site. 162 */ 155 163 do_action( 'activate_blog', $id ); 156 164 break; 157 165 158 166 case 'deactivateblog': 167 /** 168 * Fires before a network site is deactivated. 169 * 170 * @since MU 171 * 172 * @param string $id The ID of the site being deactivated. 173 */ 159 174 do_action( 'deactivate_blog', $id ); 160 175 update_blog_status( $id, 'deleted', '1' ); … … 218 233 break; 219 234 default: 235 /** 236 * Filter a specific, non-default site-updated message in the Network admin. 237 * 238 * The dynamic portion of the hook name, $_GET['updated'], refers to the non-default 239 * site update action. 240 * 241 * @since 3.1.0 242 * 243 * @param string $msg The update message. Default 'Settings saved'. 244 */ 220 245 $msg = apply_filters( 'network_sites_updated_message_' . $_GET['updated'], __( 'Settings saved.' ) ); 221 246 break;
Note: See TracChangeset
for help on using the changeset viewer.