[wp-trac] [WordPress Trac] #30448: Customizer Manager/Settings classes do not provide public save method to use outside of customize.php

WordPress Trac noreply at wordpress.org
Fri Jan 2 06:26:27 UTC 2015


#30448: Customizer Manager/Settings classes do not provide public save method to
use outside of customize.php
-------------------------+------------------------------
 Reporter:  CrazyJaco    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Customize    |     Version:  4.0
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------

Comment (by westonruter):

 If a new filter is to be added, then I think it should actually be located
 within `WP_Customize_Setting::update()` instead. This is what the `save`
 method calls anyway, and it is what is actually responsible for persisting
 the value. So the filter could then be `customize_pre_update`, to be
 analogous with the `pre_update_option` filter.

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


More information about the wp-trac mailing list