Changeset 20645 for trunk/wp-includes/class-wp-customize-setting.php
- Timestamp:
- 04/30/2012 03:46:17 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-customize-setting.php
r20585 r20645 22 22 private $_post_value; // Cached, sanitized $_POST value. 23 23 24 // Prefix for $_POST values to prevent naming conflicts.25 const name_prefix = 'customize_';26 27 24 /** 28 25 * Constructor. … … 122 119 return $this->_post_value; 123 120 124 $base = self::name_prefix . $this->id_data[ 'base' ]; 125 126 if ( ! isset( $_POST[ $base ] ) ) 127 return $default; 128 129 $result = $this->multidimensional_get( $_POST[ $base ], $this->id_data[ 'keys' ] ); 130 if ( ! isset( $result ) ) 131 return $default; 132 133 $result = $this->sanitize( $result ); 121 $result = $this->manager->post_value( $this ); 122 134 123 if ( isset( $result ) ) 135 124 return $this->_post_value = $result;
Note: See TracChangeset
for help on using the changeset viewer.