Skip to content

Commit

Permalink
Update src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles…
Browse files Browse the repository at this point in the history
…-controller.php

Co-authored-by: Peter Wilson <519727+peterwilsoncc@users.noreply.github.com>
  • Loading branch information
ramonjd and peterwilsoncc committed Sep 13, 2024
1 parent 8c31cfd commit 1540d46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ public function get_theme_item_permissions_check( $request ) {

return new WP_Error(
'rest_cannot_read_global_styles',
__( 'Sorry, you are not allowed to access the global styles on this site.', 'gutenberg' ),
__( 'Sorry, you are not allowed to access the global styles on this site.' ),
array(
'status' => rest_authorization_required_code(),
)
Expand Down

0 comments on commit 1540d46

Please sign in to comment.