EmbedPress – Embed Google Docs, YouTube, Maps, Vimeo, Wistia Videos & Upload PDF, PPT in Gutenberg & Elementor - Version 2.1.6

Version Description

Download this release

Release Info

Developer andergmartins
Plugin Icon wp plugin EmbedPress – Embed Google Docs, YouTube, Maps, Vimeo, Wistia Videos & Upload PDF, PPT in Gutenberg & Elementor
Version 2.1.6
Comparing to
See all releases

Code changes from version 2.1.5 to 2.1.6

Files changed (3) hide show
  1. embedpress.php +7 -3
  2. includes.php +1 -1
  3. readme.txt +1 -1
embedpress.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: WordPress supports around 35 embed sources, but PublishPress Embeds adds over 40 more, including Facebook, Google Maps, Google Docs, UStream! Just use the URL!
6
  * Author: EmbedPress
7
  * Author URI: http://embedpress.com
8
- * Version: 2.1.5
9
  * Text Domain: embedpress
10
  * Domain Path: /languages
11
  *
@@ -24,6 +24,8 @@ use \EmbedPress\Core;
24
 
25
  require_once plugin_dir_path(__FILE__) .'includes.php';
26
 
 
 
27
  (defined('ABSPATH') && defined('EMBEDPRESS_IS_LOADED')) or die("No direct script access allowed.");
28
 
29
  function onPluginActivationCallback()
@@ -39,5 +41,7 @@ function onPluginDeactivationCallback()
39
  register_activation_hook(__FILE__, 'onPluginActivationCallback');
40
  register_deactivation_hook(__FILE__, 'onPluginDeactivationCallback');
41
 
42
- $embedPressPlugin = new Core();
43
- $embedPressPlugin->initialize();
 
 
5
  * Description: WordPress supports around 35 embed sources, but PublishPress Embeds adds over 40 more, including Facebook, Google Maps, Google Docs, UStream! Just use the URL!
6
  * Author: EmbedPress
7
  * Author URI: http://embedpress.com
8
+ * Version: 2.1.6
9
  * Text Domain: embedpress
10
  * Domain Path: /languages
11
  *
24
 
25
  require_once plugin_dir_path(__FILE__) .'includes.php';
26
 
27
+ include_once ABSPATH.'wp-admin/includes/plugin.php';
28
+
29
  (defined('ABSPATH') && defined('EMBEDPRESS_IS_LOADED')) or die("No direct script access allowed.");
30
 
31
  function onPluginActivationCallback()
41
  register_activation_hook(__FILE__, 'onPluginActivationCallback');
42
  register_deactivation_hook(__FILE__, 'onPluginDeactivationCallback');
43
 
44
+ if (!is_plugin_active('gutenberg/gutenberg.php')) {
45
+ $embedPressPlugin = new Core();
46
+ $embedPressPlugin->initialize();
47
+ }
includes.php CHANGED
@@ -21,7 +21,7 @@ if (!defined('EMBEDPRESS_PLG_NAME')) {
21
  }
22
 
23
  if (!defined('EMBEDPRESS_PLG_VERSION')) {
24
- define('EMBEDPRESS_PLG_VERSION', "2.1.5");
25
  }
26
 
27
  if (!defined('EMBEDPRESS_ROOT')) {
21
  }
22
 
23
  if (!defined('EMBEDPRESS_PLG_VERSION')) {
24
+ define('EMBEDPRESS_PLG_VERSION', "2.1.6");
25
  }
26
 
27
  if (!defined('EMBEDPRESS_ROOT')) {
readme.txt CHANGED
@@ -5,7 +5,7 @@ Author URI: https://embedpress.com
5
  Tags: YouTube, Google, Facebook, Wistia, Vimeo
6
  Requires at least: 4.6
7
  Tested up to: 4.9.4
8
- Stable tag: 2.1.5
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
5
  Tags: YouTube, Google, Facebook, Wistia, Vimeo
6
  Requires at least: 4.6
7
  Tested up to: 4.9.4
8
+ Stable tag: 2.1.6
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11