WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/21/2016 04:14:01 PM (3 years ago)
Author:
ocean90
Message:

I18N: In wp_dropdown_languages() rename the new show_site_locale_default argument to show_option_site_default.

This makes it consistent with arguments of other wp_dropdown_*() functions.

Props SergeyBiryukov.
See #38632.
Fixes #38871.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/l10n.php

    r39169 r39331  
    111111            'selected'                 => 'de_DE',
    112112            'echo'                     => false,
    113             'show_site_locale_default' => true,
     113            'show_option_site_default' => true,
    114114        );
    115115        $actual = wp_dropdown_languages( $args );
Note: See TracChangeset for help on using the changeset viewer.