[wp-trac] [WordPress Trac] #62496: Automatic Plugin Update Notifications Don't Use Admin Locale

WordPress Trac noreply at wordpress.org
Mon Dec 2 14:48:27 UTC 2024


#62496: Automatic Plugin Update Notifications Don't Use Admin Locale
--------------------------------------+-------------------------
 Reporter:  benniledl                 |       Owner:  swissspidy
     Type:  enhancement               |      Status:  reopened
 Priority:  normal                    |   Milestone:  6.8
Component:  I18N                      |     Version:  6.7
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch needs-dev-note  |     Focuses:
--------------------------------------+-------------------------

Comment (by swissspidy):

 Oh, good catch!

 At first I thought something something in the commit was wrong, but turns
 out the notification email strings are in the admin translation file, but
 `load_default_textdomain()` only loads those when in the admin (which
 isn't the case for a cron-triggered auto update)

 https://github.com/WordPress/wordpress-develop/pull/7931 should fix this.

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


More information about the wp-trac mailing list