mirror of
git://develop.git.wordpress.org/
synced 2025-02-24 16:43:06 +01:00
Theme Editor: Break $wp_file_descriptions
array into sections and reorder for consistency and readability.
Props ramiy. Fixes #35223. git-svn-id: https://develop.svn.wordpress.org/trunk@36088 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ffc86bf4e1
commit
2ce0bfa8f4
@ -13,43 +13,48 @@
|
|||||||
|
|
||||||
/** The descriptions for theme files. */
|
/** The descriptions for theme files. */
|
||||||
$wp_file_descriptions = array(
|
$wp_file_descriptions = array(
|
||||||
'index.php' => __( 'Main Index Template' ),
|
'functions.php' => __( 'Theme Functions' ),
|
||||||
'style.css' => __( 'Stylesheet' ),
|
'header.php' => __( 'Theme Header' ),
|
||||||
'editor-style.css' => __( 'Visual Editor Stylesheet' ),
|
'footer.php' => __( 'Theme Footer' ),
|
||||||
'editor-style-rtl.css' => __( 'Visual Editor RTL Stylesheet' ),
|
'sidebar.php' => __( 'Sidebar' ),
|
||||||
'rtl.css' => __( 'RTL Stylesheet' ),
|
'comments.php' => __( 'Comments' ),
|
||||||
'comments.php' => __( 'Comments' ),
|
'searchform.php' => __( 'Search Form' ),
|
||||||
'footer.php' => __( 'Theme Footer' ),
|
'404.php' => __( '404 Template' ),
|
||||||
'header.php' => __( 'Theme Header' ),
|
'link.php' => __( 'Links Template' ),
|
||||||
'sidebar.php' => __( 'Sidebar' ),
|
// Archives
|
||||||
'archive.php' => __( 'Archives' ),
|
'index.php' => __( 'Main Index Template' ),
|
||||||
'author.php' => __( 'Author Template' ),
|
'archive.php' => __( 'Archives' ),
|
||||||
'taxonomy.php' => __( 'Taxonomy Template' ),
|
'author.php' => __( 'Author Template' ),
|
||||||
'tag.php' => __( 'Tag Template' ),
|
'taxonomy.php' => __( 'Taxonomy Template' ),
|
||||||
'category.php' => __( 'Category Template' ),
|
'category.php' => __( 'Category Template' ),
|
||||||
'page.php' => __( 'Page Template' ),
|
'tag.php' => __( 'Tag Template' ),
|
||||||
'home.php' => __( 'Posts Page' ),
|
'home.php' => __( 'Posts Page' ),
|
||||||
'front-page.php' => __( 'Static Front Page' ),
|
'search.php' => __( 'Search Results' ),
|
||||||
'search.php' => __( 'Search Results' ),
|
'date.php' => __( 'Date Template' ),
|
||||||
'searchform.php' => __( 'Search Form' ),
|
// Content
|
||||||
'date.php' => __( 'Date Template' ),
|
'singular.php' => __( 'Singular Template' ),
|
||||||
'singular.php' => __( 'Singular Template' ),
|
'single.php' => __( 'Single Post' ),
|
||||||
'single.php' => __( 'Single Post' ),
|
'page.php' => __( 'Single Page' ),
|
||||||
'404.php' => __( '404 Template' ),
|
'front-page.php' => __( 'Static Front Page' ),
|
||||||
'link.php' => __( 'Links Template' ),
|
// Attachments
|
||||||
'functions.php' => __( 'Theme Functions' ),
|
'attachment.php' => __( 'Attachment Template' ),
|
||||||
'attachment.php' => __( 'Attachment Template' ),
|
'image.php' => __( 'Image Attachment Template' ),
|
||||||
'image.php' => __('Image Attachment Template'),
|
'video.php' => __( 'Video Attachment Template' ),
|
||||||
'video.php' => __('Video Attachment Template'),
|
'audio.php' => __( 'Audio Attachment Template' ),
|
||||||
'audio.php' => __('Audio Attachment Template'),
|
'application.php' => __( 'Application Attachment Template' ),
|
||||||
'application.php' => __('Application Attachment Template'),
|
// Stylesheets
|
||||||
'my-hacks.php' => __( 'my-hacks.php (legacy hacks support)' ),
|
'style.css' => __( 'Stylesheet' ),
|
||||||
'.htaccess' => __( '.htaccess (for rewrite rules )' ),
|
'editor-style.css' => __( 'Visual Editor Stylesheet' ),
|
||||||
|
'editor-style-rtl.css' => __( 'Visual Editor RTL Stylesheet' ),
|
||||||
|
'rtl.css' => __( 'RTL Stylesheet' ),
|
||||||
|
// Other
|
||||||
|
'my-hacks.php' => __( 'my-hacks.php (legacy hacks support)' ),
|
||||||
|
'.htaccess' => __( '.htaccess (for rewrite rules )' ),
|
||||||
// Deprecated files
|
// Deprecated files
|
||||||
'wp-layout.css' => __( 'Stylesheet' ),
|
'wp-layout.css' => __( 'Stylesheet' ),
|
||||||
'wp-comments.php' => __( 'Comments Template' ),
|
'wp-comments.php' => __( 'Comments Template' ),
|
||||||
'wp-comments-popup.php' => __( 'Popup Comments Template' ),
|
'wp-comments-popup.php' => __( 'Popup Comments Template' ),
|
||||||
'comments-popup.php' => __( 'Popup Comments' ),
|
'comments-popup.php' => __( 'Popup Comments' ),
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user