Avoid potential fatal errors after [35718].
While these classes are intended for admin use, there are developers out there who include `wp-admin/includes/template.php` to access them in other contexts. There is no intention to continue to support this indefinitely, but a breaking change like that would need to happen very early in a cycle and communicated loudly. In the meantime, if you're reading this commit message and you do the above, please update your code to not do that. Thank you :) fixes #33413. Built from https://develop.svn.wordpress.org/trunk@35740 git-svn-id: http://core.svn.wordpress.org/trunk@35704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -58,8 +58,6 @@ require_once(ABSPATH . 'wp-admin/includes/taxonomy.php');
|
||||
|
||||
/** WordPress Template Administration API */
|
||||
require_once(ABSPATH . 'wp-admin/includes/template.php');
|
||||
require_once(ABSPATH . 'wp-admin/includes/class-walker-category-checklist.php');
|
||||
require_once(ABSPATH . 'wp-admin/includes/class-wp-internal-pointers.php');
|
||||
|
||||
/** WordPress List Table Administration API and base class */
|
||||
require_once(ABSPATH . 'wp-admin/includes/class-wp-list-table.php');
|
||||
|
||||
Reference in New Issue
Block a user