[wp-trac] [WordPress Trac] #35242: PHP Noticed caused by Customizer if widgets panel removed
WordPress Trac
noreply at wordpress.org
Thu Jan 7 04:55:11 UTC 2016
#35242: PHP Noticed caused by Customizer if widgets panel removed
--------------------------+------------------------------
Reporter: DJPaul | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by westonruter):
Replying to [comment:4 voldemortensen]:
> 35242.diff adds a _doing_it_wrong warning. Thoughts?
Good idea.
Feedback:
* `'WP_Customize_Manager::remove_panel' `can be replaced with
`__METHOD__`.
* Version can be `'4.4'` since that is when the filter was introduced.
* The filter is actually `customize_loaded_components`.
* The link references an older proposal. I just commented with the
necessary code snippets:
https://core.trac.wordpress.org/ticket/33552#comment:12 Or also the Make
Core post can be referenced: https://make.wordpress.org/core/2015/12/02
/customizer-improvements-in-4-4/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35242#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list