Changeset 20232 for trunk/wp-includes/class-wp-customize-section.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-section.php
r20182 r20232 47 47 */ 48 48 function check_capabilities() { 49 if ( ! $this->capability || ! current_user_can($this->capability ) )49 if ( $this->capability && ! call_user_func_array( 'current_user_can', (array) $this->capability ) ) 50 50 return false; 51 51 52 if ( $this->theme_supports && ! c urrent_theme_supports($this->theme_supports ) )52 if ( $this->theme_supports && ! call_user_func_array( 'current_theme_supports', (array) $this->theme_supports ) ) 53 53 return false; 54 54
Note: See TracChangeset
for help on using the changeset viewer.