#48348 closed defect (bug) (fixed)
WP_Customize_Color_Control::__construct should link to parent constructor for $args
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 5.4 | Priority: | normal |
| Severity: | minor | Version: | 5.2 |
| Component: | Customize | Keywords: | good-first-bug has-patch |
| Focuses: | docs | Cc: |
Description
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/
Attachments (2)
Change History (11)
This ticket was mentioned in Slack in #core by sergey. View the logs.
6 years ago
This ticket was mentioned in Slack in #core by david.baumwald. View the logs.
6 years ago
Note: See
TracTickets for help on using
tickets.
From what I can tell, this also hold for other controls, such as
WP_Customize_Image_Control,WP_Customize_Media_Control, orWP_Customize_Upload_Control...