From 75a683cbf3cf3dedf630f6d5b44d9c8e020999bb Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Tue, 12 Jun 2007 23:44:45 +0000 Subject: [PATCH] Correct SQL query in [5691]. fixes #2316 git-svn-id: https://develop.svn.wordpress.org/trunk@5692 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index e510264ce6..4a4b660b9c 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -378,7 +378,7 @@ function meta_form() { $keys = $wpdb->get_col( " SELECT meta_key FROM $wpdb->postmeta - WHERE meta_key NOT LIKE '_%' + WHERE meta_key NOT LIKE '\_%' GROUP BY meta_key ORDER BY meta_id DESC LIMIT $limit" );