Changeset 52621 for trunk/src/wp-includes/class-wp-customize-panel.php
- Timestamp:
- 01/24/2022 05:32:28 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-panel.php
r52355 r52621 233 233 * 234 234 * @since 4.0.0 235 * @since 5.9.0 Method was marked non-final. 235 236 * 236 237 * @return bool False if theme doesn't support the panel or the user doesn't have the capability. 237 238 */ 238 finalpublic function check_capabilities() {239 public function check_capabilities() { 239 240 if ( $this->capability && ! current_user_can( $this->capability ) ) { 240 241 return false;
Note: See TracChangeset
for help on using the changeset viewer.