From a9d78889d71c79f41bf7b26b454004705c4bffe2 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 27 Oct 2013 20:05:10 +0000 Subject: [PATCH] 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 --- wp-admin/network/site-settings.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/wp-admin/network/site-settings.php b/wp-admin/network/site-settings.php index 39a2af8326..2d88c2a6da 100644 --- a/wp-admin/network/site-settings.php +++ b/wp-admin/network/site-settings.php @@ -58,6 +58,11 @@ if ( isset($_REQUEST['action']) && 'update-site' == $_REQUEST['action'] && is_ar update_option( $key, $val ); } +/** + * Fires after network options are updated. + * + * @since 3.0.0 + */ do_action( 'wpmu_update_blog_options' ); restore_current_blog(); wp_redirect( add_query_arg( array( 'update' => 'updated', 'id' => $id ), 'site-settings.php') ); @@ -144,6 +149,13 @@ if ( ! empty( $messages ) ) {