Support » Plugin: Simple Share Buttons Adder » Bug in Facebook Share button

  • When you try to share the article url, the facebook share button has a bug. Which? The URL after sharer.php? (in class-buttons.php) is not encoded to be able to really works when you use. Why? The facebook gets only the domain address, ignoring all the rest of address parameters. So, in line 513 of class-buttons.php I had to add the urlencode() .

    So, the line shoud be like this: …”’ . urlencode(esc_attr( $url_current_page ))…

    After that, every link in my web site get the right scrap to be shared in facebook perfectly.

  • You must be logged in to reply to this review.