Make WordPress Core

Opened 3 hours ago

Last modified 3 hours ago

#65806 new defect (bug)

Media Library Search Includes Extra URL Parameters Added After Search

Reported by: danielhudson Owned by:
Priority: normal Milestone: Awaiting Review
Component: Media Version:
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

After using the media library search and the url parameter is set, if an additional parameter is set it doesn't parse just the "search" parameter and instead includes everything after "search=" ignoring any additional "&" and treating it like a string.

I would expect this to pick out just the search parameter to ensure the current search is persisted.

Change History (1)

This ticket was mentioned in PR #12839 on WordPress/wordpress-develop by @danielhudson.


3 hours ago
#1

  • Keywords has-patch added

Rather than relying on the backbone route selected the search url parameter and passed that as the query

Trac ticket: https://core.trac.wordpress.org/ticket/65806

## Use of AI Tools

AI assistance: No

Note: See TracTickets for help on using tickets.