[wp-trac] [WordPress Trac] #37294: WP_Customize_Setting::value() fails to return previewed value for multidimensional settings

WordPress Trac noreply at wordpress.org
Wed Jul 6 05:51:56 UTC 2016


#37294: WP_Customize_Setting::value() fails to return previewed value for
multidimensional settings
--------------------------+-----------------
 Reporter:  westonruter   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.6
Component:  Customize     |    Version:  4.4
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------
 In #32103 the “aggregated multidimensional” setting was introduced. The
 construct was introduced to greatly improve performance by eliminating the
 number of filters applied through caching of the multidimensional values.

 I've found that when previewing a aggregated multidimensional setting,
 there is a defect where calling `WP_Customize_Setting::value()` will fail
 to return the _previewed_ value. It will incorrectly return the original
 value that was cached.

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


More information about the wp-trac mailing list