Make WordPress Core

Changeset 37415


Ignore:
Timestamp:
05/10/2016 08:04:52 PM (8 years ago)
Author:
swissspidy
Message:

I18N: Remove the requirement to call load_plugin_textdomain() / load_theme_textdomain().

By initially scanning the wp-content/languages directory and loading available MO files just-in-time, plugins and themes do not need to manually load text domains anymore.

Props swissspidy, ocean90.
Fixes #34114

Location:
trunk/tests/phpunit
Files:
12 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/theme/themeDir.php

    r29249 r37415  
    160160            'Page Template Theme', // theme with page templates for other test code
    161161            'Theme with Spaces in the Directory',
     162            'Internationalized Theme',
    162163        );
    163164
Note: See TracChangeset for help on using the changeset viewer.