Plugin Directory

Changeset 497240


Ignore:
Timestamp:
01/30/2012 08:58:35 AM (14 years ago)
Author:
plista
Message:

fix warning for articles without tags

Location:
plista/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plista/trunk/plista_integration.php

    r496122 r497240  
    44    Plugin URI: http://www.plista.com
    55    Description: Plugin for displaying plista RecommendationAds
    6     Version: 1.3.3
     6    Version: 1.3.4
    77    Author: msch (wordpress@plista.com)
    88    Author URI: http://www.plista.com
     
    1111class plista {
    1212
    13     const VERSION = '1.3.3';
     13    const VERSION = '1.3.4';
    1414
    1515    /**
     
    257257        $tag_ID = array();
    258258        $post_tags = get_the_tags();
    259         if (isset($post_tags)) {
     259        if (isset($post_tags) && is_array($post_tags)) {
    260260            foreach($post_tags as $tag) {
    261261                array_push($tag_ID,$tag->term_id);
  • plista/trunk/readme.txt

    r496122 r497240  
    66Requires at least: 2.5.0
    77Tested up to: 3.3.1
    8 Stable tag: 1.3.3
     8Stable tag: 1.3.4
    99
    1010The plista Widget adds plista RecommendationAds to your Wordpress blog posts.
     
    6262== Upgrade Notice ==
    6363
    64 none
     64Please upgrade to Version 1.3.4
    6565
    6666== Screenshots ==
     
    106106    * added possibility to exclude tags
    107107
     1081.3.4 @ 01-30-2012
     109    * fix warning if no tags are available
     110
Note: See TracChangeset for help on using the changeset viewer.