WordPress.org

Plugin Directory

Changeset 1685034


Ignore:
Timestamp:
06/25/17 11:35:39 (3 months ago)
Author:
slimndap
Message:

0.15.28

Location:
theatre/tags/0.15
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • theatre/tags/0.15/functions/wpt_listing_page.php

    r1611802 r1685034  
    892892         * @since   0.8 
    893893         * @since   0.15.8  Fixed a typo in the closing <ul>. 
     894         * @since   0.15.28 Use the new Theater_Transient class. 
     895         * 
     896         * @uses    Theater_Transient() to store the widget output in a transient. 
     897         * 
    894898         * @param   mixed   $args 
    895899         * @param   mixed   $instance 
     
    909913            ); 
    910914             
    911             if ( ! ( $html = $wp_theatre->transient->get('cat', $cat_args) ) ) { 
     915            $transient = new Theater_Transient( 'cat', $cat_args ); 
     916             
     917            if ( ! ( $html = $transient->get() ) ) { 
     918     
    912919                $categories = $wp_theatre->events->get_categories($cat_args); 
    913920                 
     
    924931                $html = '<ul class="wpt_categories">'.$html.'</ul>'; 
    925932 
    926                 $wp_theatre->transient->set('cat', array(), $html); 
     933                $transient->set( $html ); 
     934                 
    927935            } 
    928936 
  • theatre/tags/0.15/readme.txt

    r1675918 r1685034  
    248248== Upgrade Notice == 
    249249 
     250= 0.15.28 = 
     251Fixes a problem with the Categories widget that was introduced in a previous update. 
     252 
    250253= 0.15.27 = 
    251254Added a new `{{tags}}` placeholder for events. 
  • theatre/tags/0.15/theater.php

    r1675918 r1685034  
    66    Description: Turn your Wordpress website into a theater website. 
    77    Author: Jeroen Schmit 
    8     Version: 0.15.27 
     8    Version: 0.15.28 
    99    Author URI: http://slimndap.com/ 
    1010    Text Domain: theatre 
     
    2929if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 
    3030     
    31 $wpt_version = '0.15.27'; 
     31$wpt_version = '0.15.28'; 
    3232 
    3333class WP_Theatre { 
Note: See TracChangeset for help on using the changeset viewer.