Make WordPress Core


Ignore:
Timestamp:
01/23/2025 11:52:04 PM (6 months ago)
Author:
joedolson
Message:

Editor: Change the Text editor label to Code.

Rename the 'Text' tab of the classic editor to 'Code', mimicking the labels used in the block editor: "Visual editor" and "Code editor".

Update code comment and Help documentation to reference the editor using the new label.

Props lukecavanagh, ctienshi, travel_girl, audrasjb, sabernhardt, joedolson, rseigel, mark-k, sergeybiryukov, presskopp, giuriani, afercia, knutsp, audrasjb, sukhendu2002.
Fixes #38061.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r59692 r59696  
    37933793 *
    37943794 * Works out which of the editors to display as the current editor for a
    3795  * user. The 'html' setting is for the "Text" editor tab.
     3795 * user. The 'html' setting is for the "Code" editor tab.
    37963796 *
    37973797 * @since 2.5.0
Note: See TracChangeset for help on using the changeset viewer.