Plugin Directory

Changeset 1581889


Ignore:
Timestamp:
01/25/2017 01:20:59 PM (9 years ago)
Author:
plista
Message:

Fix undefined variable imgsrc

Location:
plista/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plista/trunk/plista_integration.php

    r1578030 r1581889  
    44    Plugin URI: http://www.plista.com
    55    Description: Plugin for displaying plista RecommendationAds
    6     Version: 1.5.4
     6    Version: 1.5.5
    77    Author: wordpress@plista.com
    88    Author URI: http://www.plista.com
     
    1111class plista {
    1212
    13     const VERSION = '1.5.4';
     13    const VERSION = '1.5.5';
    1414
    1515    /**
     
    8989    public static function plista_admin_actions() {
    9090        if( current_user_can('level_10')) {
    91             wp_enqueue_script( 'plista-admin', plugins_url('/js/plista-admin.js', __FILE__), array(), '1.5.4' );
    92             wp_enqueue_style( 'plista-admin', plugins_url('/css/plista-admin.css', __FILE__), array(), '1.5.4' );
     91            wp_enqueue_script( 'plista-admin', plugins_url('/js/plista-admin.js', __FILE__), array(), '1.5.5' );
     92            wp_enqueue_style( 'plista-admin', plugins_url('/css/plista-admin.css', __FILE__), array(), '1.5.5' );
    9393            add_options_page('plista', 'plista', 1, 'plista', array(__CLASS__, 'plista_admin'));
    9494        }
     
    432432            $imagesize = 'medium';
    433433        }
    434        
     434
     435        $imgsrc = null;
    435436        // first try to get the article thumbnail image
    436437        if ( function_exists('has_post_thumbnail') && has_post_thumbnail($id) ) {
     
    508509
    509510    if ($shorttag != 'checked="checked"') {
    510         return;
     511        return '';
    511512    }
    512513
  • plista/trunk/readme.txt

    r1578030 r1581889  
    55Text Domain: plista
    66Requires at least: 3.0.0
    7 Tested up to: 4.4.1
    8 Stable tag: 1.5.4
     7Tested up to: 4.7.1
     8Stable tag: 1.5.5
    99
    1010The plista Widget adds plista RecommendationAds to your Wordpress blog posts.
     
    6565== Upgrade Notice ==
    6666
    67 Please upgrade to Version 1.5.4
     67Please upgrade to Version 1.5.5
    6868
    6969== Screenshots ==
     
    1451451.5.4 @ 19-01-2017
    146146    * Make all plista plugin functions static
     147
     1481.5.5 @ 25-01-2017
     149    * Fix undefined variable imgsrc
Note: See TracChangeset for help on using the changeset viewer.