Files
wordpress/wp-includes/class-wp-editor.php
Aaron Jorbin 2d76932203 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.

Built from https://develop.svn.wordpress.org/trunk@60182


git-svn-id: http://core.svn.wordpress.org/trunk@59518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-24 22:22:30 +00:00

71 KiB