Make WordPress Core


Ignore:
Timestamp:
12/21/2021 08:04:54 PM (2 years ago)
Author:
hellofromTonya
Message:

Administration: Add "File" to Theme/Plugin Editor menu names and relocate "Plugin File Editor" to Tools for block themes.

[52232] relocated the Theme Editor menu item from Appearance to Tools for block themes. This commit relocates the Plugin Editor menu item from Plugins to Tools for block themes for a consistent workflow.

Both the Theme Editor and Plugin Editor menu items are renamed to "Theme File Editor" and "Plugin File Editor" respectively. Why? To better identify their purpose, i.e. to directly edit the code in the theme or plugin files. The rename is not limited to only block themes.

Follow-up to [52232].

Props poena, annezazu, audrasjb, clorith, courane01, costdev, dryanpress, desrosj, hellofromTonya, ipstenu, jameskoster, joen, johnbillion, joyously, manfcarlo, marybaum, pbiron, SergeyBiryukov, walbo, youknowriad.
Fixes #54382.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/misc.php

    r51837 r52406  
    310310
    311311/**
    312  * Update the "recently-edited" file for the plugin or theme editor.
     312 * Update the "recently-edited" file for the plugin or theme file editor.
    313313 *
    314314 * @since 1.5.0
     
    333333
    334334/**
    335  * Makes a tree structure for the theme editor's file list.
     335 * Makes a tree structure for the theme file editor's file list.
    336336 *
    337337 * @since 4.9.0
     
    355355
    356356/**
    357  * Outputs the formatted file list for the theme editor.
     357 * Outputs the formatted file list for the theme file editor.
    358358 *
    359359 * @since 4.9.0
     
    426426
    427427/**
    428  * Makes a tree structure for the plugin editor's file list.
     428 * Makes a tree structure for the plugin file editor's file list.
    429429 *
    430430 * @since 4.9.0
     
    448448
    449449/**
    450  * Outputs the formatted file list for the plugin editor.
     450 * Outputs the formatted file list for the plugin file editor.
    451451 *
    452452 * @since 4.9.0
Note: See TracChangeset for help on using the changeset viewer.