WordPress.org

Make WordPress Core

Ticket #2434: admin-functions.php.diff

File admin-functions.php.diff, 357 bytes (added by Dave-Millercom, 14 years ago)

Patch

Line 
1*** admin-functions.php Mon Jan 30 22:03:06 2006
2--- admin-functions-dm.php      Mon Feb 13 21:14:03 2006
3***************
4*** 113,118 ****
5--- 113,119 ----
6        }
7 
8        $post->post_content = str_replace($post_search, $post_replace, $post->post_content);
9+       $post->post_content = addslashes($post->post_content);
10 
11        return wp_update_post($post);
12  }