Make WordPress Core


Ignore:
Timestamp:
11/25/2015 10:18:49 PM (9 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/admin.php

    r35718 r35740  
    5959/** WordPress Template Administration API */
    6060require_once(ABSPATH . 'wp-admin/includes/template.php');
    61 require_once(ABSPATH . 'wp-admin/includes/class-walker-category-checklist.php');
    62 require_once(ABSPATH . 'wp-admin/includes/class-wp-internal-pointers.php');
    6361
    6462/** WordPress List Table Administration API and base class */
Note: See TracChangeset for help on using the changeset viewer.