Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugin-editor.php

    r12005 r12310  
    2323
    2424if ( isset($_REQUEST['file']) )
    25     $plugin = $_REQUEST['file'];
     25    $plugin = stripslashes($_REQUEST['file']);
    2626
    2727if ( empty($plugin) ) {
     
    3434if ( empty($file) )
    3535    $file = $plugin_files[0];
     36else
     37    $file = stripslashes($file);
    3638
    3739$file = validate_file_to_edit($file, $plugin_files);
Note: See TracChangeset for help on using the changeset viewer.