Making WordPress.org

Changeset 2201


Ignore:
Timestamp:
12/17/2015 07:39:54 PM (11 years ago)
Author:
iandunn
Message:

WordCamp Payments: Strip slashes from 'incomplete request' emails.

Fixes #1366
Props SergeyBiryukov

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/classes/payment-request.php

    r2083 r2201  
    775775                        If you have any questions, please reply to let us know.",
    776776                        $post_data['post_title'],
    777                         sanitize_text_field( $post_data_raw['wcp_mark_incomplete_notes'] ),
     777                        sanitize_text_field( stripslashes( $post_data_raw['wcp_mark_incomplete_notes'] ) ),
    778778                        admin_url( sprintf( 'post.php?post=%s&action=edit', $request_id ) )
    779779                );
Note: See TracChangeset for help on using the changeset viewer.