Changeset 9105

Show
Ignore:
Timestamp:
10/09/08 00:19:11 (2 months ago)
Author:
ryan
Message:

strip slashes before preparing to avoid double escaping

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/includes/post.php

    r9103 r9105  
    377377function post_exists($title, $content = '', $post_date = '') { 
    378378    global $wpdb; 
     379 
     380    $title = stripslashes($title); 
     381    $content = stripslashes($content); 
     382    $post_date = stripslashes($post_date); 
    379383 
    380384    if (!empty ($post_date))