WordPress.org

Plugin Directory

Changeset 1251892


Ignore:
Timestamp:
09/23/15 09:56:44 (22 months ago)
Author:
zackdesign
Message:

update to 2.0.3

Location:
rss-image-widget
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • rss-image-widget/trunk/readme.txt

    r1172419 r1251892  
    11=== RSS Image Widget === 
    22Contributors: zackdesign 
    3 http://zackdesign.biz/ 
     3https://zackdesign.biz/ 
    44Tags: rss, image, feed, widget, simplepie, plugin 
    55Requires at least: 2.8 
    6 Tested up to: 4.2.2 
    7 Stable tag: 2.0.2 
     6Tested up to: 4.3.1 
     7Stable tag: 2.0.3 
    88 
    99This plugin provides you with a widget to display images from a feed. It requires Wordpress' SimplePie include. 
     
    1111== Description == 
    1212 
    13 New 2.0.2 release! This should be far more stable! Please let me know via zackdesign.biz if there's anything broken in your layouts as a result of moving to Bootstrap HTML. 
     13Please let me know via zackdesign.biz if there's anything broken in your layouts as a result of moving to Bootstrap HTML. 
    1414 
    1515Image Feeds will work in the plugin providing that they use enclosures. If you want you can change the template provided to suit your feed if necessary, though this should work if enclosures are used correctly. 
     
    2727 
    2828== Changelog == 
     29 
     302.0.3 
     31 
     32- Tested with WP 4.3.1 
     33- Changed to PHP5-compatible classes 
    2934 
    30352.0.2 
  • rss-image-widget/trunk/rss_image.php

    r1172419 r1251892  
    22/* 
    33Plugin Name: RSS Images 
    4 Plugin URI: http://zackdesign.biz/ 
     4Plugin URI: https://zackdesign.biz/ 
    55Description: RSS Image display using SimplePie 
    66Author: Isaac Rowntree 
    7 Version: 2.0.2 
    8 Author URI: http://zackdesign.biz 
     7Version: 2.0.3 
     8Author URI: https://zackdesign.biz 
    99 
    10     Copyright (c) 2005, 2006 Isaac Rowntree (http://zackdesign.biz) 
     10    Copyright (c) 2005, 2006 Isaac Rowntree (https://zackdesign.biz) 
    1111    QuickShop is released under the GNU General Public 
    1212    License (GPL) http://www.gnu.org/licenses/gpl.txt 
     
    2323 
    2424    /** constructor */ 
    25     function RSSImages() { 
    26         parent::WP_Widget(false, $name = 'RSS Images');  
     25    public function __construct() { 
     26        parent::__construct(false, $name = 'RSS Images');    
    2727    } 
    2828 
    2929 
    3030    /** @see WP_Widget::widget */ 
    31     function widget($args, $instance) { 
     31    public function widget($args, $instance) { 
    3232 
    3333        extract( $args ); 
     
    8888 
    8989        /** @see WP_Widget::update */ 
    90         function update($new_instance, $old_instance) {              
     90        public function update($new_instance, $old_instance) {               
    9191            return $new_instance; 
    9292        } 
    9393 
    9494        /** @see WP_Widget::form */ 
    95         function form($instance) {               
     95        public function form($instance) {                
    9696            if (isset($instance['title'])) : $title = esc_attr($instance['title']); else : $title = ''; endif; 
    9797        if (isset($instance['url'])) : $url = esc_attr($instance['url']); endif; 
     
    119119  class RSSImagesMain { 
    120120   
    121     function RSSImagesMain() { 
     121    public function __construct() { 
    122122        add_action('init', array($this, 'doEnqueue')); 
    123123        add_action('widgets_init', create_function('', 'return register_widget("RSSImages");')); // register RSSImages widget 
    124124    } 
    125125 
    126     function doEnqueue() { 
     126    public function doEnqueue() { 
    127127       add_action('wp_enqueue_scripts', array($this, 'shadowBoxScript')); 
    128128    } 
    129129 
    130     function shadowBoxScript() { 
     130    public function shadowBoxScript() { 
    131131        if (!is_admin()) { 
    132           wp_enqueue_script('lightbox', 'https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.7.1/js/lightbox.min.js', array('jquery'), '2.7.1', true); 
    133           wp_enqueue_style('lightbox', 'https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.7.1/css/lightbox.css'); 
     132          wp_enqueue_script('lightbox', 'https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.8.1/js/lightbox.min.js', array('jquery'), '2.8.1', true); 
     133          wp_enqueue_style('lightbox', 'https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.8.1/css/lightbox.css'); 
    134134        } 
    135135    } 
Note: See TracChangeset for help on using the changeset viewer.