WordPress.org

Plugin Directory

Changeset 1665865


Ignore:
Timestamp:
05/27/17 16:05:30 (4 months ago)
Author:
slimndap
Message:

Release 0.15.25.

Location:
theatre/tags/0.15
Files:
3 edited

Legend:

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

    r1665315 r1665865  
    412412        } 
    413413         
     414        /** 
     415         * Outputs the calendar widget HTML. 
     416         *  
     417         * @since   0.8 
     418         * @since   0.15.25 Now uses the new Theater_Transient object. 
     419         * 
     420         * @param   array   $args 
     421         * @param   array   $instance 
     422         * @return  void 
     423         */ 
    414424        public function widget($args,$instance) { 
    415425            global $wp_theatre; 
     
    422432            } 
    423433                             
    424             if ( ! ( $html = $wp_theatre->transient->get('c', array()) ) ) { 
     434            $transient = new Theater_Transient( 'c' ); 
     435             
     436            if ( ! ( $html = $transient->get() ) ) { 
     437     
    425438                $html = $wp_theatre->calendar->html(); 
    426                 $wp_theatre->transient->set('c', array(), $html); 
     439                $transient->set( $html ); 
     440                 
    427441            } 
    428442 
  • theatre/tags/0.15/readme.txt

    r1665315 r1665865  
    244244== Upgrade Notice == 
    245245 
     246= 0.15.25 =  
     247Fixes a problem with the Calendar widget that was introduced in the previous update. 
     248 
    246249= 0.15.24 =  
    247250Performance improvements, especially noticeable during imports. 
  • theatre/tags/0.15/theater.php

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