WordPress.org

Make WordPress Core

Ticket #50776: 50776.diff

File 50776.diff, 662 bytes (added by audrasjb, 14 months ago)

I18N: Fix an inconsistency in a translation string on the REST API.

  • src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php

    diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php
    index 88494a5fa9..591e3b838b 100644
    a b class WP_REST_Themes_Controller extends WP_REST_Controller { 
    367367                                        ),
    368368                                ),
    369369                                'textdomain'     => array(
    370                                         'description' => __( 'The theme\'s textdomain.' ),
     370                                        'description' => __( 'The theme\'s text domain.' ),
    371371                                        'type'        => 'string',
    372372                                        'readonly'    => true,
    373373                                ),