[wp-trac] [WordPress Trac] #37701: Update documentation for wp_register_style

WordPress Trac noreply at wordpress.org
Thu Aug 18 01:09:14 UTC 2016


#37701: Update documentation for wp_register_style
-------------------------------------+------------------------------
 Reporter:  rklis                    |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Help/About               |     Version:  4.6
 Severity:  normal                   |  Resolution:
 Keywords:  needs-codex 2nd-opinion  |     Focuses:  docs
-------------------------------------+------------------------------
Changes (by tareiking):

 * keywords:   => needs-codex 2nd-opinion


Comment:

 The function return value is correctly referenced as bool
 https://developer.wordpress.org/reference/functions/wp_register_style#return


 {{{
 (bool) Whether the script has been registered. True on success, false on
 failure.
 }}}


 Codex return value needs to be updated to match.

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


More information about the wp-trac mailing list