From e306fca2c1a009c19b396e5d4289ebf8ffa582d1 Mon Sep 17 00:00:00 2001 From: Timothy Jacobs Date: Wed, 22 Jul 2020 22:29:23 +0000 Subject: [PATCH] REST API: Remove textdomain from doing it wrong message. See #50075. Props dlh. git-svn-id: https://develop.svn.wordpress.org/trunk@48571 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/rest-api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/rest-api.php b/src/wp-includes/rest-api.php index c18c63ec2a..b13b242155 100644 --- a/src/wp-includes/rest-api.php +++ b/src/wp-includes/rest-api.php @@ -94,7 +94,7 @@ function register_rest_route( $namespace, $route, $args = array(), $override = f __FUNCTION__, sprintf( /* translators: 1. The REST API route being registered. 2. The argument name. 3. The suggested function name. */ - __( 'The REST API route definition for %1$s is missing the required %2$s argument. For REST API routes that are intended to be public, use %3$s as the permission callback.', 'LION' ), + __( 'The REST API route definition for %1$s is missing the required %2$s argument. For REST API routes that are intended to be public, use %3$s as the permission callback.' ), '' . $clean_namespace . '/' . trim( $route, '/' ) . '', 'permission_callback', '__return_true'