E_ALL fixes and cleanups.

git-svn-id: https://develop.svn.wordpress.org/trunk@1239 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-05-07 23:56:33 +00:00
parent 2d8c664856
commit 3fedfb5746
16 changed files with 73 additions and 93 deletions

View File

@@ -223,9 +223,7 @@ function format_to_edit($content) {
function format_to_post($content) {
global $wpdb;
$content = stripslashes(stripslashes($content));
$content = apply_filters('format_to_post', $content);
$content = $wpdb->escape($content);
return $content;
}