themegrill / easy-social-sharing

Social Sharing plugin for WordPress
5 stars 7 forks source link

Lock install routine to only allow for one execution #11

Closed sanzeeb3 closed 7 years ago

sanzeeb3 commented 7 years ago

Due to the check_version method running on init it can fire multiple times during a page load causing race condition when doing a new install.

This PR adds a transient lock to ensure we are only running this once.