Flickr Badges Widget - Version 1.2.8

Version Description

  • Fix deprecated WP_Widget for WP 4.3
Download this release

Release Info

Developer zourbuth
Plugin Icon 128x128 Flickr Badges Widget
Version 1.2.8
Comparing to
See all releases

Code changes from version 1.2.7 to 1.2.8

Files changed (3) hide show
  1. index.php +3 -3
  2. readme.txt +5 -2
  3. widget.php +2 -2
index.php CHANGED
@@ -3,12 +3,12 @@
3
  Plugin Name: Flickr Badges Widget
4
  Plugin URI: http://www.ground6.com/wordpress-plugins/flickr-badges-widget/
5
  Description: Display your Flickr latest photostream in widget area using javascript. Easy to customize, just put your Flickr id and your widget ready to lunch.
6
- Version: 1.2.7
7
  Author: zourbuth
8
  Author URI: http://zourbuth.com
9
  License: Under GPL2
10
 
11
- Copyright 2014 zourbuth (email : zourbuth@gmail.com)
12
 
13
  This program is free software; you can redistribute it and/or modify
14
  it under the terms of the GNU General Public License, version 2, as
@@ -37,7 +37,7 @@ if ( ! defined( 'ABSPATH' ) )
37
  * Set constant path to the members plugin directory
38
  * @since 1.0
39
  */
40
- define( 'FLICKR_BADGES_WIDGET_VERSION', '1.2.7' );
41
  define( 'FLICKR_BADGES_WIDGET_DIR', plugin_dir_path( __FILE__ ) );
42
  define( 'FLICKR_BADGES_WIDGET_URL', plugin_dir_url( __FILE__ ) );
43
 
3
  Plugin Name: Flickr Badges Widget
4
  Plugin URI: http://www.ground6.com/wordpress-plugins/flickr-badges-widget/
5
  Description: Display your Flickr latest photostream in widget area using javascript. Easy to customize, just put your Flickr id and your widget ready to lunch.
6
+ Version: 1.2.8
7
  Author: zourbuth
8
  Author URI: http://zourbuth.com
9
  License: Under GPL2
10
 
11
+ Copyright 2015 zourbuth (email : zourbuth@gmail.com)
12
 
13
  This program is free software; you can redistribute it and/or modify
14
  it under the terms of the GNU General Public License, version 2, as
37
  * Set constant path to the members plugin directory
38
  * @since 1.0
39
  */
40
+ define( 'FLICKR_BADGES_WIDGET_VERSION', '1.2.8' );
41
  define( 'FLICKR_BADGES_WIDGET_DIR', plugin_dir_path( __FILE__ ) );
42
  define( 'FLICKR_BADGES_WIDGET_URL', plugin_dir_url( __FILE__ ) );
43
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: zourbuth
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=W6D3WAJTVKAFC
4
  Tags: flickr, widget, badge, feed, photostream, javascript, sidebar, gallery, photo, photo gallery, photography, sidebar, user, group, image, images, recent, random, picture, image-widget
5
  Requires at least: 4.1.1
6
- Tested up to: 3.0
7
- Stable tag: 1.2.7
8
 
9
  A fast plugin toisplay your Flickr photostream in a sidebar easily without authentication.
10
 
@@ -64,6 +64,9 @@ http://www.ground6.com/wordpress-plugins/flickr-badges-widget/screenshots/
64
 
65
  == Changelog ==
66
 
 
 
 
67
  = 1.2.7 =
68
  * Added SSL parameter if being used.
69
 
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=W6D3WAJTVKAFC
4
  Tags: flickr, widget, badge, feed, photostream, javascript, sidebar, gallery, photo, photo gallery, photography, sidebar, user, group, image, images, recent, random, picture, image-widget
5
  Requires at least: 4.1.1
6
+ Tested up to: 4.3
7
+ Stable tag: 1.2.8
8
 
9
  A fast plugin toisplay your Flickr photostream in a sidebar easily without authentication.
10
 
64
 
65
  == Changelog ==
66
 
67
+ = 1.2.8 =
68
+ * Fix deprecated WP_Widget for WP 4.3
69
+
70
  = 1.2.7 =
71
  * Added SSL parameter if being used.
72
 
widget.php CHANGED
@@ -35,7 +35,7 @@ class Flickr_Badges_Widget extends WP_Widget {
35
  $widget_options = array('classname' => 'widget_flickr', 'description' => __( '[+] Displays a Flickr photo stream from an ID', $this->textdomain ) );
36
 
37
  // Create the widget
38
- $this->WP_Widget($this->prefix, __('Flickr Badge', $this->textdomain), $widget_options, $control_options );
39
 
40
  // Load additional scripts and styles file to the widget admin area
41
  add_action( 'load-widgets.php', array(&$this, 'widget_admin') );
@@ -151,7 +151,7 @@ class Flickr_Badges_Widget extends WP_Widget {
151
 
152
  if ( $copyright )
153
  echo '<a href="http://zourbuth.com/archives/500/flickr-badges-widget-free-wordpress-plugin/">
154
- <span style="font-size: 11px;"><span style="color: #0063DC; font-weight: bold;">Flick</span><span style="color: #FF0084; font-weight: bold;">r</span> Badge Widget</span>
155
  </a>';
156
 
157
  // Print the after widget
35
  $widget_options = array('classname' => 'widget_flickr', 'description' => __( '[+] Displays a Flickr photo stream from an ID', $this->textdomain ) );
36
 
37
  // Create the widget
38
+ parent::__construct( $this->prefix, __('Flickr Badge', $this->textdomain), $widget_options, $control_options );
39
 
40
  // Load additional scripts and styles file to the widget admin area
41
  add_action( 'load-widgets.php', array(&$this, 'widget_admin') );
151
 
152
  if ( $copyright )
153
  echo '<a href="http://zourbuth.com/archives/500/flickr-badges-widget-free-wordpress-plugin/">
154
+ <span style="font-size: 11px;"><span style="color: #0063DC; font-weight: bold;">Flick</span><span style="color: #FF0084; font-weight: bold;">r</span> Badges Widget</span>
155
  </a>';
156
 
157
  // Print the after widget