Changeset 31083 for trunk/src/wp-includes/class-wp-customize-setting.php
- Timestamp:
- 01/08/2015 06:01:08 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-setting.php
r30676 r31083 171 171 * @return false|null False if cap check fails or value isn't set. 172 172 */ 173 public finalfunction save() {173 final public function save() { 174 174 $value = $this->post_value(); 175 175 … … 200 200 * @return mixed The default value on failure, otherwise the sanitized value. 201 201 */ 202 public finalfunction post_value( $default = null ) {202 final public function post_value( $default = null ) { 203 203 // Check for a cached value 204 204 if ( isset( $this->_post_value ) ) … … 386 386 * @return bool False if theme doesn't support the setting or user can't change setting, otherwise true. 387 387 */ 388 public finalfunction check_capabilities() {388 final public function check_capabilities() { 389 389 if ( $this->capability && ! call_user_func_array( 'current_user_can', (array) $this->capability ) ) 390 390 return false;
Note: See TracChangeset
for help on using the changeset viewer.