WordPress.org

Make WordPress Core

Changeset 9105


Ignore:
Timestamp:
10/09/08 00:19:11 (6 years ago)
Author:
ryan
Message:

strip slashes before preparing to avoid double escaping

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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)) 
Note: See TracChangeset for help on using the changeset viewer.