WordPress.org

Make WordPress Core

Ticket #38869: 38869.diff

File 38869.diff, 904 bytes (added by jainnidhi, 3 years ago)
  • wp-includes/l10n.php

    diff --git a/wp-includes/l10n.php b/wp-includes/l10n.php
    index 2847e4e..ca621de 100644
    a b function _get_path_to_translation( $domain, $reset = false ) { 
    917917 * @access private
    918918 *
    919919 * @see _get_path_to_translation()
    920  * @staticvar array $cached_mofiles 
     920 * @staticvar array $cached_mofiles
    921921 *
    922922 * @param string $domain Text domain. Unique identifier for retrieving translated strings.
    923923 * @return string|false The path to the translation file or false if no translation file was found.
    function wp_dropdown_languages( $args = array() ) { 
    12351235                $structure[] = sprintf(
    12361236                        '<option value="site-default" data-installed="1"%s>%s</option>',
    12371237                        selected( 'site-default', $parsed_args['selected'], false ),
    1238                         _x( 'Site Default', 'default site language' )
     1238                        _x( 'Site Language', 'default site language' )
    12391239                );
    12401240        }
    12411241