WordPress.org

Ready to get started?Download WordPress

Forums

Share and Follow
[resolved] confused quotes in the Bookmark link (2 posts)

  1. Marenek
    Member
    Posted 2 years ago #

    Share and Follow 1.60.4 and WordPress 3.3.1 (czech) confused quotes in the Bookmark link: href begins a " and ends an '. After several attempts I discovered the need to close the parameters in ".
    I changed the definition in allsites.php on line 888:
    'share_url' => "javascript:window.bookMark('URI', 'TITLE', BrowserDetect.browser);",
    and in share-and-follow.php in makeShareLink function on line 992:
    $image_attributes = ' src="'.WP_PLUGIN_URL.'/share-and-follow/images/blank.gif" ';
    1001:
    $attributes .= " href=\"".$this->replaceKeyWordsInURL($sites[$css_class]['share_url'], $page_link, $page_title, $page_excerpt )."\" ";
    1006:
    $attributes .= " href=\"".$this->replaceKeyWordsInURL($sites[$css_class]['share_url'], $page_link, $page_title, $page_excerpt )."\" ";

    http://wordpress.org/extend/plugins/share-and-follow/

  2. andykillen
    Member
    Plugin Author

    Posted 2 years ago #

    thanks Marenek, I'll take a look at changing my end resolve this for others. Quotes can be a nightmare

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic