Add missign hooks in site-options. Fixes #15593

git-svn-id: https://develop.svn.wordpress.org/trunk@16627 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Pete Mall 2010-11-30 20:29:02 +00:00
parent af32327ae0
commit f9c217c5e3
2 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,6 @@ if ( isset($_REQUEST['action']) && 'update-site' == $_REQUEST['action'] ) {
}
update_blog_details( $id, $blog_data );
do_action( 'wpmu_update_blog_options' );
restore_current_blog();
wp_redirect( add_query_arg( array( 'update' => 'updated', 'id' => $id ), 'site-info.php') );
}

View File

@ -45,6 +45,7 @@ if ( isset($_REQUEST['action']) && 'update-site' == $_REQUEST['action'] && is_ar
$c++;
}
do_action( 'wpmu_update_blog_options' );
restore_current_blog();
wp_redirect( add_query_arg( array( 'update' => 'updated', 'id' => $id ), 'site-options.php') );
}
@ -122,6 +123,7 @@ if ( ! empty( $messages ) ) {
<?php
}
} // End foreach
do_action( 'wpmueditblogaction', $id );
?>
</table>
<?php submit_button(); ?>