General: Use `WPINC` as a shorter reference to `wp-includes` in some files.

This brings more consistency with similar `require_once` statements and `_deprecated_file()` calls in other files.

Follow-up to [601], [628], [36693], [44359], [45663], [45678], [52026], 

Props malthert.
See #54233.
Built from https://develop.svn.wordpress.org/trunk@53518


git-svn-id: http://core.svn.wordpress.org/trunk@53107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2022-06-17 11:20:13 +00:00
parent 4947604b66
commit a0215f6e9d
5 changed files with 8 additions and 8 deletions

View File

@ -8,7 +8,7 @@
* @package WordPress * @package WordPress
*/ */
_deprecated_file( basename( __FILE__ ), '5.9.0', 'wp-includes/class-wp-http.php' ); _deprecated_file( basename( __FILE__ ), '5.9.0', WPINC . '/class-wp-http.php' );
/** WP_Http class */ /** WP_Http class */
require_once ABSPATH . 'wp-includes/class-wp-http.php'; require_once ABSPATH . WPINC . '/class-wp-http.php';

View File

@ -9,7 +9,7 @@
* @subpackage oEmbed * @subpackage oEmbed
*/ */
_deprecated_file( basename( __FILE__ ), '5.3.0', 'wp-includes/class-wp-oembed.php' ); _deprecated_file( basename( __FILE__ ), '5.3.0', WPINC . '/class-wp-oembed.php' );
/** WP_oEmbed class */ /** WP_oEmbed class */
require_once ABSPATH . 'wp-includes/class-wp-oembed.php'; require_once ABSPATH . WPINC . '/class-wp-oembed.php';

View File

@ -8,7 +8,7 @@
* @package WordPress * @package WordPress
*/ */
_deprecated_file( basename( __FILE__ ), '5.3.0', 'wp-includes/class-wp-date-query.php' ); _deprecated_file( basename( __FILE__ ), '5.3.0', WPINC . '/class-wp-date-query.php' );
/** WP_Date_Query class */ /** WP_Date_Query class */
require_once ABSPATH . 'wp-includes/class-wp-date-query.php'; require_once ABSPATH . WPINC . '/class-wp-date-query.php';

View File

@ -8,6 +8,6 @@
* @deprecated 4.5.0 Moved to wp-includes/theme-compat/embed.php * @deprecated 4.5.0 Moved to wp-includes/theme-compat/embed.php
*/ */
_deprecated_file( basename( __FILE__ ), '4.5.0', 'wp-includes/theme-compat/embed.php' ); _deprecated_file( basename( __FILE__ ), '4.5.0', WPINC . '/theme-compat/embed.php' );
require ABSPATH . WPINC . '/theme-compat/embed.php'; require ABSPATH . WPINC . '/theme-compat/embed.php';

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.1-alpha-53517'; $wp_version = '6.1-alpha-53518';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.