Omit underscore-prefixed meta keys from dropdown list. fixes #2316
git-svn-id: http://svn.automattic.com/wordpress/trunk@5691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d4f95b7fd4
commit
f1fa801385
|
@ -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" );
|
||||
|
|
Loading…
Reference in New Issue