[wp-trac] [WordPress Trac] #36841: Values in Customizer overridden if slug starts with 'widget_'

WordPress Trac noreply at wordpress.org
Sat May 14 19:48:12 UTC 2016


#36841: Values in Customizer overridden if slug starts with 'widget_'
--------------------------+-----------------------------
 Reporter:  clintstegman  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Customize     |    Version:  4.5.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Any / every Customizer control that starts with 'widget_' is given a value
 of 'Array'.

 If it is a text field, the text field is still valued 'Array', but shows
 [object Object]

 This was very unexpected behavior. If WordPress is actually supposed to be
 this way, is there a list of forbidden slugs somewhere?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36841>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list