diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php
index 42bea39cda..86fafe3c57 100644
--- a/wp-admin/admin-functions.php
+++ b/wp-admin/admin-functions.php
@@ -258,7 +258,8 @@ function has_meta($postid) {
function list_meta($meta) {
global $post_ID;
// Exit if no meta
- if (!$meta) return;
+ if (!$meta) return;
+ $count = 0;
?>
-
+
__('Main Template'),
- 'wp-layout.css' => __('Stylesheet'),
- 'style.css' => __('Stylesheet'),
- 'wp-comments.php' => __('Comments Template'),
- 'comments.php' => __('Comments Template'),
- 'wp-comments-popup.php' => __('Popup Comments Template'),
- 'comments-popup.php' => __('Popup Comments Template'),
- 'wp-footer.php' => __('Footer Template'),
- 'footer.php' => __('Footer Template'),
- 'wp-header.php' => __('Header Template'),
- 'header.php' => __('Header Template'),
- 'wp-sidebar.php' => __('Sidebar Template'),
- 'sidebar.php' => __('Sidebar Template'),
- 'archive.php' => __('Archive Template'),
- 'category.php' => __('Category Template'),
- 'page.php' => __('Page Template'),
- 'search.php' => __('Search Template'),
- 'single.php' => __('Post Template'),
- '404.php' => __('404 Template'),
- 'my-hacks.php' => __('my-hacks.php (legacy hacks support)'),
-
- '.htaccess' => __('.htaccess (for rewrite rules)')
- );
+$wp_file_descriptions =
+ array(
+ 'index.php' => __('Main Template'),
+ 'wp-layout.css' => __('Stylesheet'),
+ 'style.css' => __('Stylesheet'),
+ 'wp-comments.php' => __('Comments Template'),
+ 'comments.php' => __('Comments Template'),
+ 'wp-comments-popup.php' => __('Popup Comments Template'),
+ 'comments-popup.php' => __('Popup Comments Template'),
+ 'wp-footer.php' => __('Footer Template'),
+ 'footer.php' => __('Footer Template'),
+ 'wp-header.php' => __('Header Template'),
+ 'header.php' => __('Header Template'),
+ 'wp-sidebar.php' => __('Sidebar Template'),
+ 'sidebar.php' => __('Sidebar Template'),
+ 'archive.php' => __('Archive Template'),
+ 'category.php' => __('Category Template'),
+ 'page.php' => __('Page Template'),
+ 'search.php' => __('Search Template'),
+ 'single.php' => __('Post Template'),
+ '404.php' => __('404 Template'),
+ 'my-hacks.php' => __('my-hacks.php (legacy hacks support)'),
+ '.htaccess' => __('.htaccess (for rewrite rules)')
+ );
function get_file_description($file) {
global $wp_file_descriptions;
diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php
index 431e0d47b6..4d517b0e68 100644
--- a/wp-admin/admin-header.php
+++ b/wp-admin/admin-header.php
@@ -8,16 +8,34 @@
-
-
diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php
index 219f3a534e..30f24a11c1 100644
--- a/wp-admin/edit-page-form.php
+++ b/wp-admin/edit-page-form.php
@@ -122,7 +122,7 @@ edCanvas = document.getElementById('content');
-
+