Query: Allow the prefix used for search term exclusion to be filtered.

[38792] allowed `WP_Query`'s hyphen-as-exclusion-prefix feature to be
disabled via filter. A more general solution is to allow the prefix to
be filtered; returning an empty value from a filter callback works to
disable the feature.

Props dlh.
Fixes #38099.
Built from https://develop.svn.wordpress.org/trunk@38844


git-svn-id: http://core.svn.wordpress.org/trunk@38787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Boone Gorges
2016-10-20 18:42:29 +00:00
parent 2265f1a07e
commit bcc26664ed
2 changed files with 15 additions and 14 deletions

View File

@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-alpha-38843';
$wp_version = '4.7-alpha-38844';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.