X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/fa11948979fd6a4ea5705dc613b239699a459db3..9e77185fafaf4e60e2b73821e0e4b9b1a11fb85f:/wp-admin/network/settings.php diff --git a/wp-admin/network/settings.php b/wp-admin/network/settings.php index de39b26b..6349e8cd 100644 --- a/wp-admin/network/settings.php +++ b/wp-admin/network/settings.php @@ -35,11 +35,12 @@ get_current_screen()->add_help_tab( array( get_current_screen()->set_help_sidebar( '
' . __('For more information:') . '
' . '' . __('Documentation on Network Settings') . '
' . - '' . __('Support Forums') . '
' + '' . __('Support Forums') . '
' ); if ( $_POST ) { - do_action( 'wpmuadminedit' , '' ); + /** This action is documented in wp-admin/network/edit.php */ + do_action( 'wpmuadminedit' ); check_admin_referer( 'siteoptions' ); @@ -64,7 +65,11 @@ if ( $_POST ) { update_site_option( $option_name, $value ); } - // Update more options here + /** + * Fires after the network options are updated. + * + * @since MU + */ do_action( 'update_wpmu_options' ); wp_redirect( add_query_arg( 'updated', 'true', network_admin_url( 'settings.php' ) ) ); @@ -79,33 +84,31 @@ if ( isset( $_GET['updated'] ) ) { ?>