[wp-trac] [WordPress Trac] #31126: wp_register_script|style() should return boolean success/failure value

WordPress Trac noreply at wordpress.org
Sun May 10 19:56:17 UTC 2015


#31126: wp_register_script|style() should return boolean success/failure value
------------------------------+--------------------------
 Reporter:  katzwebdesign     |       Owner:  johnbillion
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  4.3
Component:  Script Loader     |     Version:  4.2
 Severity:  minor             |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------------
Changes (by johnbillion):

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


Comment:

 In [changeset:"32483"]:
 {{{
 #!CommitTicketReference repository="" revision="32483"
 Add a return value to `wp_register_script()` and `wp_register_style()`
 which matches the return value of `WP_Dependencies::add()`.

 Props katzwebdesign, pareshradadiya, DrewAPicture.

 Fixes #31126
 }}}

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


More information about the wp-trac mailing list