WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Most Shared Posts – Social Media counter for Twitter, Facebook & Google ] Broken on man

[Plugin: Most Shared Posts – Social Media counter for Twitter, Facebook & Google ] Broken on man

  • Ben Lobaugh (blobaugh)

    @blobaugh

    Jetpack Engineer

    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/

  • The topic ‘[Plugin: Most Shared Posts – Social Media counter for Twitter, Facebook & Google ] Broken on man’ is closed to new replies.