Skip to content

Latest commit

 

History

History
172 lines (111 loc) · 6.44 KB

File metadata and controls

172 lines (111 loc) · 6.44 KB

Changelog

[2.0.6] - 2026-08-27

Added

  • Web-based share dialogs (Facebook, X/Twitter, Pinterest) now open in a small centred popup window instead of a full new tab, via includes/lsx-sharing-popup.js (enqueued on wp_enqueue_scripts, no build step needed - plain vanilla JS). Mail and WhatsApp are excluded, since mailto: has no dialog to pop and WhatsApp's web intent works better as a normal navigation on mobile. Anchors get a lsx-sharing-popup class server-side (Sharing::POPUP_SERVICES); with JS disabled the link still works as a normal new-tab link (progressive enhancement).

[2.0.5] - 2026-08-27

Fixed

  • Facebook, twitter and x block variations passed a t=/text= title parameter duplicating the page title that the unfurled link card (sourced from Open Graph/Twitter Card tags) already shows. Per developers.facebook.com/docs/sharing/reference/share-dialog, the documented Facebook endpoint takes only u - no title/quote parameter is documented, and Facebook ignores t= in practice. Also switched to the documented /sharer/sharer.php path (was /sharer.php, which still works via redirect but does not match the reference). Per docs.x.com/x-for-websites/post-button/guides/web-intent, text on X is for optional commentary above the link, not a restatement of the title - dropped it too.

[2.0.4] - 2026-08-27

Fixed

  • Both the x and legacy twitter block variations pointed their share URL at twitter.com. Per X's current developer documentation (docs.x.com/x-for-websites/post-button/guides/web-intent), the documented web intent base URL is https://x.com/intent/tweet — updated both variations and rebuilt build/blocks.js. Also added the missing classnames devDependency, without which the block build failed outright.

[2.0.3] - 2026-08-27

Fixed

  • Sharing::replace_variables() did not URL-encode lsx_sharing_title before substituting it into a share URL query string (only lsx_sharing_url was encoded) - a title containing &, #, % or other reserved characters would corrupt the resulting Facebook/X/WhatsApp/Pinterest share URL. Now urlencode()d to match the existing lsx_sharing_url handling.

[2.0.2] - 2026-08-27

Added

  • X (formerly Twitter) sharing icon and block variation, finishing the JS-only work started on the never-merged update/twitter-to-x branch by adding the matching server-side icon so lsx/lsx-sharing-link blocks with service: "x" render correctly.

[2.0.1] - 2023-08-09

Security

  • General testing to ensure compatibility with latest WordPress version (6.3).

[2.0.0] - 2023-06-01

NOTICE

  • The plugin was rewritten to utilise the Site Editor available.
  • 4 sharing blocks have been added to the core Social Links block.
  • WhatsApp, Twitter, Facebook and Pinterest

Security

  • General testing to ensure compatibility with latest WordPress version (6.2.2).

[1.2.5] - 2023-04-20

Security

  • General testing to ensure compatibility with latest WordPress version (6.2).

[1.2.4] - 2022-12-22

Security

  • General testing to ensure compatibility with latest WordPress version (6.1.1).

[1.2.3] - 2022-09-12

Added

  • Added support for sharing to Whatsapp.
  • Added in a lsx_sharing_additional_buttons filter to allow 3rd party plugins to add additional buttons to the modal.

[1.2.2] - 2022-05-26

Security

  • General testing to ensure compatibility with latest WordPress version (6.0).

[1.2.1] - 2021-01-15

Updated

  • Documentation and support links.

Security

  • General testing to ensure compatibility with latest WordPress version (5.6).

[1.2.0] - 2020-11-09

Added

  • You now have the ability to disable the sharing per post type.
  • Disable each service per post type.
  • Set a sharing label per post type.

Updated

  • Updated the settings page to CMB2.
  • Updated the PHP classes to use get_instance functions.

Security

  • Updating dependencies to prevent vulnerabilities.
  • Updating PHPCS options for better code.
  • General testing to ensure compatibility with latest WordPress version (5.5).
  • General testing to ensure compatibility with latest LSX Theme version (2.9).

[1.1.3] - 2020-03-30

Added

  • The js and css assets front end assets for this plugin will only load in each post type if the sharing option is enabled for the post type.

Security

  • General testing to ensure compatibility with latest WordPress version (5.4).
  • General testing to ensure compatibility with latest LSX Theme version (2.7).

[1.1.2] - 2019-09-27

Added

  • Adding the .gitattributes file to remove unnecessary files from the WordPress version.

Fixed

  • Changing the wp_enqueue_script priority.
  • Removing gulp-minify-css and updating gulpfile to 4.0+.

[1.1.1] - 2019-06-20

Fixed

  • Updated the uix-core.js to remove the Cyclic error when saving the theme options.

Added

  • Added in 3 filters for the button permalinks lsx_sharing_{social_media_name}_url.
  • Allowing the Sharing buttons to be sent a post_id for output.

Added

  • Added compatibility with LSX Videos.
  • Added compatibility with LSX Search.

Added

  • Add template hook for Storefront.
  • Add template hook for WooCommerce.

Added

  • LSX Sharing styles moved from LSX to LSX Sharing plugin.

Added

  • First Version