Improve meta_form() query. Props Denis-de-Bernardy. fixes #8561
git-svn-id: http://svn.automattic.com/wordpress/trunk@10998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a6dd527f4e
commit
08ef658e61
|
@ -2441,7 +2441,7 @@ function meta_form() {
|
|||
FROM $wpdb->postmeta
|
||||
WHERE meta_key NOT LIKE '\_%'
|
||||
GROUP BY meta_key
|
||||
ORDER BY meta_id DESC
|
||||
ORDER BY meta_key
|
||||
LIMIT $limit" );
|
||||
if ( $keys )
|
||||
natcasesort($keys);
|
||||
|
|
Loading…
Reference in New Issue