Make WordPress Core

Changeset 58229


Ignore:
Timestamp:
05/29/2024 08:21:18 AM (23 months ago)
Author:
swissspidy
Message:

REST API: Remove default text domain from translatable strings after [58227].

See #61137.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php

    r58227 r58229  
    254254        return new WP_Error(
    255255            'rest_cannot_manage_templates',
    256             __( 'Sorry, you are not allowed to access the templates on this site.', 'default' ),
     256            __( 'Sorry, you are not allowed to access the templates on this site.' ),
    257257            array(
    258258                'status' => rest_authorization_required_code(),
     
    311311        return new WP_Error(
    312312            'rest_cannot_manage_templates',
    313             __( 'Sorry, you are not allowed to access the templates on this site.', 'default' ),
     313            __( 'Sorry, you are not allowed to access the templates on this site.' ),
    314314            array(
    315315                'status' => rest_authorization_required_code(),
Note: See TracChangeset for help on using the changeset viewer.