[wp-trac] [WordPress Trac] #48348: WP_Customize_Color_Control::__construct should link to parent constructor for $args

WordPress Trac noreply at wordpress.org
Thu Oct 17 12:19:32 UTC 2019


#48348: WP_Customize_Color_Control::__construct should link to parent constructor
for $args
--------------------------+-----------------------------
 Reporter:  marekdedic    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Customize     |    Version:  5.2
 Severity:  minor         |   Keywords:
  Focuses:  docs          |
--------------------------+-----------------------------
 Currently, the fields of the `$args` argument are undocumented in
 `WP_Customize_Color_Control::__construct()`. I believe there should be a
 `@see` to the parent Ctor as per the handbook.

 https://developer.wordpress.org/reference/classes/wp_customize_color_control/__construct/

 https://make.wordpress.org/core/handbook/best-practices/inline-
 documentation-standards/php/#1-1-parameters-that-are-arrays

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48348>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list