Inline documentation for hooks in wp-admin/network/site-settings.php.
Props admiralthrawn. Fixes #25725. Built from https://develop.svn.wordpress.org/trunk@25952 git-svn-id: http://core.svn.wordpress.org/trunk@25911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0753c12b85
commit
a9d78889d7
|
@ -58,6 +58,11 @@ if ( isset($_REQUEST['action']) && 'update-site' == $_REQUEST['action'] && is_ar
|
||||||
update_option( $key, $val );
|
update_option( $key, $val );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fires after network options are updated.
|
||||||
|
*
|
||||||
|
* @since 3.0.0
|
||||||
|
*/
|
||||||
do_action( 'wpmu_update_blog_options' );
|
do_action( 'wpmu_update_blog_options' );
|
||||||
restore_current_blog();
|
restore_current_blog();
|
||||||
wp_redirect( add_query_arg( array( 'update' => 'updated', 'id' => $id ), 'site-settings.php') );
|
wp_redirect( add_query_arg( array( 'update' => 'updated', 'id' => $id ), 'site-settings.php') );
|
||||||
|
@ -144,6 +149,13 @@ if ( ! empty( $messages ) ) {
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
} // End foreach
|
} // End foreach
|
||||||
|
/**
|
||||||
|
* Fires at the end of the Edit Site form, before the submit button.
|
||||||
|
*
|
||||||
|
* @since 3.0.0
|
||||||
|
*
|
||||||
|
* @param int $id Site ID.
|
||||||
|
*/
|
||||||
do_action( 'wpmueditblogaction', $id );
|
do_action( 'wpmueditblogaction', $id );
|
||||||
?>
|
?>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in New Issue