Plugin Directory

Changeset 666587

Timestamp:
02/11/2013 11:36:07 PM (11 years ago)
Author:
stephenh1988
Message:

Commiting 1.7.1

Location:
event-organiser/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • event-organiser/trunk/event-organiser.php

    r663974 r666587  
    33Plugin Name: Event Organiser
    44Plugin URI: http://www.wp-event-organiser.com
    5 Version: 1.7
     5Version: 1.7
    66Description: Creates a custom post type 'events' with features such as reoccurring events, venues, Google Maps, calendar views and events and venue pages
    77Author: Stephen Harris
     
    4242 */
    4343global $eventorganiser_db_version;
    44 $eventorganiser_db_version = '1.7';
     44$eventorganiser_db_version = '1.7';
    4545
    4646/**
  • event-organiser/trunk/includes/event-organiser-archives.php

    r663974 r666587  
    7979        }
    8080   
    81         $query->set('post_type', 'event');
    82         $query->set('event_start_after', $ondate_start);
    83         $query->set('event_end_before', $ondate_end);
     81        $query->set();
     82        $query->set();
     83        $query->set();
    8484    }
    8585
  • event-organiser/trunk/includes/event-organiser-cpt.php

    r663974 r666587  
    165165    global $wp_rewrite; 
    166166    $wp_rewrite->add_rewrite_tag('%event_ondate%','([0-9]{4}(?:/[0-9]{2}(?:/[0-9]{2})?)?)','post_type=event&ondate=');
    167     add_permastruct('event_archive', $events_slug.'/on/%event_ondate%');
     167    add_permastruct('event_archive', $events_slug.'/on/%event_ondate%');
    168168}
    169169
  • event-organiser/trunk/includes/event-organiser-event-functions.php

    r663974 r666587  
    11021102        $date = compact('_year');
    11031103    }
    1104 
     1104   
    11051105    if( $archive && $wp_rewrite->using_mod_rewrite_permalinks() && $permastruct = $wp_rewrite->get_extra_permastruct('event_archive') ){
    1106         $archive = home_url( $wp_rewrite->front.str_replace('%event_ondate%',implode('/',$date), $permastruct ) );
     1106        $archive = home_url( str_replace('%event_ondate%',implode('/',$date), $permastruct ) );
    11071107    }else{
    11081108        $archive = add_query_arg('ondate',implode('-',$date),$archive);
  • event-organiser/trunk/includes/event-organiser-install.php

    r663974 r666587  
    175175            }
    176176        }
     177
     178
     179
     180
     181
     182
     183
     184
    177185        update_option('eventorganiser_version', $eventorganiser_db_version);
    178186
  • event-organiser/trunk/includes/event-organiser-templates.php

    r663974 r666587  
    227227     * add content in via the_content
    228228    */
    229     if( is_singular('event') ){
     229    if( is_singular('event') ){   
    230230        //Viewing a single event
    231231
  • event-organiser/trunk/readme.md

    r663974 r666587  
    55**Requires at least:** 3.3 
    66**Tested up to:** 3.5 
    7 **Stable tag:** 1.7 
     7**Stable tag:** 1.7 
    88**License:** GPLv3 
    99
     
    175175## Changelog ##
    176176
     177
     178
     179
     180
     181
    177182### 1.7 ###
    178183* [Added city & state fields](https://github.com/stephenh1988/Event-Organiser/pull/7). Props @JoryHogeveen
  • event-organiser/trunk/readme.txt

    r663974 r666587  
    55Requires at least: 3.3
    66Tested up to: 3.5
    7 Stable tag: 1.7
     7Stable tag: 1.7
    88License: GPLv3
    99
     
    163163== Changelog ==
    164164
     165
     166
     167
     168
     169
    165170= 1.7 =
    166171* [Added city & state fields](https://github.com/stephenh1988/Event-Organiser/pull/7). Props @JoryHogeveen
Note: See TracChangeset for help on using the changeset viewer.