From 4b1e151b042885528a4b65a761496a66e3b49f74 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 27 Oct 2013 20:04:16 +0000 Subject: [PATCH] Inline documentation for hooks in wp-admin/network/site-settings.php. Props admiralthrawn. Fixes #25725. git-svn-id: https://develop.svn.wordpress.org/trunk@25952 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/network/site-settings.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/wp-admin/network/site-settings.php b/src/wp-admin/network/site-settings.php index 39a2af8326..2d88c2a6da 100644 --- a/src/wp-admin/network/site-settings.php +++ b/src/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 ) ) {