Changes between Initial Version and Version 1 of Ticket #20044, comment 10
- Timestamp:
- 03/08/2014 12:41:56 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20044, comment 10
initial v1 1 1 Replying to [comment:9 jeremyfelt]: 2 2 > [https://core.trac.wordpress.org/attachment/ticket/20044/20044.4.diff 20044.4.diff] checks anything passed in the filter against an array of allowed search fields—post_title, post_content, post_name, and post_excerpt—and then sets up the query. 3 > 4 > I left out other posts fields from the allowed list as they don't seem applicable. 3 5 4 6 Just to be clear, the filter in [attachment:20044.4.diff] effectively expands the available search fields to also include `post_excerpt` and `post_name` *only*. Does it not limit the usefulness of the filter to say, "You can customize the search fields, but are limited to choosing within this list of four?". 5 7 6 > 7 > I left out other posts fields from the allowed list as they don't seem applicable. Docs added to the `query_search_fields` filter as well. 8 > Docs added to the `query_search_fields` filter as well. 8 9 9 10 Very nice :)