Giter Site home page Giter Site logo

pierre-lannoy / wp-oembed-manager Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 2.0 1.25 MB

A WordPress plugin to manage oEmbed capabilities of your website and to take a new step in the GDPR compliance of your embedded content.

Home Page: https://perfops.one/

License: GNU General Public License v3.0

PHP 96.84% CSS 3.02% JavaScript 0.14%
donottrack gdpr oembed privacy wordpress wordpress-plugin

wp-oembed-manager's People

Contributors

pierre-lannoy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

wprobot fancsali

wp-oembed-manager's Issues

GDPR integration: Enabling exception rules with emtpy 'item to check' causes 500

Describe the bug
If using together with the 'GDPR' plugin, I can enable an 'Exception Rule' for 'Consent Management' or 'Cookie Management', but I can leave the 'Item to check' empty... which in turn causes an issue, because it would make GDPR call a function with null argument.

To Reproduce
Steps to reproduce the behavior:

  1. Create a page with an embedded YouTube video using the OOTB embeding feature in WP.
  2. Install 'oEmbed Manager'
  3. Install 'GDPR'
  4. Go to the admin, and enable 'Cookie managemen' under 'Exception Rules', but leave the 'consent ID' field blank.
  5. Try to open a page, and check, whether the YouTube embed is blocked.
  6. Observer the page is broken; check the server logs, and see a 500 error, complaining about the is_allowed_cookie() being called without arguments instead of at least 1.

Expected behavior
The page opens, and fails gracefully. But actually, and more preferably the admin interface not letting me save the config, that doesn't make sense.

Environment (please complete the following information):

  • PHP version: 7.3.27
  • WordPress version and flavour 5.7.2
  • Plugin versions: GDPR (by Trew Knowledge) 2.1.2 and oEmbed Manager 2.4.0
  • Other info: Running on Debian 10.10 (buster)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.