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
This commit is contained in:
Mark Jaquith 2007-06-12 23:22:38 +00:00
parent 33871d9da3
commit 9bc129c654
1 changed files with 1 additions and 0 deletions

View File

@ -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" );