Shariff Wrapper changelog

By 3UU, on WordPress.org since 2014. 30,000+ active installs.

Browse code

42 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.

  1. 4.6.23
    • security: Stored/Reflected XSS via the Shariff widget (reported via Wordfence as “Authenticated (Subscriber+) Stored Cross-Site Scripting via Author Display Name”). The widget built a shortcode string from the document title, so an entity-encoded quote in an author display name, a search query or a post title could inject further shortcode attributes. The widget now hands over an attribute array directly.
    • security: data-services is no longer inserted via str_replace() on the finished HTML, which allowed attribute values containing “data-url=” to break out of their attribute.
    • security: shortcode, widget and meta box attributes are now sanitized after all merges with the same rules as the settings pages; cssclass is restricted to valid class names.
    • fix: on/off options now check the value (1, “1”, “on”) instead of only isset(). sharecounts=”1″ and hidezero=”1″ in shortcodes work now.
    • fix: alignment settings were stored as left/center/right, but the CSS uses flex-start/center/flex-end. Please check your alignment settings.
    • fix: theme “default” was rejected by the sanitizer.

    And 9 more notes.

    Source Diff vs 4.6.22
  2. 4.6.22
    • fix: add_after/add_before checkbox values were incorrectly stored as strings instead of integers since 4.6.18 (sanitize_key() instead of absint()), causing the strict 1 === comparisons to fail silently and share buttons to disappear from posts/pages. Includes a one-time migration to repair existing installations.
    Source Diff vs 4.6.21
  3. 4.6.21
    • headline/headline_zero: wp_kses() now runs after str_replace(‘%total’, …) to prevent attribute-context injection where %total inside an HTML attribute could break quote structure after the span replacement. Many thanks to Chloe from Wordfence and Muhammad Yudha to find amd fix this problem!
    • borderradius AMP branch: add missing is_numeric() check and absint() cast, consistent with the non-AMP branch, to prevent CSS injection into dynamic_css
    Source Diff vs 4.6.20
  4. 4.6.20
    • removed useless init for translationk
    • use PHP time() instead of old current_time(‘timestamp’, true) to avoid confusion with newer kinds of WP time functions
    • cleanup numbers that has been set as strings too
    • Fix: proper check auf external_host var
    • Fix: some very old migrations fit for PHP8
    Source Diff vs 4.6.19
  5. 4.6.19
    • restrikt CSS styles in shortcode attributes to superadmins as usual in WP
    • code cleanup: removed outdated admin-notices
    Source Diff vs 4.6.18
  6. 4.6.18
    • fix broken admin notice
    • add wordfence verification
    Source Diff vs 4.6.17
  7. 4.6.17
    • update BTC adress checks to work with recent schemes
    • optimize input checker
    • sanitize short code uses the same checker like admin page now
    • …and a big thank to Gemini (Google AI), which was a really helpful sparring partner. At least better than the resaecher how provided a false positive proof and did not answered on my questions
    Source Diff vs 4.6.16
  8. 4.6.16
    • tested up to WP 6.9.4
    • added check on ABSPATH because the automated Plugin Check does not understand what the check on class WP does
    • added check on BTC to avoid any input that is not a valid address
    • removed input check on flattruser because service has gone more than 2 years ago
    Source Diff vs 4.6.15
  9. 4.6.15
    • added Bluesky integration
    Source Diff vs 4.6.14
  10. 4.6.14
    • removed Reddit from the share counts because requests without API keys are blocked now
    • fix to avoid unauthenticated local file inclusion. Many thanks to haidv35
    Source Diff vs 4.6.13
  11. 4.6.13
    • cleanup code (please check the basic options menu. We changed some internal names of variables that differ from original WP namings for post/page/custom type. This should have been migrated with this update but please have a look on your ‘baisc options’.
    • fix possible XSS with the (internal) variabe ‘timestamp’ (thanks to Ngo Thien An for the hint)
    Source Diff vs 4.6.12
  12. 4.6.12
    • French translation for some service corrected (thanks to Ensam57)
    • additional security fix after code review
    Source Diff vs 4.6.11
  13. 4.6.11
    • security fix
    Source Diff vs 4.6.10
  14. 4.6.10
    • security fix (thanks to Dmitrii Ignatyev from CleanTalk inc.)
    • updated Twitter icon and text to reflect the name change to X (thanks to @gerobe)
    • updated to Facebook Graph API v19.0
    • updated to allow calls to Shariff from AJAX callbacks (thanks to @jchnkl)
    • removed deprecated service AddThis
    Source Diff vs 4.6.9
  15. 4.6.9
    • new service Mastodon (thanks to Nikita @[email protected] by providing s2f.kytta.dev)
    • updated LinkedIn share link
    Source Diff vs 4.6.7
  16. 4.6.7
    • updated to Facebook Graph API v11.0
    • changed FB request to og_object (thanks to richard67)
    Source Diff vs 4.6.6
  17. 4.6.6
    • Fix sanitize_callback parameter to avoid warnings with api requests
    • tested for 5.7
    Source Diff vs 4.6.5
  18. 4.6.5
    • updated to Facebook Graph API v6.0
    • fixed minor bug
    • tested for WordPress 5.4
    Source Diff vs 4.6.4
  19. 4.6.4
    • fixed the settings link on the plugin overview page for certain environments (thanks to @midgard)
    • updated to Facebook Graph API v5.0
    • updated the WhatsApp link to swap url and title for a working image preview
    • removed nofollow from the info button
    • removed Xing share counts due to Xing disabling the API
    Source Diff vs 4.6.3
  20. 4.6.3
    • updated the WhatsApp share link to work with all devices again (thanks to @hanshansenxxx)
    • updated to Facebook Graph API v3.3
    • updated the Flattr button to reflect the new Flattr (thanks to Chris, @camthor)
    • fixed an update issue with WP CLI
    • removed the Facebook share counts request without APP ID and Secret
    • Facebook now always requires an APP ID and Secret for share counts

    And 1 more note.

    Source Diff vs 4.6.2
  21. 4.6.2
    • new service MeWe
    • new service Buffer
    • fixed an issue in case the plugin dir has been moved via symlink
    Source Diff vs 4.6.1
  22. 4.6.1
    • replaced Stumbleupon with its successor Mix (thanks to Mark)
    • added an option to hide WhatsApp on desktop devices
    • updated Odnoklassniki API
    • fixed an issue with WPML and some older Shariff setups
    Source Diff vs 4.6.0
  23. 4.6.0
    • new high contrast theme (WCAG)
    • improved support for WPML for easier translation of headlines and info button texts
    • updated WhatsApp share link to support WhatsApp Web (thanks to Oliver, @oliverpw)
    • updated Spanish translations (thanks to Torsten, @torstenbulk)
    • updated Pinterest Share Count API
    • updated VK Share Count API

    And 6 more notes.

    Source Diff vs 4.5.3
  24. 4.5.3

    No notes for this release in the current readme.

    Source Diff vs 4.5.2
  25. 4.5.2

    No notes for this release in the current readme.

    Source Diff vs 4.5.1
  26. 4.5.1

    No notes for this release in the current readme.

    Source Diff vs 4.5.0
  27. 4.5.0

    No notes for this release in the current readme.

    Source Diff vs 4.4.4
  28. 4.4.4

    No notes for this release in the current readme.

    Source Diff vs 4.4.3
  29. 4.4.3

    No notes for this release in the current readme.

    Source Diff vs 4.4.2
  30. 4.4.2

    No notes for this release in the current readme.

    Source Diff vs 4.3.0
  31. 4.3.0

    No notes for this release in the current readme.

    Source Diff vs 4.2.1
  32. 4.2.1

    No notes for this release in the current readme.

    Source Diff vs 4.2.0
  33. 4.2.0

    No notes for this release in the current readme.

    Source Diff vs 4.1.2
  34. 4.1.2

    No notes for this release in the current readme.

    Source Diff vs 4.1.1
  35. 4.1.1

    No notes for this release in the current readme.

    Source Diff vs 4.1.0
  36. 4.1.0

    No notes for this release in the current readme.

    Source Diff vs 4.0.8
  37. 4.0.8

    No notes for this release in the current readme.

    Source Diff vs 3.4.2
  38. 3.4.2

    No notes for this release in the current readme.

    Source Diff vs 2.4.3
  39. 2.4.3

    No notes for this release in the current readme.

    Source Diff vs 1.9.9
  40. 1.9.9

    No notes for this release in the current readme.

    Source Diff vs 1.9.0
  41. 1.9.0

    No notes for this release in the current readme.

    Source Diff vs 1.0.0
  42. 1.0.0

    No notes for this release in the current readme.

    Source