• Hello,

    I really really hope the developer did not the HUGE mistake of changing the main function async_share_social_box()…

    But by the look of the ugly error of my site (broke entire display because this function isn’t there anymore) I guess it’s been renamed.

    WHAT A ROOKIE MISTAKE !!!

    I’m done with this plugin, such bad coding is not fun…

    http://wordpress.org/plugins/async-social-sharing/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter aguett

    (@aguett)

    Ok my bad, I was almost sure I read somewhere the developer saying the function could be called standalone but no… it was just indicated by various guys in the forum… and never described as an accepted use by the developer

    Still : why rename the main function knowing that some people have called this function in their code ??

    Hi,
    I used function async_share_display() in my theme in order to display buttons in places I wanted.
    After update it doesn’t work anymore.
    Temporarily I fixed it this way:
    1) In the main plugin file async-share.php replaced
    private function __construct()
    with
    public function __construct()
    2) In functions.php is new function

    function social_buttons() {
     $buttons = new Async_Social_Sharing())
     return $buttons->display_output_view();
    }

    3) In my theme I am now using
    echo social_buttons();

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘OMG Did you rename the main function ????’ is closed to new replies.