[wp-trac] [WordPress Trac] #33413: most PHP classes should be in their own file

WordPress Trac noreply at wordpress.org
Wed Nov 25 22:18:51 UTC 2015


#33413: most PHP classes should be in their own file
----------------------------+---------------------
 Reporter:  wonderboymusic  |       Owner:  nacin
     Type:  task (blessed)  |      Status:  closed
 Priority:  normal          |   Milestone:  4.4
Component:  General         |     Version:  trunk
 Severity:  normal          |  Resolution:  fixed
 Keywords:                  |     Focuses:
----------------------------+---------------------
Changes (by helen):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35740"]:
 {{{
 #!CommitTicketReference repository="" revision="35740"
 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.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33413#comment:133>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list