Plugin code improvement
-
Hello,
Would suggest the following modifications to improve the plugin code quality :
– one line 238 of async-share.php, put this line
if (isset($async_share_options['paged']) && $async_share_options['paged'] == TRUE ) {
=> this would allow to remove a php notice in case the option isn’t set.Then, I would suggest to load the CSS and JS code associated to the plugin only on pages where the counters appear. It is useless to load these on the other pages. If you aren’t sure on how to achieve that, please ping me and I will help you ??
https://www.ads-software.com/extend/plugins/async-social-sharing/
- The topic ‘Plugin code improvement’ is closed to new replies.