[wp-trac] [WordPress Trac] #34596: WP_Customize_Manager::add_*() methods should return the added instance

WordPress Trac noreply at wordpress.org
Sun Dec 6 18:09:44 UTC 2015


#34596: WP_Customize_Manager::add_*() methods should return the added instance
-------------------------------------------------+-------------------------
 Reporter:  westonruter                          |       Owner:
     Type:  enhancement                          |  westonruter
 Priority:  normal                               |      Status:  closed
Component:  Customize                            |   Milestone:  4.5
 Severity:  normal                               |     Version:  3.4
 Keywords:  good-first-bug has-patch has-unit-   |  Resolution:  fixed
  tests                                          |     Focuses:
-------------------------------------------------+-------------------------
Changes (by westonruter):

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


Comment:

 In [changeset:"35781"]:
 {{{
 #!CommitTicketReference repository="" revision="35781"
 Customizer: Return added instances for panels, sections, controls, and
 settings when calling `WP_Customize_Manager::add_*()` methods.

 Add missing phpDoc.

 Props fusillicode, jubstuff.
 Fixes #34596.
 }}}

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


More information about the wp-trac mailing list