[wp-trac] [WordPress Trac] #58492: Plugin Search Issue: Trimming of Keywords with Ampersand (&) upon Page Refresh
WordPress Trac
noreply at wordpress.org
Thu Jun 8 12:45:54 UTC 2023
#58492: Plugin Search Issue: Trimming of Keywords with Ampersand (&) upon Page
Refresh
-------------------------------+-----------------------------
Reporter: adhun | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: trunk
Severity: normal | Keywords: has-patch
Focuses: ui, accessibility |
-------------------------------+-----------------------------
I have encountered a peculiar issue with the plugin search functionality
in the WordPress backend. When performing a plugin search using keywords
that contain an ampersand (&) character and refreshing the page twice, the
keywords are getting trimmed, resulting in incomplete search results.
Steps to Reproduce:
1. Access the WordPress backend.
2. Navigate to the Plugins section.
3. In the search box, enter keywords that include an ampersand character,
e.g., "search & replace"
4. Press Enter or click the Search button.
5. Note the search results.
6. Refresh the page twice by pressing F5 or using the browser's refresh
button.
7. Observe that the search keywords are being trimmed to "search" only.
8. The search results are now incomplete, as the full keywords were not
used for the search.
Expected Results:
The plugin search should retain the complete keywords, including the
ampersand character, upon page refreshes. This would ensure accurate and
consistent search results, even after multiple page refreshes.
Actual Results:
Upon refreshing the plugin search page twice, the keywords containing an
ampersand (&) are trimmed, resulting in incomplete search results.
Reproducibility:
Consistently reproducible.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58492>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list