Plugin Directory

Changeset 3442737


Ignore:
Timestamp:
01/19/2026 06:38:26 PM (2 months ago)
Author:
themefic
Message:

1.3.5

Location:
travelfic-toolkit
Files:
118 added
3 edited

Legend:

Unmodified
Added
Removed
  • travelfic-toolkit/trunk/inc/class/class-template-sync.php

    r3441878 r3442737  
    2323
    2424    public function travelfic_toolkit_get_api_response(){
    25         check_ajax_referer('updates', '_ajax_nonce');
    26        
    27         // Capability check
    28         if ( ! current_user_can( 'manage_options' ) ) {
    29             wp_send_json_error( 'Unauthorized', 403 );
    30         }
    31        
    3225        $query_params = array(
    3326            'plugin' => 'travelfic_toolkit',
     
    5245
    5346    public function travelfic_template_sync__schudle_callback() { 
     47        // Only check nonce during AJAX
     48        if ( wp_doing_ajax() ) {
     49            check_ajax_referer( 'updates', '_ajax_nonce' );
     50
     51            if ( ! current_user_can( 'manage_options' ) ) {
     52                wp_send_json_error( 'Unauthorized', 403 );
     53            }
     54        }
     55       
    5456        $this->travelfic_toolkit_get_api_response();
    5557    }
  • travelfic-toolkit/trunk/readme.txt

    r3441878 r3442737  
    44Requires at least: 5.4
    55Tested up to: 6.9
    6 Stable tag: 1.3.4
     6Stable tag: 1.3.5
    77Requires PHP: 7.4
    88License: GPLv2 or later
     
    149149== Changelog ==
    150150
     151= 1.3.5 – January 20, 2025 =
     152
     153- Improved: System stability has been improved.
     154- Fixed: Minor bugs and issues have been fixed.
     155
    151156= 1.3.4 – January 18, 2025 =
    152157
  • travelfic-toolkit/trunk/travelfic-toolkit.php

    r3441878 r3442737  
    55 * Description: A companion plugin to the Travelfic Theme with which you can easily build your own Hotel, Accommodation, Tour & Travel Booking website on WordPress.
    66 * Author: Themefic
    7  * Version: 1.3.4
     7 * Version: 1.3.5
    88 * Tested up to: 6.9
    99 * Text Domain: travelfic-toolkit
     
    2525define( 'TRAVELFIC_TOOLKIT_PATH', plugin_dir_path( __FILE__ ) );
    2626define( 'TRAVELFIC_TOOLKIT_ASSETS', TRAVELFIC_TOOLKIT_URL . 'assets/' );
    27 define( 'TRAVELFIC_TOOLKIT_VERSION', '1.3.4' );
     27define( 'TRAVELFIC_TOOLKIT_VERSION', '1.3.5' );
    2828
    2929if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
Note: See TracChangeset for help on using the changeset viewer.