mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +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:
@@ -309,7 +309,7 @@ function iis7_save_url_rewrite_rules() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Update the "recently-edited" file for the plugin or theme editor.
|
||||
* Update the "recently-edited" file for the plugin or theme file editor.
|
||||
*
|
||||
* @since 1.5.0
|
||||
*
|
||||
@@ -332,7 +332,7 @@ function update_recently_edited( $file ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Makes a tree structure for the theme editor's file list.
|
||||
* Makes a tree structure for the theme file editor's file list.
|
||||
*
|
||||
* @since 4.9.0
|
||||
* @access private
|
||||
@@ -354,7 +354,7 @@ function wp_make_theme_file_tree( $allowed_files ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Outputs the formatted file list for the theme editor.
|
||||
* Outputs the formatted file list for the theme file editor.
|
||||
*
|
||||
* @since 4.9.0
|
||||
* @access private
|
||||
@@ -425,7 +425,7 @@ function wp_print_theme_file_tree( $tree, $level = 2, $size = 1, $index = 1 ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Makes a tree structure for the plugin editor's file list.
|
||||
* Makes a tree structure for the plugin file editor's file list.
|
||||
*
|
||||
* @since 4.9.0
|
||||
* @access private
|
||||
@@ -447,7 +447,7 @@ function wp_make_plugin_file_tree( $plugin_editable_files ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Outputs the formatted file list for the plugin editor.
|
||||
* Outputs the formatted file list for the plugin file editor.
|
||||
*
|
||||
* @since 4.9.0
|
||||
* @access private
|
||||
|
||||
Reference in New Issue
Block a user