Changeset 23567 for trunk/wp-admin/press-this.php
- Timestamp:
- 03/01/2013 05:14:09 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/press-this.php
r23554 r23567 92 92 93 93 // Set Variables 94 $title = isset( $_GET['t'] ) ? trim( strip_tags( html_entity_decode( stripslashes( $_GET['t'] ) , ENT_QUOTES) ) ) : '';94 $title = isset( $_GET['t'] ) ? trim( strip_tags( html_entity_decode( wp_unslash( $_GET['t'] ) , ENT_QUOTES) ) ) : ''; 95 95 96 96 $selection = ''; 97 97 if ( !empty($_GET['s']) ) { 98 $selection = str_replace(''', "'", stripslashes($_GET['s']));98 $selection = str_replace(''', "'", wp_unslash($_GET['s'])); 99 99 $selection = trim( htmlspecialchars( html_entity_decode($selection, ENT_QUOTES) ) ); 100 100 }
Note: See TracChangeset
for help on using the changeset viewer.