mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
hackificator complains if you call include 'file.php' without the parens, needs to be include( 'file.php' )
See #27881. git-svn-id: https://develop.svn.wordpress.org/trunk@28479 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -119,7 +119,7 @@ function wp_import_handle_upload() {
|
||||
* @return array Importers with metadata for each.
|
||||
*/
|
||||
function wp_get_popular_importers() {
|
||||
include ABSPATH . WPINC . '/version.php'; // include an unmodified $wp_version
|
||||
include( ABSPATH . WPINC . '/version.php' ); // include an unmodified $wp_version
|
||||
|
||||
$locale = get_locale();
|
||||
$popular_importers = get_site_transient( 'popular_importers_' . $locale );
|
||||
|
||||
Reference in New Issue
Block a user