Changeset 20232 for trunk/wp-includes/class-wp-customize-setting.php
- Timestamp:
- 03/21/2012 04:59:57 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-customize-setting.php
r20181 r20232 268 268 global $customize; 269 269 270 if ( ! $this->capability || ! current_user_can($this->capability ) )270 if ( $this->capability && ! call_user_func_array( 'current_user_can', (array) $this->capability ) ) 271 271 return false; 272 272 273 if ( $this->theme_supports && ! c urrent_theme_supports($this->theme_supports ) )273 if ( $this->theme_supports && ! call_user_func_array( 'current_theme_supports', (array) $this->theme_supports ) ) 274 274 return false; 275 275
Note: See TracChangeset
for help on using the changeset viewer.