[wp-trac] [WordPress Trac] #28875: Replace include with global $wp_version
WordPress Trac
noreply at wordpress.org
Sun Jul 13 12:09:26 UTC 2014
#28875: Replace include with global $wp_version
--------------------------+----------------------
Reporter: michalzuber | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+----------------------
Description changed by SergeyBiryukov:
Old description:
> Possible candidates.
> {{{
> src/wp-admin/includes/class-wp-upgrader.php:1396: include(
> ABSPATH . WPINC . '/version.php' ); // $wp_version;
> src/wp-admin/includes/class-wp-upgrader.php:1540: include(
> ABSPATH . WPINC . '/version.php' ); // $wp_version; // x.y.zsrc/wp-
> admin/includes/import.php:122: include( ABSPATH . WPINC .
> '/version.php' ); // include an unmodified $wp_versionsrc/wp-
> admin/includes/update.php:401: include( ABSPATH . WPINC .
> '/version.php' ); // include an unmodified $wp_versionsrc/wp-admin/load-
> scripts.php:128:require(ABSPATH . WPINC . '/version.php');
> src/wp-admin/load-styles.php:96:require( ABSPATH . WPINC . '/version.php'
> );src/wp-includes/load.php:766: require ABSPATH . WPINC .
> '/version.php';src/wp-includes/script-loader.php:51: include( ABSPATH .
> WPINC . '/version.php' ); // include an unmodified $wp_versionsrc/wp-
> includes/script-loader.php:566: include( ABSPATH . WPINC .
> '/version.php' ); // include an unmodified $wp_version
> src/wp-includes/update.php:28: include( ABSPATH . WPINC . '/version.php'
> ); // include an unmodified $wp_version
> src/wp-includes/update.php:186: include( ABSPATH . WPINC . '/version.php'
> ); // include an unmodified $wp_version
> src/wp-includes/update.php:332: include( ABSPATH . WPINC . '/version.php'
> ); // include an unmodified $wp_version
> src/wp-includes/update.php:567: include( ABSPATH . WPINC . '/version.php'
> ); // include an unmodified $wp_version
> src/wp-load.php:61: require_once( ABSPATH . WPINC . '/version.php' );
> src/wp-settings.php:30:require( ABSPATH . WPINC . '/version.php' );
> }}}
New description:
Possible candidates.
{{{
src/wp-admin/includes/class-wp-upgrader.php:1396: include(
ABSPATH . WPINC . '/version.php' ); // $wp_version;
src/wp-admin/includes/class-wp-upgrader.php:1540: include(
ABSPATH . WPINC . '/version.php' ); // $wp_version; // x.y.z
src/wp-admin/includes/import.php:122: include( ABSPATH . WPINC .
'/version.php' ); // include an unmodified $wp_version
src/wp-admin/includes/update.php:401: include( ABSPATH . WPINC .
'/version.php' ); // include an unmodified $wp_version
src/wp-admin/load-scripts.php:128:require(ABSPATH . WPINC .
'/version.php');
src/wp-admin/load-styles.php:96:require( ABSPATH . WPINC . '/version.php'
);
src/wp-includes/load.php:766: require ABSPATH . WPINC . '/version.php';
src/wp-includes/script-loader.php:51: include( ABSPATH . WPINC .
'/version.php' ); // include an unmodified $wp_version
src/wp-includes/script-loader.php:566: include( ABSPATH . WPINC .
'/version.php' ); // include an unmodified $wp_version
src/wp-includes/update.php:28: include( ABSPATH . WPINC . '/version.php'
); // include an unmodified $wp_version
src/wp-includes/update.php:186: include( ABSPATH . WPINC . '/version.php'
); // include an unmodified $wp_version
src/wp-includes/update.php:332: include( ABSPATH . WPINC . '/version.php'
); // include an unmodified $wp_version
src/wp-includes/update.php:567: include( ABSPATH . WPINC . '/version.php'
); // include an unmodified $wp_version
src/wp-load.php:61: require_once( ABSPATH . WPINC . '/version.php' );
src/wp-settings.php:30:require( ABSPATH . WPINC . '/version.php' );
}}}
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28875#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list