Plugin Directory

Changeset 1067755


Ignore:
Timestamp:
01/14/2015 09:25:17 AM (11 years ago)
Author:
bortpress
Message:

0.4.0.6b

  • Fixed a bug with custom post types
  • Cactus Masonry now broadcasts the number of posts found to help with external pagination
Location:
masonry-post-gallery
Files:
30 added
2 edited

Legend:

Unmodified
Added
Removed
  • masonry-post-gallery/trunk/masonry-post-gallery.php

    r1065147 r1067755  
    22/**
    33 * @package Cactus Masonry
    4  * @version 0.4.0.5b
     4 * @version 0.4.0.6b
    55 */
    66/*
     
    88 * Plugin URI: http://cactuscomputers.com.au/masonry
    99 * Description: A highly customizable masonry styled gallery of post thumbnails.  Please refer to the <a href="http://cactuscomputers.com.au/masonry">plugin Home Page</a> for detailed instructions.
    10  * Version: 0.4.0.5b
     10 * Version: 0.4.0.6b
    1111 * Author: N. E - Cactus Computers
    1212 * Author URI: http://www.cactuscomputers.com.au/masonry
     
    3737{   
    3838    private static $id = "CM_GALLERY_";
    39     private static $CM_version = "0.4.0.5b";
     39    private static $CM_version = "0.4.0.6b";
    4040    private static $a = null;
    4141    private static $post_count = 0;
     
    211211        if(self::$a['show_posts']) array_push($post_type, 'post');
    212212        //Set up custom post types
    213         echo self::$a['custom_post_types'];
    214213        $args = array(  'posts_per_page' => -1,
    215214                        'offset' => 0,
     
    232231            }   
    233232        }
     233        //Broadcast post count
     234        global $GLOBALS;
     235        $GLOBALS['cactus_masonry_post_count'] = self::$post_count;
    234236        $output .= self::$noscript_text . "
    235237            </noscript>
  • masonry-post-gallery/trunk/readme.txt

    r1065147 r1067755  
    55Requires at least: 3.9.1
    66Tested up to: 4.1
    7 Stable tag: 0.4.0.5b
     7Stable tag: 0.4.0.6b
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6363
    6464== Changelog ==
     65
     66= 0.4.0.6b =
     67* Fixed a bug with custom post types
     68* Cactus Masonry now broadcasts the number of posts found to help with external pagination
    6569
    6670= 0.4.0.5b =
     
    272276== Upgrade Notice ==
    273277
     278= 0.4.0.6b =
     279Fixed a bug with the custom_post_types parameter - thanks Bjørn for bringing this to my attention.  Added a global variable to help with external pagination.
     280
    274281= 0.4.0.5b =
    275282WARNING: The 0.4 updates change the #masonry_post_gallery to div.masonry_post_gallery which could affect your custom CSS.  Fixed encoding to UTF8 without BOM.
Note: See TracChangeset for help on using the changeset viewer.