-
Bug
-
Resolution: Fixed
-
Major
-
3.1.0-RC3
-
None
-
PHP 5.5.10, MySQL 5.6.15 Chrome 37
The core.search_get_posts_data event is provided to modify the SQL query before the posts data is retrieved but total_match_count is used (lines 557-564, 594, & 605) prior to the event dispatcher (line 699). If I modify the sql such that the number of results retrieved is affected, there is no way to modify the total results and pagination.