Changeset 59009 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php
- Timestamp:
- 09/11/2024 12:06:15 PM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php
r58783 r59009 517 517 /* 518 518 * Verify if the current user has edit_theme_options capability. 519 * This capability is required to edit/view/delete templates.519 * This capability is required to edit/view/delete global styles. 520 520 */ 521 521 if ( ! current_user_can( 'edit_theme_options' ) ) { … … 597 597 /* 598 598 * Verify if the current user has edit_theme_options capability. 599 * This capability is required to edit/view/delete templates.599 * This capability is required to edit/view/delete global styles. 600 600 */ 601 601 if ( ! current_user_can( 'edit_theme_options' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.