Plugin Directory

Changeset 3332429


Ignore:
Timestamp:
07/22/2025 05:37:07 PM (8 months ago)
Author:
ashanjay
Message:

FIXED: duplicating repeat events not working
FIXED: Import language via CSV to update on screen real-time
FIXED: location lan lat generation not working properly
FIXED: % sign not saving in custom css
FIXED: eventon_get_unix_time()trim ampm value
FIXED: related events not

Location:
eventon-lite
Files:
299 added
11 edited

Legend:

Unmodified
Added
Removed
  • eventon-lite/trunk/assets/js/admin/event-post.js

    r3301849 r3332429  
    11/**
    2  * @version  2.3.3
    3  * @version 4.8.2
     2 * @version  2.4.7
    43 */
    54jQuery(document).ready(function($){
     
    122121        $('body')
    123122        // trigger configure related events
    124         .on('click','.evo_configure_related_events',function(){
     123        .on('click','.evo_configure_related_events',function(e){
     124            e.preventDefault();
    125125            var el = $(this);
    126126            var box = el.closest('.evo_rel_events_box');
     
    146146            }
    147147        })     
    148         .on('click','span.rel_event', function(){
     148        .on('click','span.rel_event', function(e){
     149            e.preventDefault();
    149150            O = $(this);
    150151            O.toggleClass('select');
     
    152153
    153154        // save related event select
    154         .on('click','.evo_save_rel_events', function(){
     155        .on('click','.evo_save_rel_events', function(e){
     156            e.preventDefault();
    155157            LB = $('body').find('.evo_related_events_lb');
    156158            EV = {};
  • eventon-lite/trunk/assets/js/admin/wp_admin.js

    r3296861 r3332429  
    11211121                // update new values
    11221122
    1123                 $('#evcal_2').find('input[name="'+data[0]+'"]').val(data[1]); // for vars
     1123                $('#evcal_2').find('input[name="'+data[0]+'"]').val(data[1]).siblings('em').text( data[1] ); // for vars
    11241124                $('#evcal_2').find('input[for="'+data[0]+'"]').val(data[1]); // for text strings
    11251125               
  • eventon-lite/trunk/assets/js/eventon_script.js

    r3286398 r3332429  
    12641264            var M = moment.unix(SU).utc(); 
    12651265
    1266             if( N.format('YYYY M') == M.format('YYYY M')){             
     1266            const rangeMonth = ( SC.fixed_month ) ? SC.fixed_month : M.format('M');
     1267            const rangeYear = ( SC.fixed_year ) ? SC.fixed_year : M.format('YYYY');
     1268
     1269            if( N.format('YYYY M') == rangeYear +' '+ rangeMonth){             
    12671270                CAL.find('.evo-gototoday-btn').fadeOut();
    12681271            }
  • eventon-lite/trunk/eventon.php

    r3301849 r3332429  
    44 * Plugin URI: http://www.myeventon.com/lite
    55 * Description: A beautifully crafted minimal calendar experience - Lite Version
    6  * Version: 2.4.6
     6 * Version: 2.4.7
    77 * Author: Ashan Jay
    88 * Author URI: http://www.ashanjay.com
    99 * Requires at least: 6.0
    10  * Tested up to: 6.8.1
     10 * Tested up to: 6.8.2
    1111 *
    1212 * Text Domain: eventon
  • eventon-lite/trunk/includes/admin/class-admin-taxonomies.php

    r3220597 r3332429  
    236236                        'name'=>esc_html__('Location State (Optional)','eventon'),
    237237                        'var'=>'location_state'             
     238                    ),
     239                    'location_zip'=>array(
     240                        'type'=>'text',
     241                        'name'=>__('Location Zip / Postal Code (Optional)','eventon'),
     242                        'var'=>'location_zip'               
    238243                    ),
    239244                    'location_country'=>array(
  • eventon-lite/trunk/includes/admin/eventon-admin-functions.php

    r3286398 r3332429  
    88 * @category    Admin
    99 * @package     EventON/Admin
    10  * @version     2.4.1
     10 * @version     2.4.7
    1111 */
    1212
     
    177177    }
    178178
    179 // Sanitize CSS @version 2.4.1
     179// Sanitize CSS @version 2.4.7
    180180    function eventon_sanitize_css($css) {
    181181        // Check if input is empty or not a string
     
    209209        // Preserve valid CSS characters, including quotes
    210210        // Allow: alphanumeric, whitespace, and CSS-specific characters like {}:;,.#()"'-@*
    211         $css = preg_replace('/[^\w\s\d{}:;,.#()"\'\-@*!\/]/', '', $css);
     211        $css = preg_replace('/[^\w\s\d{}:;,.#()"\'\-@*!\/%]/', '', $css);
    212212
    213213        // Ensure double quotes are not escaped unnecessarily
  • eventon-lite/trunk/includes/admin/post_types/class-meta_boxes-timedate.php

    r3302375 r3332429  
    488488                    $DD = new DateTime( 'now', EVO()->calendar->timezone0);
    489489                    $intervals = $EVENT->get_repeats();
    490                     if($intervals && sizeof($intervals)>0 ):                                   
     490                    if($intervals && is_array($intervals) && count( $intervals ) > 0 ):                                 
    491491                        $date_format_string = $wp_date_format.' '.( $hr24? 'G:i':'h:ia');// datre format sting to display for repeats
    492492                       
  • eventon-lite/trunk/includes/admin/settings/class-settings.php

    r3281337 r3332429  
    3030
    3131        $this->options_pre = 'evcal_options_';
     32
    3233    }
    3334
  • eventon-lite/trunk/includes/class-eventon.php

    r3301849 r3332429  
    22/**
    33 * EventON Lite Setup
    4  * @version 2.4.6
     4 * @version 2.4.7
    55 *
    66 */
     
    1212
    1313    // defines
    14         public $version = '2.4.6';
     14        public $version = '2.4.7';
    1515               
    1616        public $template_url;
  • eventon-lite/trunk/includes/eventon-core-functions.php

    r3302375 r3332429  
    451451                        if( !empty($data['evcal_st_ampm']) ){
    452452
    453                             $start_ampm = strtolower( $data['evcal_st_ampm'] );
     453                            $start_ampm = trim( strtolower( $data['evcal_st_ampm'] ) );
    454454
    455455                            if( $start_ampm =='pm' && $time_hour != 12) $time_hour += 12;
     
    494494                        if( !empty($data['evcal_et_ampm']) ){
    495495
    496                             $end_ampm = strtolower( $data['evcal_et_ampm'] );
     496                            $end_ampm = trim( strtolower( $data['evcal_et_ampm'] ) );
    497497
    498498                            if( $end_ampm =='pm' && $time_hour != 12) $time_hour += 12;
     
    18881888
    18891889            // Clean up address (remove suite numbers which might confuse Nominatim)
    1890             $address = preg_replace('/\bSuite\s+[A-Z0-9]\b/i', '', $address);
    1891             $address = urlencode(str_replace(" ", "+", trim($address)));
     1890             $address = preg_replace('/\bSuite\s+[A-Z0-9]\b/i', '', $address);
     1891            $address = urlencode($address); // Encode the entire address
     1892            $address = str_replace('%20', '+', $address); // Replace encoded spaces with +
    18921893           
    18931894            // Set up the URL based on API choice
  • eventon-lite/trunk/readme.txt

    r3301849 r3332429  
    55Tags: calendar, event calendar, virtual events, events, event management
    66Requires at least: 6.0
    7 Tested up to: 6.8.1
    8 Stable tag: 2.4.6
     7Tested up to: 6.8.2
     8Stable tag: 2.4.7
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    237237For support with the Lite version, visit [support forum here](https://wordpress.org/support/plugin/eventon-lite/). For premium support or queries related to the Full version, please contact us through [our helpdesk](https://helpdesk.ashanjay.com).
    238238
     239= How can I report security bugs? =
     240
     241You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team helps validate, triage and handle any security vulnerabilities. [Report a security vulnerability.](https://patchstack.com/database/vdp/9e5fbbf9-f1d1-4765-83e5-76b7743a35be)
     242
    239243== Changelog ==
     244= 2.4.7 (2025-7-22) =
     245FIXED: duplicating repeat events not working
     246FIXED: Import language via CSV to update on screen real-time
     247FIXED: location lan lat generation not working properly
     248FIXED: % sign not saving in custom css
     249FIXED: eventon_get_unix_time()trim ampm value
     250FIXED: related events not
     251
    240252= 2.4.6 (2025-5-27) =
    241253ADDED: Ability to edit existing custom repeats
Note: See TracChangeset for help on using the changeset viewer.