Make WordPress Core


Ignore:
Timestamp:
03/01/2013 04:28:40 PM (12 years ago)
Author:
ryan
Message:

Revert 23416, 23419, 23445 except for wp_reset_vars() changes. We are going a different direction with the slashing cleanup, so resetting to a clean slate. see #21767

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/press-this.php

    r23416 r23554  
    9292
    9393// Set Variables
    94 $title = isset( $_GET['t'] ) ? trim( strip_tags( html_entity_decode( wp_unslash( $_GET['t'] ) , ENT_QUOTES) ) ) : '';
     94$title = isset( $_GET['t'] ) ? trim( strip_tags( html_entity_decode( stripslashes( $_GET['t'] ) , ENT_QUOTES) ) ) : '';
    9595
    9696$selection = '';
    9797if ( !empty($_GET['s']) ) {
    98     $selection = str_replace(''', "'", wp_unslash($_GET['s']));
     98    $selection = str_replace(''', "'", stripslashes($_GET['s']));
    9999    $selection = trim( htmlspecialchars( html_entity_decode($selection, ENT_QUOTES) ) );
    100100}
Note: See TracChangeset for help on using the changeset viewer.