WordPress.org

Make WordPress Core

Ticket #25733: 25733.diff

File 25733.diff, 550 bytes (added by mauryaratan, 7 years ago)
  • wp-admin/plugins.php

     
    1717
    1818$action = $wp_list_table->current_action();
    1919
    20 $plugin = isset($_REQUEST['plugin']) ? $_REQUEST['plugin'] : '';
     20$plugin = isset($_REQUEST['plugin']) ? urlencode($_REQUEST['plugin']) : '';
    2121$s = isset($_REQUEST['s']) ? urlencode($_REQUEST['s']) : '';
    2222
    2323// Clean up request URI from temporary args for screen options/paging uri's to work as expected.