Skip to content

Commit ff23ab9

Browse files
feat: include suppress filters in wp query args and update filter docs
1 parent 940add6 commit ff23ab9

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/wp-includes/canonical.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,7 @@ function redirect_guess_404_permalink() {
978978
'update_post_term_cache' => false,
979979
'fields' => 'ids',
980980
'orderby' => 'none',
981+
'suppress_filters' => 'true',
981982
);
982983

983984
if ( $strict_guess ) {

src/wp-includes/class-wp-query.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,7 @@ protected function parse_search( &$query_vars ) {
14841484
/**
14851485
* Filters the columns to search in a WP_Query search.
14861486
*
1487-
* The supported columns are `post_title`, `post_excerpt` and `post_content`.
1487+
* The supported columns are `post_title`, `post_excerpt`, `post_content`, and `post_name`.
14881488
* They are all included by default.
14891489
*
14901490
* @since 6.2.0

0 commit comments

Comments
 (0)