# Changelog

## 1.4.2
* Fixed an expired link during plugin activation and creating a new embed provider

## 1.4.1
* Fixed invalid HTML by changing the accessibility behavior (it's now a separate button)
* Fixed potential empty link titles in other locales then English
* Fixed potential unwanted URL encoding in the content after Embed Privacy replaced an embed

## 1.4.0
* Added support for Pinterest and Wolfram Cloud
* Improved migrations to fix duplicate providers or performance problems in multisite installations
* Embeds can now be enabled via keyboard
* Added a link to the original content on the bottom right overlay corner
* Added support for caching the opt-out shortcode
* Clicking on the "always enable content of X" enables all embeds of this provider on the current page immediately
* Improved markup of local tweets
* Added additional class to checkbox paragraph, thanks to @florianbrinkmann
* Correctly handle backslashes in the regex field
* System providers cannot be deleted anymore
* Fixed oEmbed provider name if the provider is unknown
* Fix enqueuing assets for unknown embed providers

## 1.3.6
* Fixed enabling multiple YouTube videos in Elementor
* Fixed displaying content if the page contains an always active provider

## 1.3.5
* Fixed functionality in Elementor
* Fixed custom embed provider output
* Fixed replacing content in shortcodes multiple times
* Fixed checking for theme/template

## 1.3.4
* Fixed deleted meta fields if you put an embed provider in trash and restore it afterwards
* Fixed Embed Privacy sometimes trying to replace an embed twice
* Fixed an error that may occur if Embed Privacy tries to replace an embed that doesn't need to be replaced
* Fixed checking for local domain if WordPress itself is located in a sub-domain
* Fixed always enable YouTube within Divi
* Fixed overlay line height in Divi

## 1.3.3
* Improved mobile design for responsive embeds
* Fixed centering for non-responsive embeds
* Fixed disabled embed content from preventing interactions with the text below the overlay

## 1.3.2
* Fixed general activation error

## 1.3.1
* Fixed a fatal error on uninstallation on non-multisite
* Fixed activating via WP-CLI
* Fixed deleting an option on uninstallation

## 1.3.0
* Added local tweets without overlay
* Added option to preserve data on uninstall
* Added compatibility with theme Astra
* Added filter `embed_privacy_markup` for filtering the whole markup of an embed overlay
* Added proper support for embeds on the current domain
* Added support for embeds on other elements than `embed`, `iframe` and `object`
* Enqueue assets only if needed
* Removed images from media (which had been added in version 1.2.0) and use fallback images for default embed providers
* Improved regular expression for Google Maps
* Improved texts for clarity
* Fixed visibility of custom post type
* Fixed network-wide activation
* Fixed clearing oEmbed cache

## 1.2.2
* Added a check if a migration is already running
* Fixed a bug where the page markup could be changed unexpectedly
* `<object>` elements are now replaced correctly
* Added a missing textdomain to a string
* Excluded local embeds (with the same domain)
* Fixed Amazon Kindle regex being too greedy

## 1.2.1
* Fixed a bug where the page markup could be changed unexpectedly
* Fixed a warning if an embed provider has no regular expressions
* Improved migrations of embed provider metadata to make sure they have been added to the database

## 1.2.0
* Added support for managing embeds (add/remove/edit/disable)
* Added support for caching plugins by adding a JavaScript detection for always active embed providers
* Added CSS classes that indicate the current state of the embed (`is-disabled`/`is-enabled`)
* Added shortcode `[embed_privacy_opt_out]` to allow users to opt-out/in
* Fixed responsive design if the embed added an own width

## 1.1.3
* Changed provider name from Polldaddy to Crowdsignal
* Removed provider Hulu

## 1.1.2
* Fixed a possible difference in the used class name of the embed provider in HTML and CSS

## 1.1.1
* Removed provider CollegeHumor
* Fixed a bug with the automatic addition of paragraphs

## 1.1.0
* Added option to allow all embeds by one provider
* Added provider TikTok, introduced in WordPress 5.4
* Added support for Google Maps iframes
* Added URL rewrite to youtube-nocookie.com
* Added option to save user selection per embed provider
* Added provider logo to our placeholder
* Added option to filter our placeholders markup
* Added support for 'alignwide' and 'alignfull' Gutenberg classes
* Added support for using our embedding overlay mechanism for external developers
* Improved our placeholder markup to be actually semantic
* Changed .embed- classes to .embed-privacy-
* Fixed some embed providers that use custom z-index, which results in the embedded content being above the overlay
* Fixed typos

## 1.0.2
* Improved compatibility with [Autoptimize](https://wordpress.org/plugins/autoptimize/)
* Improved compatibility with [AMP](https://wordpress.org/plugins/amp/)
* Fix issue with Slideshare causing wrong (generic) placeholders

## 1.0.1
* Fixed support for PHP 5.6

## 1.0.0
* Initial release
