Make WordPress Core


Ignore:
Timestamp:
07/22/2020 10:29:23 PM (4 years ago)
Author:
TimothyBlynJacobs
Message:

REST API: Remove textdomain from doing it wrong message.

See #50075.
Props dlh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api.php

    r48555 r48571  
    9595                sprintf(
    9696                    /* translators: 1. The REST API route being registered. 2. The argument name. 3. The suggested function name. */
    97                     __( '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' ),
     97                    __( '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.' ),
    9898                    '<code>' . $clean_namespace . '/' . trim( $route, '/' ) . '</code>',
    9999                    '<code>permission_callback</code>',
Note: See TracChangeset for help on using the changeset viewer.