[wp-trac] [WordPress Trac] #64982: library should be changed to media library in core or needs gettext

WordPress Trac noreply at wordpress.org
Wed Apr 15 10:02:31 UTC 2026


#64982: library should be changed to media library in core or needs gettext
--------------------------+---------------------
 Reporter:  timse201      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  7.0
Component:  I18N          |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------

Comment (by jadavsanjay):

 == Patch Testing Report
 Patch Tested: https://github.com/WordPress/wordpress-develop/pull/11515

 === Environment
 - WordPress: 7.1-alpha-20260409.094020
 - PHP: 8.3.30
 - Server: PHP.wasm
 - Database: WP_SQLite_Driver (Server: 8.0.38 / Client: 3.51.0)
 - Browser: Chrome 147.0.0.0
 - OS: Windows
 - Theme: Twenty Twenty-Five 1.4
 - MU Plugins: None
 - Plugins:
   * Test Reports 1.2.1

 === Steps Taken
 1. Loaded PR #11515 using the WordPress PR option in Playground.
 2. Opened File browser and navigated to /wordpress/wp-admin/menu.php.
 3. Searched for _x( 'Library', 'media library' ) on line 75.
    Confirmed the patch applied correctly.

 ✅ Patch is solving the problem

 === Expected Result
 The Media Library submenu item now uses _x() with translator
 context instead of __(). No visual change expected in English.
 Translators can now provide accurate translations for their
 language once language files are updated.

 === Additional Notes
 1. Patch confirmed applied via file browser in Playground.
 2. No visual change expected. Verification is code-level only.

 === Screenshots/Screencast with results
 https://postimg.cc/Lqp429ZV
 https://postimg.cc/9zKhcm6p

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


More information about the wp-trac mailing list