WordPress.org

Plugin Directory

Changeset 1381283


Ignore:
Timestamp:
03/29/16 18:05:41 (17 months ago)
Author:
fernandobt
Message:

Version 0.68

Location:
list-category-posts/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • list-category-posts/trunk/include/lcp-catlist.php

    r1299268 r1381283  
    118118      return array('category__and' => $this->lcp_category_id); 
    119119    } else { 
    120       if($this->utils->lcp_not_empty('child_categories') && ($this->params['child_categories'] === ('no' || 'false') )){ 
     120      if($this->utils->lcp_not_empty('child_categories') &&  
     121         (($this->params['child_categories'] === 'no' ) || 
     122          ($this->params['child_categories'] === 'false') )){ 
    121123        return array('category__in'=> $this->lcp_category_id); 
    122124      } 
  • list-category-posts/trunk/include/lcp-thumbnail.php

    r1296434 r1381283  
    6161            $lcp_thumbnail .= 'class="lcp_thumbnail" '; 
    6262          } 
    63           $lcp_thumbnail .= ' /></a>'; 
     63          $lcp_thumbnail .= ' alt="' . esc_attr($single->post_title) . '" /></a>'; 
    6464        } 
    6565      } 
  • list-category-posts/trunk/list-category-posts.php

    r1299268 r1381283  
    44  Plugin URI: https://github.com/picandocodigo/List-Category-Posts 
    55  Description: List Category Posts allows you to list posts by category in a post/page using the [catlist] shortcode. This shortcode accepts a category name or id, the order in which you want the posts to display, the number of posts to display and many more parameters. You can use [catlist] as many times as needed with different arguments. Usage: [catlist argument1=value1 argument2=value2]. 
    6   Version: 0.67.1 
     6  Version: 0.68 
    77  Author: Fernando Briano 
    88  Author URI: http://fernandobriano.com 
     
    1111  Domain Path:   /languages/ 
    1212 
    13   Copyright 2008-2015  Fernando Briano  (email : fernando@picandocodigo.net) 
     13  Copyright 2008-2016  Fernando Briano  (email : fernando@picandocodigo.net) 
    1414 
    1515  This program is free software; you can redistribute it and/or modify 
     
    166166add_filter( 'plugin_row_meta', 'lpc_meta', 10, 2 ); 
    167167 
     168//adds a default value to numberposts on plugin activation 
     169function set_default_numberposts() { 
     170    add_option('numberposts', 10); 
     171} 
     172register_activation_hook( __FILE__, 'set_default_numberposts' ); 
     173 
    168174function load_i18n(){ 
    169175  load_plugin_textdomain( 'list-category-posts', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); 
  • list-category-posts/trunk/readme.txt

    r1299268 r1381283  
    44Tags: list, categories, posts, cms 
    55Requires at least: 3.3 
    6 Tested up to: 4.3.1 
    7 Stable tag: 0.67.1 
     6Tested up to: 4.4.2 
     7Stable tag: 0.68 
    88License: GPLv2 or later 
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    533533== Changelog == 
    534534 
     535= 0.68 = 
     536Thanks @mmatthews1981, @ottadvantage and @mhoeher for their contributions on this version: 
     537* Adds Alt Tag to thumbnail 
     538* Handle child_categories flag correctly - https://github.com/picandocodigo/List-Category-Posts/pull/185 
     539* Adds a default value to numberposts on plugin activation - https://github.com/picandocodigo/List-Category-Posts/pull/193 
     540 
     541 
    535542= 0.67.1 = 
    536543* Bugfix release, this should fix the issues with Parent Categories listings. 
Note: See TracChangeset for help on using the changeset viewer.