mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@53518 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -8,6 +8,6 @@
|
||||
* @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';
|
||||
|
||||
Reference in New Issue
Block a user