Plugin Directory

Changeset 1326307


Ignore:
Timestamp:
01/12/2016 07:57:00 AM (10 years ago)
Author:
tutv95
Message:

Fix ver 1.1.2

Location:
easy-events-wp/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • easy-events-wp/trunk/easy-events-wp.php

    r1326294 r1326307  
    55 * Plugin URI: https://wparena.com
    66 * Description: Best simple and useful WordPress Event Plugin.
    7  * Version: 1.1.2
     7 * Version: 1.1.3
    88 * Author: WPArena
    99 * Author URI: https://wparena.com
     
    2323define( 'EASY_EVENT_URI', untrailingslashit( plugins_url( '/', __FILE__ ) ) );
    2424define( 'EASY_EVENT_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
    25 define( 'EASY_EVENT_VERSION', '1.1.2' );
     25define( 'EASY_EVENT_VERSION', '1.1.3' );
    2626
    2727if ( ! class_exists( 'Easy_Event' ) ) :
  • easy-events-wp/trunk/includes/setting-admin.php

    r1326294 r1326307  
    2929function easy_event_display_input_content_template() {
    3030    $single_template = get_option( 'easy_event_single_template' );
     31    if ( $single_template == '' || $single_template == false ) {
     32        $single_template = file_get_contents( EASY_EVENT_DIR . 'template-default/single-content.php' );
     33    }
    3134
    3235    ?>
  • easy-events-wp/trunk/template-builder/single.php

    r1326294 r1326307  
    4545    if ( get_post_type() == 'easy_event' ) {
    4646        $single_template = get_option( 'easy_event_single_template' );
     47        if ( $single_template == '' || $single_template == false ) {
     48            $single_template = file_get_contents( EASY_EVENT_DIR . 'template-default/single-content.php' );
     49        }
    4750
    4851        $post_id = get_the_ID();
Note: See TracChangeset for help on using the changeset viewer.