Changeset 46133 for trunk/src/wp-includes/class-wp-customize-panel.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-panel.php
r45932 r46133 225 225 */ 226 226 final public function check_capabilities() { 227 if ( $this->capability && ! c all_user_func_array( 'current_user_can', (array)$this->capability ) ) {227 if ( $this->capability && ! current_user_can( $this->capability ) ) { 228 228 return false; 229 229 } 230 230 231 if ( $this->theme_supports && ! c all_user_func_array( 'current_theme_supports',(array) $this->theme_supports ) ) {231 if ( $this->theme_supports && ! current_theme_supports( ... (array) $this->theme_supports ) ) { 232 232 return false; 233 233 }
Note: See TracChangeset
for help on using the changeset viewer.