Make WordPress Core


Ignore:
Timestamp:
03/01/2013 04:28:40 PM (14 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/update.php

    r23416 r23554  
    2727
    2828                if ( isset( $_GET['plugins'] ) )
    29                         $plugins = explode( ',', wp_unslash($_GET['plugins']) );
     29                        $plugins = explode( ',', stripslashes($_GET['plugins']) );
    3030                elseif ( isset( $_POST['checked'] ) )
    3131                        $plugins = (array) $_POST['checked'];
    … …  
    110110                $url = 'update.php?action=install-plugin&plugin=' . $plugin;
    111111                if ( isset($_GET['from']) )
    112                         $url .= '&from=' . urlencode( wp_unslash( $_GET['from'] ) );
     112                        $url .= '&from=' . urlencode(stripslashes($_GET['from']));
    113113
    114114                $type = 'web'; //Install plugin type, From Web or an Upload.
    … …  
    174174
    175175                if ( isset( $_GET['themes'] ) )
    176                         $themes = explode( ',', wp_unslash( $_GET['themes'] ) );
     176                        $themes = explode( ',', stripslashes($_GET['themes']) );
    177177                elseif ( isset( $_POST['checked'] ) )
    178178                        $themes = (array) $_POST['checked'];
Note: See TracChangeset for help on using the changeset viewer.