Remove unneeded $postquery lvalue. From Kitten.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2e544d32b6
commit
0649831ca7
|
@ -120,7 +120,7 @@ case 'post':
|
||||||
('0', '$user_ID', '$now', '$now_gmt', '$content', '$post_title', '$excerpt', '$post_status', '$comment_status', '$ping_status', '$post_password', '$post_name', '$trackback', '$now', '$now_gmt')
|
('0', '$user_ID', '$now', '$now_gmt', '$content', '$post_title', '$excerpt', '$post_status', '$comment_status', '$ping_status', '$post_password', '$post_name', '$trackback', '$now', '$now_gmt')
|
||||||
";
|
";
|
||||||
}
|
}
|
||||||
$postquery =
|
|
||||||
$result = $wpdb->query($postquery);
|
$result = $wpdb->query($postquery);
|
||||||
|
|
||||||
$post_ID = $wpdb->get_var("SELECT ID FROM $wpdb->posts ORDER BY ID DESC LIMIT 1");
|
$post_ID = $wpdb->get_var("SELECT ID FROM $wpdb->posts ORDER BY ID DESC LIMIT 1");
|
||||||
|
|
Loading…
Reference in New Issue