Plugin Directory

Changeset 3196855


Ignore:
Timestamp:
11/25/2024 06:52:57 PM (14 months ago)
Author:
best2pay
Message:

fixed errors

Location:
best2pay-payment-method-visamastercard
Files:
874 added
10 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • best2pay-payment-method-visamastercard/tags/3.0.0/readme.txt

    r3137598 r3196855  
    55Tested up to: 6.6.1
    66Requires PHP: 8.1
    7 Stable tag: 2.2.0
     7Stable tag: 3.0.0
    88WC requires at least: 6.0
    99WC tested up to: 9.1.2
     
    1111License URI: https://www.gnu.org/licenses/gpl-3.0.html
    1212
    13 Интеграция платежной системы Best2pay в Wordpress.
    14 
    15 == Description ==
    16 
     13== Описание ==
    1714Плагин «Best2pay» – платежное решение для сайтов на WooCommerce:
    1815- Включает 9 встроенных способов приема платежей
  • best2pay-payment-method-visamastercard/tags/3.0.0/svkb_widget.php

    r3137598 r3196855  
     1<?php
     2if ( ! defined( 'ABSPATH' ) ) exit;
     3?>
    14<link rel="preconnect" href="https://fonts.googleapis.com">
    25<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
     
    97100
    98101$count = 4;
    99 $amount = intval($_REQUEST['amount'] * 100);
     102$amount = (int) (sanitize_text_field($_REQUEST['amount']) * 100);
    100103$part = ($amount - $k = $amount % $count) / $count;
    101104$first = number_format(round(($part + $k) / 100, 2), 2, '.', '&nbsp;');
     
    130133
    131134            <?php for ($i=1; $i<$count; $i++) {
    132                 $time = mktime(0, 0, 0, date("m"), date("d")+14*$i, date("Y"));?>
     135                 $time = mktime(0, 0, 0, date("m"), (int) date("d") + 14 * $i, date("Y"));?>
    133136
    134137                 <li class="item">
  • best2pay-payment-method-visamastercard/trunk/readme.txt

    r3187761 r3196855  
    33Tags: woocommerce, payments, best2pay, платежные системы
    44Requires at least: 4.7
    5 Tested up to: 6.7
     5Tested up to: 6.6.1
    66Requires PHP: 8.1
    77Stable tag: 3.0.0
    88WC requires at least: 6.0
    9 WC tested up to: 9.4.1
     9WC tested up to: 9.1.2
    1010License: GPLv3
    1111License URI: https://www.gnu.org/licenses/gpl-3.0.html
    1212
    13 Интеграция платежной системы Best2pay в Wordpress.
    14 
    15 == Description ==
    16 
     13== Описание ==
    1714Плагин «Best2pay» – платежное решение для сайтов на WooCommerce:
    1815- Включает 9 встроенных способов приема платежей
  • best2pay-payment-method-visamastercard/trunk/svkb_widget.php

    r3136039 r3196855  
     1<?php
     2if ( ! defined( 'ABSPATH' ) ) exit;
     3?>
    14<link rel="preconnect" href="https://fonts.googleapis.com">
    25<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
     
    97100
    98101$count = 4;
    99 $amount = intval($_REQUEST['amount'] * 100);
     102$amount = (int) (sanitize_text_field($_REQUEST['amount']) * 100);
    100103$part = ($amount - $k = $amount % $count) / $count;
    101104$first = number_format(round(($part + $k) / 100, 2), 2, '.', '&nbsp;');
     
    130133
    131134            <?php for ($i=1; $i<$count; $i++) {
    132                 $time = mktime(0, 0, 0, date("m"), date("d")+14*$i, date("Y"));?>
     135                 $time = mktime(0, 0, 0, date("m"), (int) date("d") + 14 * $i, date("Y"));?>
    133136
    134137                 <li class="item">
Note: See TracChangeset for help on using the changeset viewer.