Make WordPress Core


Ignore:
Timestamp:
03/28/2025 10:42:26 PM (3 months ago)
Author:
audrasjb
Message:

REST API: Properly capitalize "REST" in translation strings.

Reviewed by jorbin.
Merges [60104] to the 6.8 branch.
Props tobifjellner, sabernhardt, abcd95.
Fixes #63193.

Location:
branches/6.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.8

  • branches/6.8/src/wp-includes/rest-api.php

    r59886 r60105  
    435435        $rest_type_error = new WP_Error(
    436436            'rest_path_invalid_type',
    437             __( 'The rest route parameter must be a string.' ),
     437            __( 'The REST route parameter must be a string.' ),
    438438            array( 'status' => 400 )
    439439        );
Note: See TracChangeset for help on using the changeset viewer.