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: …”https://www.facebook.com/sharer.php?u=’ . urlencode(esc_attr( $url_current_page ))…
After that, every link in my web site get the right scrap to be shared in facebook perfectly.
- The topic ‘Bug in Facebook Share button’ is closed to new replies.