Tests: Cover get_search_link().
get_search_link()
Verify plain and pretty search URLs, spaces and special characters, the current search query fallback, and filtered links.
Developed in: https://github.com/WordPress/wordpress-develop/pull/14458
Props rejaulalomkhan. See #65819.