Hi, I have a WordPress Bedrock installation http://roots.io/wordpress-stack/
Bedrock modifies the default WordPress directories. Unfortunately this means I’m having a problem with Ajax Search Pro.
The asp.shortcode.probox.php has a number of lines (11, 28, 56) which use file_get_contents() instead of plugins_url(), which breaks the plugin.
e.g. echo file_get_contents(ABSPATH . ‘wp-content/plugins/’ . $style[‘magnifierimage’]);
I get an output like this:
/var/www/wp-site/web/wp/wp-content/plugins/ajax-search-pro/img/svg/magnifiers/magn4.svg
Instead of this:
/var/www/wp-site/web/app/plugins/ajax-search-pro/img/svg/magnifiers/magn4.svg
Is there any way this can be fixed? I can edit the code myself for now, but I don’t want to have to support my client’s sites every time they update the Ajax Search Pro plugin and overwrite my changes.
Best,
James