[wp-trac] [WordPress Trac] #33357: Customizer: Error with cropped-image control

WordPress Trac noreply at wordpress.org
Wed Aug 12 20:31:25 UTC 2015

#33357: Customizer: Error with cropped-image control
 Reporter:  pekz0r        |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Customize     |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:  administration
Changes (by ocean90):

 * status:  new => closed
 * version:  trunk =>
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


 Hello pekz0r and welcome to Trac.

 You have to define a setting for `cropped_image` first. Add this before
 your snippet:

 $wp_customize->add_setting( 'cropped_image' );

 `WP_Customize_Manager::add_setting()` supports some arguments, see

Ticket URL: <https://core.trac.wordpress.org/ticket/33357#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list