wordpress-develop/src/wp-includes/rest-api
Dominik Schilling 1ab43acf4b I18N: Always pass $locale to load_textdomain().
In [53874] the optional `$locale` parameter was added to `load_textdomain()`. While most `load_textdomain()` calls in core were were updated, some were missed. Passing the original locale avoids the need to call `determine_locale()` by `load_textdomain()` which is used as a fallback.

Props ocean90, swissspidy, desrosj.
See #57060.

git-svn-id: https://develop.svn.wordpress.org/trunk@54797 602fd350-edb4-49c9-b593-d223f7449a82
2022-11-10 19:38:20 +00:00
..
endpoints I18N: Always pass $locale to load_textdomain(). 2022-11-10 19:38:20 +00:00
fields Code Modernization: Add AllowDynamicProperties attribute to all (parent) classes. 2022-09-12 15:45:36 +00:00
search Code Modernization: Add AllowDynamicProperties attribute to all (parent) classes. 2022-09-12 15:45:36 +00:00
class-wp-rest-request.php Docs: Align spelling with American English. 2022-10-21 21:10:29 +00:00
class-wp-rest-response.php Docs: Update spelling for inline comments in a few files. 2022-01-25 13:54:01 +00:00
class-wp-rest-server.php Docs: Align spelling with American English. 2022-10-21 21:10:29 +00:00