[wp-trac] [WordPress Trac] #20513: Refactor $wp_scripts init checking code

WordPress Trac noreply at wordpress.org
Fri Jan 16 02:30:10 UTC 2015


#20513: Refactor $wp_scripts init checking code
-------------------------------------+-----------------------------
 Reporter:  GaryJ                    |       Owner:  wonderboymusic
     Type:  enhancement              |      Status:  reopened
 Priority:  normal                   |   Milestone:  4.2
Component:  Script Loader            |     Version:  3.4
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------------

Comment (by wonderboymusic):

 In [changeset:"31194"]:
 {{{
 #!CommitTicketReference repository="" revision="31194"
 After [31192], create a function, `wp_styles()`, to reduce duplicated code
 in `functions.wp-styles.php`. The style functions can reuse
 `wp_scripts_maybe_doing_it_wrong( $function )` internally.

 See #20513.
 }}}

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


More information about the wp-trac mailing list