Changeset 46133 for trunk/src/wp-includes/class-wp-customize-setting.php
- Timestamp:
- 09/15/2019 11:26:16 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-setting.php
r45232 r46133 816 816 */ 817 817 final public function check_capabilities() { 818 if ( $this->capability && ! c all_user_func_array( 'current_user_can', (array)$this->capability ) ) {818 if ( $this->capability && ! current_user_can( $this->capability ) ) { 819 819 return false; 820 820 } 821 821 822 if ( $this->theme_supports && ! c all_user_func_array( 'current_theme_supports',(array) $this->theme_supports ) ) {822 if ( $this->theme_supports && ! current_theme_supports( ... (array) $this->theme_supports ) ) { 823 823 return false; 824 824 }
Note: See TracChangeset
for help on using the changeset viewer.