[wp-trac] [WordPress Trac] #48343: $args documentation for WP_Customize_Control::__construct() and WP_Customize_Manager::add_control() don't match

WordPress Trac noreply at wordpress.org
Tue Feb 25 16:39:50 UTC 2020


#48343: $args documentation for WP_Customize_Control::__construct() and
WP_Customize_Manager::add_control() don't match
-------------------------------------------------+-------------------------
 Reporter:  marekdedic                           |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.4
Component:  Customize                            |     Version:  5.3
 Severity:  minor                                |  Resolution:  fixed
 Keywords:  good-first-bug has-patch 2nd-        |     Focuses:  docs
  opinion                                        |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47364" 47364]:
 {{{
 #!CommitTicketReference repository="" revision="47364"
 Docs: Add a reference to `WP_Customize_Control::__construct()` for
 information on accepted arguments in
 `WP_Customize_Manager::add_control()`.

 Synchronize the documentation between two places, use
 `WP_Customize_Control::__construct()` as the canonical source.

 Props hAmpzter, marekdedic, SergeyBiryukov.
 Fixes #48343.
 }}}

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


More information about the wp-trac mailing list