- November 29, 2022 at 6:04 pm #40275
After updating Ajax Search Pro from 4.23.3 to 4.24.1 a security plugin flagged some of its files as suspicious.
The styling files that are supposed to be in /wp-content/cache/asp/ were also in /wp-admin/. The files in both directories seemed to be the same in both locations apart from the creation or modification date. I’ve deleted the (flagged) files in /wp-admin/ and this doesn’t appear to result in any problems. So this seems to be cruft caused by either caching-generation issue or due to version differences.
Buro26November 30, 2022 at 9:54 am #40289
This may have been some sort of a symlink server hickup only. I double checked the source, and the paths are definitely correctly set. The cache path is a fixed in relation to the wp-content directory via:
WP_CONTENT_DIR . '/cache/asp/'
.. and this path is then used to store the files. I also double checked every instance of the file writes, and in every case this path is used, so I have no clue how the files could have got from one directory to another. Even in theory if something messes up the WP_CONTENT_DIR constant (but that can never happen), it should still be a relative path to “./asp/cache”, and that is still not the wp-admin directory, but the user folder.
Please let me know if this issue somehow replicates, I am very curious how this happens. You can trigger the recreation of the CSS files by saving one of your search instances.Best,
If you like my products, don't forget to rate them on codecanyon :)
You must be logged in to reply to this topic.