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

get_plugin_data() call #3

Closed corsonr closed 12 years ago

corsonr commented 12 years ago

get_plugin_data() is only defined in the admin section, so this call might cause a "Call to undefined function get_plugin_data()" error message on the frontend. 

pippinsplugins commented 12 years ago

Good idea to check. I always did an is_admin() check around the file includes as well.