[wp-trac] [WordPress Trac] #38061: Rename the Text tab on the editor

WordPress Trac noreply at wordpress.org
Thu Apr 24 22:21:14 UTC 2025


#38061: Rename the Text tab on the editor
----------------------------------------------+----------------------------
 Reporter:  lukecavanagh                      |       Owner:  joedolson
     Type:  enhancement                       |      Status:  closed
 Priority:  normal                            |   Milestone:  6.8
Component:  Editor                            |     Version:
 Severity:  normal                            |  Resolution:  fixed
 Keywords:  has-patch needs-user-docs commit  |     Focuses:
                                              |  accessibility, ui-copy
----------------------------------------------+----------------------------

Comment (by jorbin):

 In [changeset:"60182" 60182]:
 {{{
 #!CommitTicketReference repository="" revision="60182"
 Editor: Use different keys in array of translatable strings.

 [59696] changed the 'Text' tab of the classic editor to 'Code' but `Code`
 was already used as a key in the array of translatable text. Since arrays
 keys need to be unique, this meant that it is possible for the wrong
 translation to appear in a locale. Using different keys fixes that.

 Props joedolson, sabernhardt, justlevine, swissspidy, audrasjb.
 Fixes #63269. See #38061.
 }}}

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


More information about the wp-trac mailing list