[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
Thu Oct 17 11:19:10 UTC 2019
#48343: $args documentation for WP_Customize_Control::__construct() and
WP_Customize_Manager::add_control() don't match
--------------------------+-----------------------------
Reporter: marekdedic | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: trunk
Severity: minor | Keywords:
Focuses: docs |
--------------------------+-----------------------------
I believe the $args parameter should be the same for both methods, given
how add_control() just calls the constructor.
https://developer.wordpress.org/reference/classes/wp_customize_control/__construct/
https://developer.wordpress.org/reference/classes/wp_customize_manager/add_control/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48343>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list