wpdreams / ajax-search-pro-development

Issues and dev tracking repository for Ajax Search Pro for WordPress plugin
0 stars 0 forks source link

Remove the $args["_post_process"] = false query argument for Media Indexed Search #136

Open ernestmarcinko opened 2 weeks ago

ernestmarcinko commented 2 weeks ago

The

$args["_post_process"] = false

query argument within SearchAttachments.php was added a long time ago to prevent some compatibility issues as post processing was called separately for indexed queries. This is now not the case and should be removed.

It causes image parsing as well as advanced meta fields not to follow up. Other than a quick fix a new hierarchy should be added so that there is a separate index table search class for media files.