Title: Plugin code improvement
Last modified: August 20, 2016

---

# Plugin code improvement

 *  [firebird75](https://wordpress.org/support/users/firebird75/)
 * (@firebird75)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/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 🙂
 * [http://wordpress.org/extend/plugins/async-social-sharing/](http://wordpress.org/extend/plugins/async-social-sharing/)

The topic ‘Plugin code improvement’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/async-social-sharing_ffffff.svg)
 * [Async Social Sharing](https://wordpress.org/plugins/async-social-sharing/)
 * [Support Threads](https://wordpress.org/support/plugin/async-social-sharing/)
 * [Active Topics](https://wordpress.org/support/plugin/async-social-sharing/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/async-social-sharing/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/async-social-sharing/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [firebird75](https://wordpress.org/support/users/firebird75/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-code-improvement/)
 * Status: not resolved