From 51154cd1dfd4c50a769ba8f93af817d3aecc2fbd Mon Sep 17 00:00:00 2001 From: TimothyBlynJacobs Date: Wed, 22 Jul 2020 22:31:04 +0000 Subject: [PATCH] REST API: Remove textdomain from doing it wrong message. See #50075. Props dlh. Built from https://develop.svn.wordpress.org/trunk@48571 git-svn-id: http://core.svn.wordpress.org/trunk@48333 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/rest-api.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/rest-api.php b/wp-includes/rest-api.php index c18c63ec2a..b13b242155 100644 --- a/wp-includes/rest-api.php +++ b/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' diff --git a/wp-includes/version.php b/wp-includes/version.php index d1066f65c9..309eddee7b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-beta3-48570'; +$wp_version = '5.5-beta3-48571'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.