Forums

  1. Ben Lobaugh (blobaugh)
    Member
    Posted 11 months ago #

    This plugin is using file_get_contents() to retrieve remote statistics. file_get_contents() is disabled by many hosting services as it can cause significant security issues. Please update the code to not use this function.

    When building a plugin please always check the Codex to see if functions are already available to you. WordPress includes an HTTP class that is very robust. Instead of blindly assuming your function will work across all hosts, the HTTP class determines the best method to retrieve data on a per host basis. It is very easy to use. Update your code to use the built-in WordPress functions

    http://codex.wordpress.org/HTTP_API

    http://wordpress.org/extend/plugins/most-shared-posts/

Reply

You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 11 months ago by Ben Lobaugh (blobaugh)
  • This topic is not resolved
  • WordPress version: 3.4

Tags

No tags yet.