[wp-trac] [WordPress Trac] #62016: The .json files with theme translations are loaded only if they are present in the plugins path

WordPress Trac noreply at wordpress.org
Mon Oct 21 10:24:18 UTC 2024


#62016: The .json files with theme translations are loaded only if they are present
in the plugins path
-------------------------------------------------+-------------------------
 Reporter:  itapress                             |       Owner:  swissspidy
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.7
Component:  I18N                                 |     Version:  6.6
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by staurand):

 == Test Report
 === Description
 The issue is fixed with https://github.com/WordPress/wordpress-
 develop/pull/7562


 === Environment
 - WordPress: 6.5-beta2-57671-src
 - PHP: 8.1.8
 - Server: Apache/2.4.53 (Debian)
 - Database: mysqli (Server: 5.7.43 / Client: mysqlnd 8.1.8)
 - Browser: Firefox 131.0
 - OS: macOS
 - Theme: Twenty Twenty Four child theme
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.1.0

 === Actual Results
 1.  ✅ The text is translated

 === Additional Notes
 - Tested with a child theme of Twenty Twenty Four loading js file that
 should alert a translated text on Multisite (main site + sub site)

 === Supplemental Artifacts
 [https://core.trac.wordpress.org/attachment/ticket/62016/ticket-62016
 -patched-main-site.png]
 [https://core.trac.wordpress.org/attachment/ticket/62016/ticket-62016
 -patched-sub-site.png]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62016#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list