]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/includes/class-wp-ms-users-list-table.php
WordPress 3.9.1-scripts
[autoinstalls/wordpress.git] / wp-admin / includes / class-wp-ms-users-list-table.php
index 271fe5a09307cf0e2906bc3f80bfe5a0123a5a2c..df0640686bf2192cb795f3ca76dce00e1531f2be 100644 (file)
@@ -16,7 +16,7 @@ class WP_MS_Users_List_Table extends WP_List_Table {
        function prepare_items() {
                global $usersearch, $role, $wpdb, $mode;
 
-               $usersearch = isset( $_REQUEST['s'] ) ? $_REQUEST['s'] : '';
+               $usersearch = isset( $_REQUEST['s'] ) ? wp_unslash( trim( $_REQUEST['s'] ) ) : '';
 
                $users_per_page = $this->get_items_per_page( 'users_network_per_page' );