Support » Plugin: Nobs • Share Buttons » [PR] Twitter button permalink doesn't work.

  • So I will propose to change the following code.


    // before

    case 'twitter' :
    	                                                                $api_link = '' . $url . '&text=' . $text . '&url=' . $url . $twitter_user;

    // after

    case 'twitter' :
    								$api_link = '' . 'text=' . $text . '&url=' . urlencode(get_permalink()) . $twitter_user;

    …I suggest to replace all $url change to urlencode (get_permalink ())

Viewing 1 replies (of 1 total)
  • Plugin Author Geoffrey



    This link actually works fine.
    $url is already encoded, so I don’t understand what your are suggested.

    Please read the code below these lines and try to find occurrences of $url to understand the work done on it.

    Thank you.
    Tell me if you have question, or if you can be more explicit than “doesn’t work”.

Viewing 1 replies (of 1 total)
  • The topic ‘[PR] Twitter button permalink doesn't work.’ is closed to new replies.