From c43865a988331c87f3e57d9424cb2dcf861b09a9 Mon Sep 17 00:00:00 2001 From: Bernie Reiter Date: Wed, 30 Sep 2020 09:08:23 +0200 Subject: [PATCH] Shortcodes: Enable FB and IG embed whenever connected (#17301) --- modules/module-extras.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/module-extras.php b/modules/module-extras.php index fcc2c8a32e1d4..18e5b0184e89d 100644 --- a/modules/module-extras.php +++ b/modules/module-extras.php @@ -19,7 +19,9 @@ 'custom-post-types/nova.php', 'geo-location.php', // Those oEmbed providers are always available. + 'shortcodes/facebook.php', 'shortcodes/others.php', + // Theme Tools. 'theme-tools.php', 'theme-tools/social-links.php', 'theme-tools/random-redirect.php', @@ -49,6 +51,10 @@ 'simple-payments/simple-payments.php', 'wpcom-block-editor/class-jetpack-wpcom-block-editor.php', 'wpcom-tos/wpcom-tos.php', + // These oEmbed providers are available when connected to WordPress.com. + // Starting from 2020-10-24, they need an authentication token, and that token is stored on WordPress.com. + // More information: https://developers.facebook.com/docs/instagram/oembed/. + 'shortcodes/instagram.php', ); // Add connected features to our existing list if the site is currently connected.