Make WordPress Core

Opened 3 months ago

Last modified 3 months ago

#48348 new defect (bug)

WP_Customize_Color_Control::__construct should link to parent constructor for $args

Reported by: marekdedic Owned by:
Milestone: 5.4 Priority: normal
Severity: minor Version: 5.2
Component: Customize Keywords: good-first-bug has-patch
Focuses: docs Cc:
PR Number:


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.



Attachments (2)

48348.patch (5.9 KB) - added by Marcio Zebedeu 3 months ago.
adding documentation
48348.1.patch (6.1 KB) - added by Marcio Zebedeu 3 months ago.
adding documentation

Download all attachments as: .zip

Change History (7)

#1 @marekdedic
3 months ago

From what I can tell, this also hold for other controls, such as WP_Customize_Image_Control, WP_Customize_Media_Control, or WP_Customize_Upload_Control...

#2 @johnbillion
3 months ago

  • Keywords needs-patch good-first-bug added

#3 @desrosj
3 months ago

  • Milestone changed from Awaiting Review to 5.4

@Marcio Zebedeu
3 months ago

adding documentation

@Marcio Zebedeu
3 months ago

adding documentation

This ticket was mentioned in Slack in #core by sergey. View the logs.

3 months ago

#5 @SergeyBiryukov
3 months ago

  • Keywords has-patch added; needs-patch removed
Note: See TracTickets for help on using tickets.