A description/title decoding bug
-
One of our post titles has a quotation mark in it. WordPress is storing the quotation as ’, which is fine for html output, but not so good to pass to rawurlencode, so, on (my) line 90 of public.php, inside pib_button_base, I wrapped $description a bit more.
What was:
‘&description=’ . rawurlencode( wp_strip_all_tags( $description ) );
is now:
‘&description=’ . rawurlencode( html_entity_decode( wp_strip_all_tags( $description ) ) );I request this to be implemented for future versions.
https://www.ads-software.com/plugins/pinterest-pin-it-button/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘A description/title decoding bug’ is closed to new replies.