Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #49625


Ignore:
Timestamp:
03/11/2020 05:52:07 PM (5 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49625 – Description

    initial v1  
    99So this would load the file `languages/cs_CZ.mo`. I think this is a bug and it should instead try to load the file `languages/crdm-modern-cs_CZ.mo`. This would be in line with how the function `load_plugin_textdomain()` works - that's wha I think it is a bug.
    1010
    11 Looking at the code, I think the issue was introduced in [https://core.trac.wordpress.org/changeset/37414] and could be solved by replacing
     11Looking at the code, I think the issue was introduced in [37414] and could be solved by replacing
    1212
    1313`return load_textdomain( $domain, $path . '/' . $locale . '.mo' );`