pippinsplugins / WordPress-Plugin-Update-Notifier-for-Code-Canyon

This is a project that helps to provide an update notification system for WordPress plugins sold through the Envaro Code Canyon marketplace.
http://pippinsplugins.com
MIT License
64 stars 15 forks source link

Plugin prefix in cache options #9

Open LCweb-ita opened 11 years ago

LCweb-ita commented 11 years ago

Hi Pippin, just a little suggestion for the latest release. If you use it on multiple plugins on the same WP installation, the notifications could be wrong.

To solve that I've added the plugin prefix in the options name:

$db_cache_field = xxx-notifier-cache'; $db_cache_field_last_updated = 'xxx-notifier-cache-last-updated';