Plugin Directory

Changeset 3300456


Ignore:
Timestamp:
05/26/2025 07:16:03 AM (10 months ago)
Author:
guruteam
Message:

1.2.8 version

Location:
bot-for-telegram-on-woocommerce
Files:
442 added
6 edited

Legend:

Unmodified
Added
Removed
  • bot-for-telegram-on-woocommerce/trunk/bot-for-telegram-on-woocommerce.php

    r3294180 r3300456  
    44 * Description: Bot for Telegram on WooCommerce is a plugin that allows you to create a telegram online store based on your website with WooCommerce.
    55 * Plugin URI:  https://wp-guruteam.com/woocommerce-telegram/
    6  * Version:     1.2.7
     6 * Version:     1.2.8
    77 * Author:      guru-team
    88 * Author URI:  https://wp-guruteam.com/
     
    1111if (!defined('ABSPATH')) exit;
    1212
    13 define( 'BFTOW_PLUGIN_VERSION', '1.2.7' );
     13define( 'BFTOW_PLUGIN_VERSION', '1.2.8' );
    1414define( 'BFTOW_FILE', __FILE__ );
    1515define( 'BFTOW_DIR', dirname( BFTOW_FILE ) );
  • bot-for-telegram-on-woocommerce/trunk/includes/functions.php

    r3278371 r3300456  
    1111{
    1212    check_ajax_referer('ajax_nonce', 'security');
    13 
     13    if(current_user_can('manage_options')){
     14        wp_send_json_error();
     15    }
    1416    $webHookAction = (!empty($_POST['btn_action']) && $_POST['btn_action'] == 'activate') ? 'setWebhook' : 'deleteWebhook';
    1517    $url = get_site_url() . '/wp-json/woo-telegram/v1/main/';
  • bot-for-telegram-on-woocommerce/trunk/nuxy/helpers/file_upload.php

    r3168432 r3300456  
    1111        check_ajax_referer( 'wpcfto_upload_file', 'nonce' );
    1212
     13        if(!current_user_can( 'edit_posts' )) {
     14            wp_send_json_error();
     15        }
    1316        if ( ! empty( $_FILES['file'] ) && ! empty( $_FILES['file']['name'] ) ) {
    1417            $filename = sanitize_text_field( $_FILES['file']['name'] );
  • bot-for-telegram-on-woocommerce/trunk/nuxy/helpers/helpers.php

    r3278371 r3300456  
    5858    check_ajax_referer( 'stm_wpcfto_get_settings_nonce', 'nonce' );
    5959
     60    if(!current_user_can( 'edit_posts' )) {
     61        wp_send_json_error();
     62    }
    6063    $source = ( isset( $_GET['source'] ) ) ? sanitize_text_field( $_GET['source'] ) : '';
    6164    $name   = ( isset( $_GET['name'] ) ) ? sanitize_text_field( $_GET['name'] ) : '';
     
    150153        die;
    151154    }
     155    if(!current_user_can( 'edit_posts' )) {
     156        wp_send_json_error();
     157    }
    152158    wp_send_json( wp_get_attachment_url( intval( $_GET['image_id'] ) ) );
    153159}
  • bot-for-telegram-on-woocommerce/trunk/pro/includes/BFTOW_PRO_Notifications.php

    r3294180 r3300456  
    5555    {
    5656        check_ajax_referer('ajax_nonce', 'security');
     57        if(current_user_can('manage_options')){
     58            wp_send_json_error();
     59        }
    5760        if(!empty($_POST['public_channel'])){
    5861            $public_channel = esc_html($_POST['public_channel']);
  • bot-for-telegram-on-woocommerce/trunk/readme.txt

    r3294180 r3300456  
    11=== Bot for Telegram on WooCommerce ===
    22Contributors: guruteam
    3 Tags: telegram bot, telegram shop, woocommerce telegram bot, woocommerce telegram addon, telegram notifications
     3Tags: telegram bot, telegram shop, telegram login, woocommerce telegram addon, telegram notifications
    44Requires at least: 5.3
    55Tested up to: 6.8
    66Requires PHP: 7.0
    7 Stable tag: 1.2.7
     7Stable tag: 1.2.8
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    115115
    116116
     117= 1.2.8- 2025-26-05 =
     118* Fixed security issues
     119
    117120= 1.2.7- 2025-15-05 =
    118121* Fixed security issues
Note: See TracChangeset for help on using the changeset viewer.