SP_WP_Search accepts "WP_Query-like arguments" but it uses query as the search term instead of s like WP_Query does. Let's make it possible to use s and have it just be an alias for query, where if query isn't set but s is, use its value.
Use Case
As a developer, I want to use SP_WP_Search like I would use WP_Query.
Description
SP_WP_Search
accepts "WP_Query-like arguments" but it usesquery
as the search term instead ofs
like WP_Query does. Let's make it possible to uses
and have it just be an alias forquery
, where ifquery
isn't set buts
is, use its value.Use Case
As a developer, I want to use SP_WP_Search like I would use WP_Query.