Improve meta_form() query. Props Denis-de-Bernardy. fixes #8561
git-svn-id: https://develop.svn.wordpress.org/trunk@10998 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
96467705d7
commit
1c40d30776
@ -2441,7 +2441,7 @@ function meta_form() {
|
|||||||
FROM $wpdb->postmeta
|
FROM $wpdb->postmeta
|
||||||
WHERE meta_key NOT LIKE '\_%'
|
WHERE meta_key NOT LIKE '\_%'
|
||||||
GROUP BY meta_key
|
GROUP BY meta_key
|
||||||
ORDER BY meta_id DESC
|
ORDER BY meta_key
|
||||||
LIMIT $limit" );
|
LIMIT $limit" );
|
||||||
if ( $keys )
|
if ( $keys )
|
||||||
natcasesort($keys);
|
natcasesort($keys);
|
||||||
|
Loading…
Reference in New Issue
Block a user