Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #54853, comment 2


Ignore:
Timestamp:
01/19/2022 06:43:59 AM (3 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54853, comment 2

    initial v1  
    2323> Each section and any remaining posts are then sorted by date.
    2424
    25 Additionally, `WP_Query::parse_query` has a [source:tags/5.8.3/src/wp-includes/class-wp-query.php?marks=723#L717 'sentence' argument] that controls whether to search by phrase.
     25Additionally, `WP_Query::parse_query()` has a [source:tags/5.8.3/src/wp-includes/class-wp-query.php?marks=723#L717 'sentence' argument] that controls whether to search by phrase.
    2626
    2727So it seems to me that the default search behavior works as intended and documented, I don't see a bug here. As noted above, this can be customized using the `posts_search` or `posts_search_orderby` filters.