diff --git a/wp-admin/admin-post.php b/wp-admin/admin-post.php index b4aed5275b..48e76feec5 100644 --- a/wp-admin/admin-post.php +++ b/wp-admin/admin-post.php @@ -31,7 +31,7 @@ do_action( 'admin_init' ); $action = empty( $_REQUEST['action'] ) ? '' : $_REQUEST['action']; -if ( ! wp_validate_auth_cookie() ) { +if ( ! is_user_logged_in() ) { if ( empty( $action ) ) { /** * Fires on a non-authenticated admin post request where no action is supplied. diff --git a/wp-includes/version.php b/wp-includes/version.php index dd5806ba40..efde8b40fe 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.1-beta1-44614'; +$wp_version = '5.1-beta1-44615'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.