Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 5 of Ticket #2776


Ignore:
Timestamp:
12/04/2010 11:48:40 PM (14 years ago)
Author:
DJPaul
Comment:

T

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2776 – Description

    initial v5  
    33This is because WordPress, in wp_magic_quotes(), escapes everything in $_POST, $_GET and $_COOKIE. BuddyPress needs to stripslashes() on relevant content before we put it into the database, as $wpdb->prepare() escapes the input again.
    44This problem hasn't been very visible due to stripslashes() being added to most template tag's output functions, and a few local workarounds, but ticket #1209 led me to find this issue.
     5
     6Related:
     7#1209
     8#2283