[wp-trac] [WordPress Trac] #23012: Refresh the code for the default widgets

WordPress Trac noreply at wordpress.org
Tue Sep 1 13:49:02 UTC 2015


#23012: Refresh the code for the default widgets
--------------------------------------+------------------------
 Reporter:  Viper007Bond              |       Owner:  chriscct7
     Type:  enhancement               |      Status:  accepted
 Priority:  normal                    |   Milestone:  4.4
Component:  Widgets                   |     Version:  3.5
 Severity:  normal                    |  Resolution:
 Keywords:  dev-feedback needs-patch  |     Focuses:
--------------------------------------+------------------------

Comment (by wonderboymusic):

 In [changeset:"33843"]:
 {{{
 #!CommitTicketReference repository="" revision="33843"
 Move widget classes to their own files in `wp-includes/widgets`:

 * `default-widgets.php` now requires all of the individual classes
 * Move the functions scattered about this file to `widget-functions.php`,
 which loads before `default-widgets.php`, which only conditionally loads
 anyway in `wp_maybe_load_widgets()`, which is hooked on `plugins_loaded`

 See #33413, #23012.
 }}}

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


More information about the wp-trac mailing list