Skip to content

Commit

Permalink
REST API: Remove default text domain from translatable strings afte…
Browse files Browse the repository at this point in the history
…r [58227].

See #61137.

git-svn-id: https://develop.svn.wordpress.org/trunk@58229 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
swissspidy committed May 29, 2024
1 parent c106049 commit 5b9d094
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ public function get_items_permissions_check( $request ) {

return new WP_Error(
'rest_cannot_manage_templates',
__( 'Sorry, you are not allowed to access the templates on this site.', 'default' ),
__( 'Sorry, you are not allowed to access the templates on this site.' ),
array(
'status' => rest_authorization_required_code(),
)
Expand Down Expand Up @@ -310,7 +310,7 @@ public function get_item_permissions_check( $request ) {

return new WP_Error(
'rest_cannot_manage_templates',
__( 'Sorry, you are not allowed to access the templates on this site.', 'default' ),
__( 'Sorry, you are not allowed to access the templates on this site.' ),
array(
'status' => rest_authorization_required_code(),
)
Expand Down

0 comments on commit 5b9d094

Please sign in to comment.