- Timestamp:
- 07/10/2023 11:17:05 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-sidebars-controller.php
r55200 r56195 262 262 */ 263 263 protected function do_permissions_check() { 264 // Verify if the current user has edit_theme_options capability. 265 // This capability is required to access the widgets screen. 264 /* 265 * Verify if the current user has edit_theme_options capability. 266 * This capability is required to access the widgets screen. 267 */ 266 268 if ( ! current_user_can( 'edit_theme_options' ) ) { 267 269 return new WP_Error(
Note: See TracChangeset
for help on using the changeset viewer.