WordPress.org

Plugin Directory

Changeset 1765726


Ignore:
Timestamp:
11/14/17 08:59:41 (8 days ago)
Author:
netweblogic
Message:

updating to 5.8

Location:
events-manager/trunk
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • events-manager/trunk/admin/em-docs.php

    r1720802 r1765726  
    3434                    'year' => array( 'desc'=> 'If set to a year (e.g. 2010) only events that start or end during this year/month will be returned. Does not work as intended if used with scope.', 'default'=>''), 
    3535                    'has_location' => array( 'desc'=> 'When set to true, only events WITH an assigned location will be shown, has priority over no_location.', 'default'=>''), 
    36                     'no_location' => array( 'desc'=> 'When set to true, only events WITHOUT an assigned location will be shown.', 'default'=>'') 
     36                    'no_location' => array( 'desc'=> 'When set to true, only events WITHOUT an assigned location will be shown.', 'default'=>''), 
     37                    'groupby' => array( 'desc'=> 'Show one event for each unique value of the provide field name, along with events contaning no defined value for that field. See our <a href="http://wp-events-plugin.com/documentation/event-search-attributes/event-location-grouping-ordering/">grouping documentation</a> for more information.', 'default'=>0, 'args'=>'Database field name from the wp_em_events or wp_em_locations tables, e.g. <code>event_name</code> or <code>location_name</code>', 'since'=>'5.8'), 
     38                    'groupby_orderby' => array( 'desc'=> 'When groupby is defined, the fields defined here will determine the sorting of events in each group. See our <a href="http://wp-events-plugin.com/documentation/event-search-attributes/event-location-grouping-ordering/">grouping documentation</a> for more information.', 'default'=>'event_start_date,event_start_time', 'args'=>'Database fields (comma-seperated) in the wp_em_events and wp_em_locations tables, e.g. <code>event_start_date,event_start_time</code> or <code>location_name</code>', 'since'=>'5.8'), 
     39                    'groupby_order' => array( 'desc'=> 'Indicates the alphabeitcal/numerical/date order of the sorting in groupby_orderby. Choose between ASC (ascending) and DESC (descending), case insensitive.', 'default'=>'ASC', 'since'=>'5.8'), 
    3740                ), 
    3841                'locations' => array( 
     
    5457                    'state' => array( 'desc'=> sprintf('Search for %s in this %s (no partial matches, case sensitive).','locations','State'), 'default' => 'none'), 
    5558                    'status' => array( 'desc' => sprintf('Limit search to %s with a spefic status (1 is active, 0 is pending approval)','locations'), 'default'=>1), 
    56                     'town' => array( 'desc'=> sprintf('Search for %s in this %s (no partial matches, case sensitive).','locations','Town'), 'default' => 'none') 
     59                    'town' => array( 'desc'=> sprintf('Search for %s in this %s (no partial matches, case sensitive).','locations','Town'), 'default' => 'none'), 
     60                    'groupby' => array( 'desc'=> 'Show one location for each unique value of the provide field name, along with locations contaning no defined value for that field. See our <a href="http://wp-events-plugin.com/documentation/event-search-attributes/event-location-grouping-ordering/">grouping documentation</a> for more information.', 'default'=>0, 'args'=>'Database field name from the wp_em_events or wp_em_locations tables, e.g. <code>event_name</code> or <code>location_name</code>', 'since'=>'5.8'), 
     61                    'groupby_orderby' => array( 'desc'=> 'When groupby is defined, the fields defined here will determine the sorting of events in each group. See our <a href="http://wp-events-plugin.com/documentation/event-search-attributes/event-location-grouping-ordering/">grouping documentation</a> for more information.', 'default'=>'event_start_date,event_start_time', 'args'=>'Database fields (comma-seperated) in the wp_em_events and wp_em_locations tables, e.g. <code>location_country,location_town</code> or <code>location_name</code>', 'since'=>'5.8'), 
     62                    'groupby_order' => array( 'desc'=> 'Indicates the alphabeitcal/numerical/date order of the sorting in groupby_orderby. Choose between ASC (ascending) and DESC (descending), case insensitive.', 'default'=>'ASC', 'since'=>'5.8'), 
    5763                ), 
    5864                'categories' => array( 
     
    175181                            '#_EVENTICALURL' => array( 'desc' => 'Displays the URL of the event ical feed (ics file format).' ), 
    176182                            '#_EVENTICALLINK' => array( 'desc' => 'Displays an html link to the event ical feed (ics file format).' ), 
    177                             '#_EVENTICALURL' => array( 'desc' => 'Displays the URL of the event webcal feed (ical/ics file format) which will open up various calendar apps automatically including iCalendar, Outlook and Google Calendar.' ), 
    178                             '#_EVENTICALLINK' => array( 'desc' => 'Displays an html link to the event webcal feed (ical/ics file format),  which will open up various calendar apps automatically including iCalendar, Outlook and Google Calendar.' ), 
     183                            '#_EVENTWEBCALURL' => array( 'desc' => 'Same as #_EVENTICALURL, but using the <a href="https://en.wikipedia.org/wiki/Webcal">webcal:// protocol</a>, which will open up various calendar apps automatically including iCalendar, Outlook and Google Calendar.', 'since'=>'5.8' ), 
     184                            '#_EVENTWEBCALLINK' => array( 'desc' => 'Same as #_EVENTICALLINK, but using the <a href="https://en.wikipedia.org/wiki/Webcal">webcal:// protocol</a>, which will open up various calendar apps automatically including iCalendar, Outlook and Google Calendar.', 'since'=>'5.8' ), 
    179185                            '#_EVENTGCALURL' => array( 'desc' => 'Displays URL which would take the user to Google Calendar and pre-fill their add new event form.' ), 
    180186                            '#_EVENTGCALLINK' => array( 'desc' => 'Displays a button which would take the user to Google Calendar and pre-fill their add new event form.' ) 
     
    189195                            '#_CATEGORYID' => array( 'desc' => 'Shows the category ID.' ), 
    190196                            '#_CATEGORYSLUG' => array( 'desc' => 'Shows the category slug.' ), 
     197                            '#_CATEGORYLINK' => array( 'desc' => 'Category name with a link to the category page.' ), 
     198                            '#_CATEGORYURL' => array( 'desc' => 'URL of the category page.' ), 
    191199                            '#_CATEGORYCOLOR' => array( 'desc' => 'Shows the category color (useful for inline styling), in hex format, if no color is defined the default category color from your settings page will be used.' ), 
    192200                            '#_CATEGORYIMAGE' => array( 'desc' => 'Shows the category image, if available.' ), 
     
    209217                            '#_CATEGORYICALURL' => array( 'desc' => 'Displays the URL of the event ical feed (ics file format) which shows all events with this category.', 'since'=>'5.5.2' ), 
    210218                            '#_CATEGORYICALLINK' => array( 'desc' => 'Displays an html link to the event ical feed (ics file format) which shows all events with this category.', 'since'=>'5.5.2' ), 
    211                             '#_CATEGORYWEBCALURL' => array( 'desc' => 'Displays the URL of the event webcal feed (ical/ics file format) which shows all events with this category.', 'since'=>'5.8' ), 
    212                             '#_CATEGORYWEBCALLINK' => array( 'desc' => 'Displays an html link to the event webcal feed (ical/ics file format) which shows all events with this category.' , 'since'=>'5.8'), 
     219                            '#_CATEGORYWEBCALURL' => array( 'desc' => 'Same as #_CATEGORYICALURL, but using the <a href="https://en.wikipedia.org/wiki/Webcal">webcal:// protocol</a>, which will open up various calendar apps automatically including iCalendar, Outlook and Google Calendar.', 'since'=>'5.8' ), 
     220                            '#_CATEGORYWEBCALLINK' => array( 'desc' => 'Same as #_CATEGORYICALLINK, but using the <a href="https://en.wikipedia.org/wiki/Webcal">webcal:// protocol</a>, which will open up various calendar apps automatically including iCalendar, Outlook and Google Calendar.', 'since'=>'5.8' ), 
    213221                            '#_CATEGORYRSSURL' => array( 'desc' => 'Displays the URL of an RSS feed showing all upcoming events happening in this category.', 'since'=>'5.5.2' ), 
    214222                            '#_CATEGORYRSSLINK' => array( 'desc' => 'Displays an html link to an RSS feed showing all upcoming events happening in this category.', 'since'=>'5.5.2' ) 
     
    223231                            '#_TAGID' => array( 'desc' => 'Shows the tag ID.' ), 
    224232                            '#_TAGSLUG' => array( 'desc' => 'Shows the tag slug.' ), 
     233                            '#_TAGLINK' => array( 'desc' => 'Tag name with a link to the tag page.' ), 
     234                            '#_TAGURL' => array( 'desc' => 'URL of the tag page.' ), 
    225235                            '#_TAGNOTES' => array( 'desc' => 'Shows the tag description.' ), 
    226236                            '#_TAGCOLOR' => array( 'desc' => 'Shows the tag color (useful for inline styling), in hex format, if no color is defined the default tag color from your settings page will be used.' ), 
     
    243253                            '#_TAGICALURL' => array( 'desc' => 'Displays the URL of the event ical feed (ics file format) which shows all events with this tag.', 'since'=>'5.5.2' ), 
    244254                            '#_TAGICALLINK' => array( 'desc' => 'Displays an html link to the event ical feed (ics file format) which shows all events with this tag.' , 'since'=>'5.5.2'), 
    245                             '#_TAGWEBCALURL' => array( 'desc' => 'Displays the URL of the event webcal feed (ical/ics file format) which shows all events with this tag.', 'since'=>'5.8' ), 
    246                             '#_TAGWEBCALLINK' => array( 'desc' => 'Displays an html link to the event webcal feed (ical/ics file format) which shows all events with this tag.' , 'since'=>'5.8'), 
     255                            '#_TAGWEBCALURL' => array( 'desc' => 'Same as #_TAGICALURL, but using the <a href="https://en.wikipedia.org/wiki/Webcal">webcal:// protocol</a>, which will open up various calendar apps automatically including iCalendar, Outlook and Google Calendar.', 'since'=>'5.8' ), 
     256                            '#_TAGWEBCALLINK' => array( 'desc' => 'Same as #_TAGICALLINK, but using the <a href="https://en.wikipedia.org/wiki/Webcal">webcal:// protocol</a>, which will open up various calendar apps automatically including iCalendar, Outlook and Google Calendar.', 'since'=>'5.8' ), 
    247257                            '#_TAGRSSURL' => array( 'desc' => 'Displays the URL of an RSS feed showing all upcoming events happening in this tag.', 'since'=>'5.5.2' ), 
    248258                            '#_TAGRSSLINK' => array( 'desc' => 'Displays an html link to an RSS feed showing all upcoming events happening in this tag.', 'since'=>'5.5.2' ) 
     
    306316                            '#_LOCATIONICALURL' => array( 'desc' => 'Displays the URL of the location ical feed (ics file format) which shows all events happening at that location.', 'since'=>'5.5.2' ), 
    307317                            '#_LOCATIONICALLINK' => array( 'desc' => 'Displays an html link to the event ical feed (ics file format) which shows all events happening at that location.', 'since'=>'5.5.2' ), 
    308                             '#_LOCATIONWEBCALURL' => array( 'desc' => 'Displays the URL of the location webcal feed (ical/ics file format) which shows all events happening at that location.', 'since'=>'5.8' ), 
    309                             '#_LOCATIONWEBCALLINK' => array( 'desc' => 'Displays an html link to the event webcal feed (ical/ics file format) which shows all events happening at that location.', 'since'=>'5.8' ), 
     318                            '#_LOCATIONWEBCALURL' => array( 'desc' => 'Same as #_LOCATIONICALURL, but using the <a href="https://en.wikipedia.org/wiki/Webcal">webcal:// protocol</a>, which will open up various calendar apps automatically including iCalendar, Outlook and Google Calendar.', 'since'=>'5.8' ), 
     319                            '#_LOCATIONWEBCALLINK' => array( 'desc' => 'Same as #_LOCATIONICALLINK, but using the <a href="https://en.wikipedia.org/wiki/Webcal">webcal:// protocol</a>, which will open up various calendar apps automatically including iCalendar, Outlook and Google Calendar.', 'since'=>'5.8' ), 
    310320                            '#_LOCATIONRSSURL' => array( 'desc' => 'Displays the URL of an RSS feed showing all upcoming events happening at this location.', 'since'=>'5.5.2' ), 
    311321                            '#_LOCATIONRSSLINK' => array( 'desc' => 'Displays an html link to an RSS feed showing all upcoming events happening at this location.', 'since'=>'5.5.2' ) 
  • events-manager/trunk/classes/em-bookings-table.php

    r1651260 r1765726  
    7070        $this->page = ( !empty($_REQUEST['pno']) && is_numeric($_REQUEST['pno']) ) ? $_REQUEST['pno']:1; 
    7171        $this->offset = ( $this->page > 1 ) ? ($this->page-1)*$this->limit : 0; 
    72         $this->scope = ( !empty($_REQUEST['scope']) && array_key_exists($_REQUEST ['scope'], em_get_scopes()) ) ? sanitize_text_field($_REQUEST['scope']):get_option('dbem_default_bookings_search','future'); 
    73         $this->status = ( !empty($_REQUEST['status']) && array_key_exists($_REQUEST['status'], $this->statuses) ) ? sanitize_text_field($_REQUEST['status']):get_option('dbem_default_bookings_search','needs-attention'); 
     72        $this->scope = ( !empty($_REQUEST['scope']) && array_key_exists($_REQUEST ['scope'], em_get_scopes()) ) ? sanitize_text_field($_REQUEST['scope']):'future'; 
     73        $this->status = ( !empty($_REQUEST['status']) && array_key_exists($_REQUEST['status'], $this->statuses) ) ? sanitize_text_field($_REQUEST['status']):'needs-attention'; 
    7474        //build template of possible collumns 
    7575        $this->cols_template = apply_filters('em_bookings_table_cols_template', array( 
  • events-manager/trunk/classes/em-calendar.php

    r1722840 r1765726  
    88    public static function get( $args ){ 
    99     
    10         global $wpdb;  
     10        global $wpdb, $wp_rewrite; 
    1111         
    1212        $calendar_array = array(); 
     
    313313                             
    314314                //Get the link to this calendar day 
    315                 global $wp_rewrite; 
    316315                if( $eventful_days_count[$day_key] > 1 || !get_option('dbem_calendar_direct_links')  ){ 
    317316                    if( $wp_rewrite->using_permalinks() && !defined('EM_DISABLE_PERMALINKS') ){ 
  • events-manager/trunk/classes/em-categories-admin.php

    r1720802 r1765726  
    2222        self::static_binding(); 
    2323        parent::init(); 
     24    } 
     25     
     26    public static function form_add(){ 
     27        self::static_binding(); 
     28        parent::form_add(); 
    2429    } 
    2530     
  • events-manager/trunk/classes/em-categories.php

    r1720802 r1765726  
    2020         
    2121    /** 
    22      * Legacy get overload for any use of $EM_Tags->tags 
     22     * Legacy get overload for any use of $EM_Categories->tags 
    2323     * @param string $var_name 
    2424     * @return array|NULL 
     
    2929        } 
    3030        return null; 
     31    } 
     32     
     33    /** 
     34     * Legacy overload for use of empty($this->categories) 
     35     * @param string $var_name 
     36     * @return boolean 
     37     */ 
     38    function __isset( $var_name ){ 
     39        if( $var_name == 'categories' ){ 
     40            return !empty($this->terms); 
     41        } 
     42        return !empty($this->$var_name); 
    3143    } 
    3244     
  • events-manager/trunk/classes/em-event.php

    r1753147 r1765726  
    340340            if( $event_post->post_status != 'auto-draft' ){ 
    341341                $event_meta = $this->get_event_meta($search_by); 
    342                 $atts = em_get_attributes(); 
    343342                //Get custom fields and post meta 
    344343                foreach($event_meta as $event_meta_key => $event_meta_val){ 
     
    892891                    //ignore certain fields and delete if not new 
    893892                    $save_meta_key = true; 
    894                     $recurrence_array = array('recurrence_id', 'recurrence', 'recurrence_interval', 'recurrence_freq', 'recurrence_days', 'recurrence_byday', 'recurrence_byweekno', 'recurrence_rsvp_days'); 
     893                    $recurrence_array = array('recurrence', 'recurrence_interval', 'recurrence_freq', 'recurrence_days', 'recurrence_byday', 'recurrence_byweekno', 'recurrence_rsvp_days'); 
    895894                    if( !$this->is_recurring() && in_array($key, $recurrence_array) ) $save_meta_key = false; 
     895                    if( !$this->is_recurrence() && $key == 'recurrence_id' ) $save_meta_key = false; 
    896896                    $ignore_zero_keys = array('location_id', 'group_id', 'event_all_day' ); 
    897897                    if( in_array($key, $ignore_zero_keys) && empty($this->$key) ) $save_meta_key = false; 
     
    22152215            $url = $this->get_attach_url($this->recurrence_id); 
    22162216            $wpdb->update(EM_EVENTS_TABLE, array('recurrence_id'=>null), array('event_id' => $this->event_id)); 
    2217             update_post_meta($this->post_id, '_recurrence_id', null); 
     2217            delete_post_meta($this->post_id, '_recurrence_id'); 
    22182218            $this->feedback_message = __('Event detached.','events-manager') . ' <a href="'.$url.'">'.__('Undo','events-manager').'</a>'; 
    22192219            $this->recurrence_id = 0; 
     
    22492249        $event_ids = $post_ids = $event_dates = array(); 
    22502250        if( !$this->can_manage('edit_events','edit_others_events') ) return apply_filters('em_event_save_events', false, $this, $event_ids, $post_ids); 
    2251         if( ($this->is_published() || 'future' == $this->post_status) ){ 
     2251        if( $this->is_published() || 'future' == $this->post_status ){ 
    22522252            //check if there's any events already created, if not (such as when an event is first submitted for approval and then published), force a reschedule. 
    22532253            if( $wpdb->get_var('SELECT COUNT(event_id) FROM '.EM_EVENTS_TABLE.' WHERE recurrence_id='. absint($this->event_id)) == 0 ){ 
     
    24362436                            //sort out cut-of dates 
    24372437                            if( !empty($ticket_meta_recurrences) ){ 
    2438                                 if( array_key_exists('start_days', $ticket_meta_recurrences) ){ 
     2438                                if( array_key_exists('start_days', $ticket_meta_recurrences) && $ticket_meta_recurrences['start_days'] !== false  ){ 
    24392439                                    $ticket_start_days = $ticket_meta_recurrences['start_days'] >= 0 ? '+'. $ticket_meta_recurrences['start_days']: $ticket_meta_recurrences['start_days']; 
    24402440                                    $ticket_start_date = date('Y-m-d',  strtotime($ticket_start_days.' days', $event_dates[$event_id])); 
    24412441                                    $ticket['ticket_start'] = "'". $ticket_start_date . ' '. $ticket_meta_recurrences['start_time'] ."'"; 
    24422442                                } 
    2443                                 if( array_key_exists('end_days', $ticket_meta_recurrences) ){ 
     2443                                if( array_key_exists('end_days', $ticket_meta_recurrences) && $ticket_meta_recurrences['end_days'] !== false ){ 
    24442444                                    $ticket_end_days = $ticket_meta_recurrences['end_days'] >= 0 ? '+'. $ticket_meta_recurrences['end_days']: $ticket_meta_recurrences['end_days']; 
    24452445                                    $ticket_end_date = date('Y-m-d',  strtotime($ticket_end_days.' days', $event_dates[$event_id])); 
     
    26492649        //give sub events same status 
    26502650        global $wpdb; 
    2651         $this->ms_global_switch(); 
    26522651        //get post and event ids of recurrences 
    26532652        $post_ids = $event_ids = array(); 
     
    26692668                $post_status = $set_status ? 'publish':'pending'; 
    26702669            } 
     2670            if( EM_MS_GLOBAL ) switch_to_blog( $this->blog_id ); 
    26712671            $result = $wpdb->query( $wpdb->prepare("UPDATE ".$wpdb->posts." SET post_status=%s WHERE ID IN (". implode(',', $post_ids) .')', array($post_status)) ); 
     2672            restore_current_blog(); 
    26722673            $result = $result && $wpdb->query( $wpdb->prepare("UPDATE ".EM_EVENTS_TABLE." SET event_status=%s WHERE event_id IN (". implode(',', $event_ids) .')', array($set_status)) ); 
    26732674        } 
    2674         $this->ms_global_switch_back(); 
    26752675        return apply_filters('em_event_set_status_events', $result !== false, $status, $this, $event_ids, $post_ids); 
    26762676    } 
  • events-manager/trunk/classes/em-events.php

    r1753147 r1765726  
    368368        //Reset some vars for counting events and displaying set arrays of events 
    369369        $atts = (array) $args; 
    370         $atts['pagination'] = false; 
    371         $atts['limit'] = false; 
    372         $atts['page'] = false; 
    373         $atts['offset'] = false; 
     370        $atts['pagination'] = $atts['limit'] = $atts['page'] = $atts['offset'] = false; 
    374371        //decide what form of dates to show 
    375         $events_count = self::count($atts); 
     372        $EM_Events = self::get( $args ); 
     373        $events_count = self::$num_rows_found; 
    376374        ob_start(); 
    377375        if( $events_count > 0 ){ 
    378             $EM_Events = self::get($args); 
    379376            switch ( $args['mode'] ){ 
    380377                case 'yearly': 
     
    690687            $defaults['location_status'] = $array['location_status'] = false; 
    691688        }else{ 
    692             $location_specific_args = array('town', 'state', 'country', 'region', 'near', 'geo', 'search'); 
     689            $location_specific_args = array('town', 'state', 'country', 'region', 'near', 'geo'); 
    693690            foreach( $location_specific_args as $location_arg ){ 
    694691                if( !empty($array[$location_arg]) ) $defaults['location_status'] = true; 
  • events-manager/trunk/classes/em-location-post-admin.php

    r1651260 r1765726  
    8585        if(!defined('UNTRASHING_'.$post_id) && $is_post_type && $saving_status){ 
    8686            if( !empty($_REQUEST['_emnonce']) && wp_verify_nonce($_REQUEST['_emnonce'], 'edit_location')){ 
    87                 $EM_Location = em_get_location($post_id, 'post_id'); 
     87                $EM_Location = new EM_Location($post_id, 'post_id'); 
    8888                $get_meta = $EM_Location->get_post_meta(false); 
    8989                $validate_meta = $EM_Location->validate_meta(); 
  • events-manager/trunk/classes/em-tags-admin.php

    r1720802 r1765726  
    2222        self::static_binding(); 
    2323        parent::init(); 
     24    } 
     25     
     26    public static function form_add(){ 
     27        self::static_binding(); 
     28        parent::form_add(); 
    2429    } 
    2530     
  • events-manager/trunk/classes/em-tags.php

    r1720802 r1765726  
    2929    } 
    3030     
     31    /** 
     32     * Legacy overload for use of empty($this->tags) 
     33     * @param string $var_name 
     34     * @return boolean 
     35     */ 
     36    function __isset( $var_name ){ 
     37        if( $var_name == 'tags' ){ 
     38            return !empty($this->terms); 
     39        } 
     40        return !empty($this->$var_name); 
     41    } 
     42     
    3143    //Functions we won't need when PHP 5.3 minimum allows for use of LSB 
    3244     
  • events-manager/trunk/classes/em-ticket.php

    r1753147 r1765726  
    213213                $this->start_timestamp  = strtotime($this->ticket_start, current_time('timestamp')); 
    214214            }else{ 
     215                unset($this->ticket_meta['recurrences']['start_days']); 
     216                unset($this->ticket_meta['recurrences']['start_time']); 
    215217                $this->ticket_start = $this->start_timestamp = ''; 
    216218            } 
     
    229231                $this->end_timestamp  = strtotime($this->ticket_end, current_time('timestamp')); //we save these timestamps for quicker loading on construct 
    230232            }else{ 
     233                unset($this->ticket_meta['recurrences']['end_days']); 
     234                unset($this->ticket_meta['recurrences']['end_time']); 
    231235                $this->ticket_end = $this->end_timestamp = ''; 
    232236            } 
  • events-manager/trunk/em-shortcode.php

    r1720802 r1765726  
    375375 */ 
    376376function em_get_my_bookings_shortcode(){ 
    377     return em_my_bookings(); 
     377    return em_get_my_bookings(); 
    378378} 
    379379add_shortcode ( 'my_bookings', 'em_get_my_bookings_shortcode'); 
  • events-manager/trunk/events-manager.php

    r1753147 r1765726  
    22/* 
    33Plugin Name: Events Manager 
    4 Version: 5.7.3.4 
     4Version: 5.8 
    55Plugin URI: http://wp-events-plugin.com 
    66Description: Event registration and booking management for WordPress. Recurring events, locations, google maps, rss, ical, booking registration and more! 
     
    2929 
    3030// Setting constants 
    31 define('EM_VERSION', 5.734); //self expanatory 
     31define('EM_VERSION', 5.8); //self expanatory 
    3232define('EM_PRO_MIN_VERSION', 2.392); //self expanatory 
    3333define('EM_PRO_MIN_VERSION_CRITICAL', 2.377); //self expanatory 
  • events-manager/trunk/readme.txt

    r1753147 r1765726  
    55Text Domain: events-manager 
    66Requires at least: 3.5 
    7 Tested up to: 4.8.1 
    8 Stable tag: 5.7.3 
     7Tested up to: 4.9 
     8Stable tag: 5.8 
    99 
    1010Fully featured event registration management including recurring events, locations management, calendar, Google map integration, booking management 
     
    100100 
    101101== Changelog == 
    102 = 5.7.3.4 (dev) = 
     102= 5.8 = 
    103103* fixed category color picker and image uploader problems 
    104104* created base classes for EM taxonomies to make adding custom EM taxonomies even easier in the future, 
     
    168168* improved taxonomy color retrieval so it makes use of caching 
    169169* improved/optimized deletion of multiple bookings and tickets at once if belonging to an event 
     170* fixed my_bookings shortcode outputting content at top of content irrespective of where it is located within content 
     171* fixed invalid recurrence ticket start/end cut-off date/times if both are not set for the recurring event 
     172* fixed bug where ticket start/end dates cannot be unset in recurring events 
    170173 
    171174= 5.7.3 = 
  • events-manager/trunk/templates/forms/event/when-with-recurring.php

    r1651260 r1765726  
    5656            <select id="monthly-modifier" name="recurrence_byweekno"> 
    5757                <?php 
    58                     $weekno_options = array ("1" => __ ( 'first', 'events-manager'), '2' => __ ( 'second', 'events-manager'), '3' => __ ( 'third', 'events-manager'), '4' => __ ( 'fourth', 'events-manager'), '-1' => __ ( 'last', 'events-manager') );  
     58                    $weekno_options = array ("1" => __ ( 'first', 'events-manager'), '2' => __ ( 'second', 'events-manager'), '3' => __ ( 'third', 'events-manager'), '4' => __ ( 'fourth', 'events-manager'), '5' => __ ( 'fifth', 'events-manager'), '-1' => __ ( 'last', 'events-manager') );  
    5959                    em_option_items ( $weekno_options, $EM_Event->recurrence_byweekno  );  
    6060                ?> 
Note: See TracChangeset for help on using the changeset viewer.