[wp-trac] [WordPress Trac] #34140: Missing return values for WP_Customize_Setting::update( $value )

WordPress Trac noreply at wordpress.org
Mon Oct 5 21:57:34 UTC 2015


#34140: Missing return values for WP_Customize_Setting::update( $value )
--------------------------+--------------------------
 Reporter:  wpweaver      |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.4
Component:  Customize     |     Version:  3.4
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------
Changes (by westonruter):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34838"]:
 {{{
 #!CommitTicketReference repository="" revision="34838"
 Customizer: Ensure `WP_Customize_Setting::update()` returns boolean value.

 Adds unit tests for `WP_Customize_Setting::save()` (and
 `WP_Customize_Setting::update()`), along with the actions
 `customize_update_{$type}`, and `customize_save_{$id_base}` which they
 trigger.

 Fixes #34140.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34140#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list