Theme Customizer: For clarity, wp.customize.Setting.method to wp.customize.Setting.transport. Add WP_Customize_Setting->transport to allow setting the transport method via PHP. see #19910.

git-svn-id: https://develop.svn.wordpress.org/trunk@20585 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith
2012-04-25 16:04:51 +00:00
parent 9c6a0682cc
commit dfd80ddc57
4 changed files with 8 additions and 9 deletions

View File

@@ -16,6 +16,7 @@ class WP_Customize_Setting {
public $theme_supports = '';
public $default = '';
public $sanitize_callback = '';
public $transport = 'refresh';
protected $id_data = array();
private $_post_value; // Cached, sanitized $_POST value.