mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@52406 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -223,7 +223,7 @@ function wp_get_plugin_file_editable_extensions( $plugin ) {
|
||||
);
|
||||
|
||||
/**
|
||||
* Filters the list of file types allowed for editing in the plugin editor.
|
||||
* Filters the list of file types allowed for editing in the plugin file editor.
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @since 4.9.0 Added the `$plugin` parameter.
|
||||
@@ -282,7 +282,7 @@ function wp_get_theme_file_editable_extensions( $theme ) {
|
||||
);
|
||||
|
||||
/**
|
||||
* Filters the list of file types allowed for editing in the theme editor.
|
||||
* Filters the list of file types allowed for editing in the theme file editor.
|
||||
*
|
||||
* @since 4.4.0
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user