From 2f3c1769fa14e14ba195bf908f7bd8597f2a4f2b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 18 Apr 2016 01:04:15 +0000 Subject: [PATCH] Theme Editor: After [37217], add other embed templates to file descriptions. Props Frozzare. Fixes #34561. See #34561. git-svn-id: https://develop.svn.wordpress.org/trunk@37232 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/file.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/includes/file.php b/src/wp-admin/includes/file.php index 1b287e8267..e527b2eb97 100644 --- a/src/wp-admin/includes/file.php +++ b/src/wp-admin/includes/file.php @@ -21,7 +21,6 @@ $wp_file_descriptions = array( 'searchform.php' => __( 'Search Form' ), '404.php' => __( '404 Template' ), 'link.php' => __( 'Links Template' ), - 'embed.php' => __( 'Embed Template' ), // Archives 'index.php' => __( 'Main Index Template' ), 'archive.php' => __( 'Archives' ), @@ -43,6 +42,12 @@ $wp_file_descriptions = array( 'video.php' => __( 'Video Attachment Template' ), 'audio.php' => __( 'Audio Attachment Template' ), 'application.php' => __( 'Application Attachment Template' ), + // Embeds + 'embed.php' => __( 'Embed Template' ), + 'embed-404.php' => __( 'Embed 404 Template' ), + 'embed-content.php' => __( 'Embed Content Template' ), + 'header-embed.php' => __( 'Embed Header Template' ), + 'footer-embed.php' => __( 'Embed Footer Template' ), // Stylesheets 'style.css' => __( 'Stylesheet' ), 'editor-style.css' => __( 'Visual Editor Stylesheet' ),