Commit 94a863c7 authored by Timothy Jacobs's avatar Timothy Jacobs
Browse files

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: https://core.svn.wordpress.org/trunk@48333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 0298a47a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.' ),
					'<code>' . $clean_namespace . '/' . trim( $route, '/' ) . '</code>',
					'<code>permission_callback</code>',
					'<code>__return_true</code>'
+1 −1
Original line number Diff line number Diff line
@@ -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.