Make WordPress Core

Changeset 2902


Ignore:
Timestamp:
09/21/2005 04:35:35 PM (19 years ago)
Author:
ryan
Message:

stripslashes before running kses. Props donncha. fixes #1697

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/kses.php

    r2899 r2902  
    513513function wp_filter_post_kses($data) {
    514514    global $allowedposttags;
    515     return wp_kses($data, $allowedposttags);
     515    return addslashes ( wp_kses(stripslashes( $data ), $allowedposttags) );
    516516}
    517517
Note: See TracChangeset for help on using the changeset viewer.