mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
Add missign hooks in site-options. Fixes #15593
git-svn-id: http://svn.automattic.com/wordpress/trunk@16627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e1bb824b25
commit
0ce36a9d29
@ -56,7 +56,6 @@ if ( isset($_REQUEST['action']) && 'update-site' == $_REQUEST['action'] ) {
|
|||||||
}
|
}
|
||||||
update_blog_details( $id, $blog_data );
|
update_blog_details( $id, $blog_data );
|
||||||
|
|
||||||
do_action( 'wpmu_update_blog_options' );
|
|
||||||
restore_current_blog();
|
restore_current_blog();
|
||||||
wp_redirect( add_query_arg( array( 'update' => 'updated', 'id' => $id ), 'site-info.php') );
|
wp_redirect( add_query_arg( array( 'update' => 'updated', 'id' => $id ), 'site-info.php') );
|
||||||
}
|
}
|
||||||
|
@ -45,6 +45,7 @@ if ( isset($_REQUEST['action']) && 'update-site' == $_REQUEST['action'] && is_ar
|
|||||||
$c++;
|
$c++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_action( 'wpmu_update_blog_options' );
|
||||||
restore_current_blog();
|
restore_current_blog();
|
||||||
wp_redirect( add_query_arg( array( 'update' => 'updated', 'id' => $id ), 'site-options.php') );
|
wp_redirect( add_query_arg( array( 'update' => 'updated', 'id' => $id ), 'site-options.php') );
|
||||||
}
|
}
|
||||||
@ -122,6 +123,7 @@ if ( ! empty( $messages ) ) {
|
|||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
} // End foreach
|
} // End foreach
|
||||||
|
do_action( 'wpmueditblogaction', $id );
|
||||||
?>
|
?>
|
||||||
</table>
|
</table>
|
||||||
<?php submit_button(); ?>
|
<?php submit_button(); ?>
|
||||||
|
Loading…
Reference in New Issue
Block a user