WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/25/2015 10:18:49 PM (4 years ago)
Author:
helen
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/template.php

    r35730 r35740  
    88 * @subpackage Administration
    99 */
     10
     11/** Walker_Category_Checklist class */
     12require_once( ABSPATH . 'wp-admin/includes/class-walker-category-checklist.php' );
     13
     14/** WP_Internal_Pointers class */
     15require_once( ABSPATH . 'wp-admin/includes/class-wp-internal-pointers.php' );
    1016
    1117//
Note: See TracChangeset for help on using the changeset viewer.