Update WP and plugins

This commit is contained in:
Oliver Davies 2019-04-16 20:56:22 +01:00
parent 10a4713229
commit 1fb77fc4ff
864 changed files with 101724 additions and 78262 deletions

View file

@ -10,7 +10,9 @@
/** Load WordPress Administration Bootstrap */
require_once( dirname( __FILE__ ) . '/admin.php' );
if ( empty( $_GET['action'] ) ) {
$action = ( isset( $_GET['action'] ) ) ? $_GET['action'] : '';
if ( empty( $action ) ) {
wp_redirect( network_admin_url() );
exit;
}
@ -28,12 +30,12 @@ do_action( 'wpmuadminedit' );
/**
* Fires the requested handler action.
*
* The dynamic portion of the hook name, `$_GET['action']`, refers to the name
* of the requested action.
* The dynamic portion of the hook name, `$action`, refers to the name
* of the requested action derived from the `GET` request.
*
* @since 3.1.0
*/
do_action( 'network_admin_edit_' . $_GET['action'] );
do_action( "network_admin_edit_{$action}" );
wp_redirect( network_admin_url() );
exit();