From 9bc129c6542287876fd8b6646356fbd8bc9fc14e Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Tue, 12 Jun 2007 23:22:38 +0000 Subject: [PATCH] Omit underscore-prefixed meta keys from dropdown list. fixes #2316 git-svn-id: https://develop.svn.wordpress.org/trunk@5691 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/template.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 3a0a017692..e510264ce6 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -378,6 +378,7 @@ function meta_form() { $keys = $wpdb->get_col( " SELECT meta_key FROM $wpdb->postmeta + WHERE meta_key NOT LIKE '_%' GROUP BY meta_key ORDER BY meta_id DESC LIMIT $limit" );