[wp-trac] [WordPress Trac] #37827: Some classes still need to be moved into their own file

WordPress Trac noreply at wordpress.org
Fri Aug 26 10:19:28 UTC 2016


#37827: Some classes still need to be moved into their own file
----------------------------+--------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  4.7
Component:  General         |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+--------------------

Comment (by wonderboymusic):

 In [changeset:"38364"]:
 {{{
 #!CommitTicketReference repository="" revision="38364"
 i18n: move `is_rtl()` to `l10n.php` (which loads way earlier). Load
 `WP_Locale` file in `wp-settings.php`. Retire `wp-includes/locale.php` -
 it only loaded the class and the one function, `is_rtl()`. If someone
 loaded this file for fun somewhere else, it would be a fatal error.

 See #37827.
 }}}

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


More information about the wp-trac mailing list