Make WordPress Core


Ignore:
Timestamp:
11/29/2022 11:44:27 PM (15 months ago)
Author:
audrasjb
Message:

Plugins: Correctly display spaces in installed plugins search results.

This changeset improves searched terms URL decoding in installed plugins search results.

Follow-up to [53844].

Props 254volkan, dilipbheda, audrasjb, adhun, syamraj24.
Fixes #57174.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugins-list-table.php

    r54378 r54904  
    404404
    405405        if ( ! empty( $_REQUEST['s'] ) ) {
    406             $s = esc_html( wp_unslash( $_REQUEST['s'] ) );
     406            $s = esc_html( urldecode( wp_unslash( $_REQUEST['s'] ) ) );
    407407
    408408            /* translators: %s: Plugin search term. */
Note: See TracChangeset for help on using the changeset viewer.