hackificator complains if you call include 'file.php' without the parens, needs to be include( 'file.php' )

See #27881.

Built from https://develop.svn.wordpress.org/trunk@28479


git-svn-id: http://core.svn.wordpress.org/trunk@28306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor
2014-05-18 20:52:15 +00:00
parent 112ca4e055
commit b9afafffe3
11 changed files with 19 additions and 19 deletions

View File

@@ -38,7 +38,7 @@ if ( !current_user_can('upload_files') )
header('Content-Type: text/html; charset=' . get_option('blog_charset'));
if ( isset( $_REQUEST['action'] ) && 'upload-attachment' === $_REQUEST['action'] ) {
include ABSPATH . 'wp-admin/includes/ajax-actions.php';
include( ABSPATH . 'wp-admin/includes/ajax-actions.php' );
send_nosniff_header();
nocache_headers();