[wp-trac] [WordPress Trac] #42281: No Autoupdate for Translation files

WordPress Trac noreply at wordpress.org
Tue Apr 21 09:19:14 UTC 2026


#42281: No Autoupdate for Translation files
-------------------------------------------------+-------------------------
 Reporter:  stk_jj                               |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Upgrade/Install                      |     Version:  4.8.2
 Severity:  normal                               |  Resolution:
 Keywords:  2nd-opinion has-patch has-unit-      |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by Jyria):

 Refreshing this ticket with a patch for the UI improvement mentioned in
 comment:1.

 PR: https://github.com/WordPress/wordpress-develop/pull/11610

 This patch keeps the current translation update behavior, but improves the
 Updates screen by listing the specific pending translation updates before
 the upgrade runs. It adds display data helpers for translation updates and
 renders the pending core/plugin/theme translation packages with component
 name, language, and target version on `wp-admin/update-core.php`.

 Tests/validation:
 * Added PHPUnit coverage for the translation update display data,
 including plugin slug mapping for WordPress.org-style slugs.
 * Passed `php -l` on the changed files.
 * Passed `phpcs` for the changed files.
 * Ran an authenticated admin smoke test against `update-core.php` on a
 dedicated test instance and verified the rendered translations section and
 count for core, plugin, and theme translation updates.

 I was not able to run the PHPUnit suite end-to-end in this environment
 because the local WordPress test configuration / Docker test environment
 was unavailable.

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


More information about the wp-trac mailing list