wordpress-develop/tests/qunit
Jb Audras 4b6d7ebbc5 Query: Add a search_columns argument to control which fields are searched in a search query.
Previously, the `s` argument of the `WP_Query::parse_query()` method searched the `post_title`, `post_excerpt`, and `post_content` fields, with no way of controlling this apart from using the `posts_search` filter and adjusting the SQL manually. This changeset adds the ability to specify which fields are searched when performing a query, using the `search_columns` argument.

Props johnbillion, birgire, petitphp, audrasjb, costdev, mukesh27.
Fixes #43867.


git-svn-id: https://develop.svn.wordpress.org/trunk@55248 602fd350-edb4-49c9-b593-d223f7449a82
2023-02-07 08:53:01 +00:00
..
fixtures Query: Add a search_columns argument to control which fields are searched in a search query. 2023-02-07 08:53:01 +00:00
wp-admin/js Menus: Add audible notice on menu item add or remove. 2021-11-15 19:58:04 +00:00
wp-includes/js Build/Test Tools: Switch back to running the PHPUnit test suite against the src directory instead of build. 2021-02-26 14:07:53 +00:00
.jshintrc Build/Test Tools: Restore the QUnit global in JSHint config for QUnit. 2020-09-15 10:07:29 +00:00
index.html Media: Change alt attribute field to textarea in media library. 2022-09-20 04:00:35 +00:00