Code Monkey home page Code Monkey logo

wp-oembed-manager's Introduction

oEmbed Manager

version php wordpress license

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

See WordPress directory page or official website.

It helps you to:

  • allow/disallow other websites to embed your content;
  • conditionally allow/disallow the display of embedded content on your site;
  • fine tune the way oEmbed operates in the WordPress core;
  • list, clear and update/create oEmbed cached items.

To conditionally allow/disallow the display of embedded content, oEmbed Manager fully integrates with:

oEmbed Manager is part of PerfOps One, a suite of free and open source WordPress plugins dedicated to observability and operations performance.

The development of The PerfOps One plugins suite is sponsored by Hosterra - Ethical & Sustainable Internet Hosting.

oEmbed Manager is a free and open source plugin for WordPress. It integrates many other free and open source works (as-is or modified). Please, see 'about' tab in the plugin settings to see the details.

Hooks

oEmbed Manager introduces some filters and actions to allow plugin customization. Please, read the hooks reference to learn more about them.

Installation

WordPress method (recommended)

  1. From your WordPress dashboard, visit Plugins | Add New.
  2. Search for 'oEmbed Manager'.
  3. Click on the 'Install Now' button.

You can now activate oEmbed Manager from your Plugins page.

Git method

  1. Just clone the repository in your /wp-content/plugins/ directory:
cd ./wp-content/plugins
git clone https://github.com/Pierre-Lannoy/wp-oembed-manager.git oembed-manager

You can now activate oEmbed Manager from your Plugins page.

Contributions

If you find bugs, have good ideas to make this plugin better, you're welcome to submit issues or PRs in this GitHub repository.

Before submitting an issue or a pull request, please read the contribution guidelines.

โš ๏ธ The master branch is the current development state of the plugin. If you want a stable, production-ready version, please pick the last official release.

Smoke tests

WP compatibility PHP compatibility

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.