mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Add slashes to titles.
git-svn-id: https://develop.svn.wordpress.org/trunk@300 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -126,6 +126,8 @@ case "step1":
|
||||
|
||||
$post_content = addslashes($post_content);
|
||||
$post_content = str_replace('<br>', '<br />', $post_content); // the XHTML touch... ;)
|
||||
|
||||
$post_title = addslashes($post_title);
|
||||
|
||||
$result = $wpdb->query("
|
||||
INSERT INTO $tableposts
|
||||
|
||||
Reference in New Issue
Block a user