Changes between Initial Version and Version 2 of Ticket #39358
- Timestamp:
- 12/21/2016 08:15:36 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #39358 – Description
initial v2 2 2 3 3 We see that in Wordpress 4.7, someone added a new filter to this function: 4 4 {{{ 5 5 // Filter query clauses to include filenames. 6 6 if ( isset( $query['s'] ) ) { 7 7 add_filter( 'posts_clauses', '_filter_query_attachment_filenames' ); 8 8 } 9 9 }}} 10 10 This filter is a performance killer and takes forever to output a result in large databases. We have tested this with db that has over 500000 posts.