[wp-trac] [WordPress Trac] #35242: PHP Noticed caused by Customizer if widgets panel removed
WordPress Trac
noreply at wordpress.org
Mon Dec 28 12:28:58 UTC 2015
#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 | Keywords:
Focuses: |
--------------------------+-----------------------------
If `$wp_customize->remove_panel( 'widgets' );` is done, the Customizer
throws a PHP Notice:
> PHP Notice: Trying to get property of non-object in
/srv/www/buddypress.dev/src/wp-includes/class-wp-customize-widgets.php on
line 716
Tested on 4.4 SVN branch.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35242>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list