Make WordPress Core


Ignore:
Timestamp:
06/17/2022 11:18:37 AM (2 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-oembed.php

    r47198 r53518  
    1010 */
    1111
    12 _deprecated_file( basename( __FILE__ ), '5.3.0', 'wp-includes/class-wp-oembed.php' );
     12_deprecated_file( basename( __FILE__ ), '5.3.0', WPINC . '/class-wp-oembed.php' );
    1313
    1414/** WP_oEmbed class */
    15 require_once ABSPATH . 'wp-includes/class-wp-oembed.php';
     15require_once ABSPATH . WPINC . '/class-wp-oembed.php';
Note: See TracChangeset for help on using the changeset viewer.