epiphyt / embed-privacy

Embed Privacy prevents loading of embedded external content and allows your site visitors to opt-in.
https://epiph.yt/en/embed-privacy/
GNU General Public License v2.0
19 stars 12 forks source link

Use provider object instead of embed post in style system #241

Open MatzeKitt opened 1 month ago

MatzeKitt commented 1 month ago

What feature are you requesting?

Currently, the post object of an embed provider is used in the style system. However, this is discouraged. Thus, replace it with the provider object and deprecate adding the second parameter for both the Style and Asset classes.

Why is this feature necessary?

Improved plugin stability through only working with the Provider object instead of the post objects.

Are you expecing side-effects?

No response

Code of Conduct