Remove an erroneous @TODO introduced in [39323].

See #38882


git-svn-id: https://develop.svn.wordpress.org/trunk@39324 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2016-11-21 01:25:09 +00:00
parent f6f0e6098d
commit 942302eb63

View File

@ -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'] ) ) {