From 942302eb63083da757d099968d1daba02ed506dc Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 21 Nov 2016 01:25:09 +0000 Subject: [PATCH] Remove an erroneous `@TODO` introduced in [39323]. See #38882 git-svn-id: https://develop.svn.wordpress.org/trunk@39324 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/update-core.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php index 7bc02a7798..c6c21ead5c 100644 --- a/src/wp-admin/update-core.php +++ b/src/wp-admin/update-core.php @@ -662,8 +662,6 @@ if ( 'upgrade-core' == $action ) { if ( ! current_user_can( 'update_plugins' ) ) wp_die( __( 'Sorry, you are not allowed to update this site.' ) ); - // @TODO - check_admin_referer('upgrade-core'); if ( isset( $_GET['plugins'] ) ) {