Instagram Widget by WPZOOM - Version 1.8.2

Version Description

  • Fixed compatibility with upcoming WordPress 5.8
  • Fixed a bug with Beaver Builder
Download this release

Release Info

Developer WPZOOM
Plugin Icon 128x128 Instagram Widget by WPZOOM
Version 1.8.2
Comparing to
See all releases

Code changes from version 1.8.1 to 1.8.2

class-wpzoom-instagram-widget.php CHANGED
@@ -45,8 +45,6 @@ class Wpzoom_Instagram_Widget extends WP_Widget {
45
  'username' => '',
46
  );
47
 
48
- $this->api = Wpzoom_Instagram_Widget_API::getInstance();
49
-
50
  add_action( 'wp_enqueue_scripts', array( $this, 'styles' ) );
51
  add_action( 'wp_enqueue_scripts', array( $this, 'register_scripts' ) );
52
 
@@ -124,6 +122,9 @@ class Wpzoom_Instagram_Widget extends WP_Widget {
124
  * @param array $instance Saved values from database.
125
  */
126
  public function widget( $args, $instance ) {
 
 
 
127
  $this->enqueue_scripts();
128
 
129
  $instance = wp_parse_args( (array) $instance, $this->defaults );
@@ -464,6 +465,9 @@ class Wpzoom_Instagram_Widget extends WP_Widget {
464
  * @return string|void
465
  */
466
  public function form( $instance ) {
 
 
 
467
  $instance = wp_parse_args( (array) $instance, $this->defaults );
468
  ?>
469
 
@@ -473,7 +477,7 @@ class Wpzoom_Instagram_Widget extends WP_Widget {
473
  <?php
474
  printf(
475
  __( 'You need to configure <a href="%1$s">plugin settings</a> before using this widget.', 'instagram-widget-by-wpzoom' ),
476
- menu_page_url( 'wpzoom-instagram-widget', false )
477
  );
478
  ?>
479
  </p>
@@ -560,7 +564,7 @@ class Wpzoom_Instagram_Widget extends WP_Widget {
560
  <?php
561
  printf(
562
  __( 'If you have already connected your Instagram account in the <a href="%1$s">plugin settings</a>, leave this field empty. You can use this option if you want to display the feed of a different Instagram account.', 'instagram-widget-by-wpzoom' ),
563
- menu_page_url( 'wpzoom-instagram-widget', false )
564
  );
565
  ?>
566
 
45
  'username' => '',
46
  );
47
 
 
 
48
  add_action( 'wp_enqueue_scripts', array( $this, 'styles' ) );
49
  add_action( 'wp_enqueue_scripts', array( $this, 'register_scripts' ) );
50
 
122
  * @param array $instance Saved values from database.
123
  */
124
  public function widget( $args, $instance ) {
125
+
126
+ $this->api = Wpzoom_Instagram_Widget_API::getInstance();
127
+
128
  $this->enqueue_scripts();
129
 
130
  $instance = wp_parse_args( (array) $instance, $this->defaults );
465
  * @return string|void
466
  */
467
  public function form( $instance ) {
468
+
469
+ $this->api = Wpzoom_Instagram_Widget_API::getInstance();
470
+
471
  $instance = wp_parse_args( (array) $instance, $this->defaults );
472
  ?>
473
 
477
  <?php
478
  printf(
479
  __( 'You need to configure <a href="%1$s">plugin settings</a> before using this widget.', 'instagram-widget-by-wpzoom' ),
480
+ admin_url( 'options-general.php?page=wpzoom-instagram-widget' )
481
  );
482
  ?>
483
  </p>
564
  <?php
565
  printf(
566
  __( 'If you have already connected your Instagram account in the <a href="%1$s">plugin settings</a>, leave this field empty. You can use this option if you want to display the feed of a different Instagram account.', 'instagram-widget-by-wpzoom' ),
567
+ admin_url( 'options-general.php?page=wpzoom-instagram-widget' )
568
  );
569
  ?>
570
 
instagram-widget-by-wpzoom.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WPZOOM Instagram Widget
4
  * Plugin URI: https://www.wpzoom.com/plugins/instagram-widget/
5
  * Description: Simple and lightweight widget for WordPress to display your Instagram feed
6
- * Version: 1.8.1
7
  * Author: WPZOOM
8
  * Author URI: https://www.wpzoom.com/
9
  * Text Domain: instagram-widget-by-wpzoom
@@ -19,7 +19,7 @@ if ( ! defined( 'ABSPATH' ) ) {
19
  }
20
 
21
  if ( ! defined( 'WPZOOM_INSTAGRAM_VERSION' ) ) {
22
- define( 'WPZOOM_INSTAGRAM_VERSION', '1.8.1' );
23
  }
24
 
25
  require_once plugin_dir_path( __FILE__ ) . 'class-wpzoom-instagram-image-uploader.php';
3
  * Plugin Name: WPZOOM Instagram Widget
4
  * Plugin URI: https://www.wpzoom.com/plugins/instagram-widget/
5
  * Description: Simple and lightweight widget for WordPress to display your Instagram feed
6
+ * Version: 1.8.2
7
  * Author: WPZOOM
8
  * Author URI: https://www.wpzoom.com/
9
  * Text Domain: instagram-widget-by-wpzoom
19
  }
20
 
21
  if ( ! defined( 'WPZOOM_INSTAGRAM_VERSION' ) ) {
22
+ define( 'WPZOOM_INSTAGRAM_VERSION', '1.8.2' );
23
  }
24
 
25
  require_once plugin_dir_path( __FILE__ ) . 'class-wpzoom-instagram-image-uploader.php';
readme.txt CHANGED
@@ -67,6 +67,10 @@ Make sure to connect your Instagram account with the plugin. You can do that in
67
 
68
  == Changelog ==
69
 
 
 
 
 
70
  = 1.8.1 =
71
  * Fixed a minor bug for PHP 8.0
72
 
67
 
68
  == Changelog ==
69
 
70
+ = 1.8.2 =
71
+ * Fixed compatibility with upcoming WordPress 5.8
72
+ * Fixed a bug with Beaver Builder
73
+
74
  = 1.8.1 =
75
  * Fixed a minor bug for PHP 8.0
76