Plugin Directory

Changeset 2563613


Ignore:
Timestamp:
07/13/2021 01:44:55 PM (5 years ago)
Author:
ksherdev
Message:

fixed product name limit.

Location:
ksher-payment
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ksher-payment/tags/1.0.1/ksher.php

    r2563223 r2563613  
    44    * Plugin URI:  https://www.ksher.com
    55    * Description: Ksher Gateway Plugin is a WordPress plugin designed specifically for WooCommerce. The plugin adds support for Ksher Payment Gateway payment method to WooCommerce.
    6     * Version:     1.0.1
     6    * Version:     1.0.2
    77    * Author:      Ksher
    88    * Text Domain: ksher
  • ksher-payment/tags/1.0.1/payment/set-payment.php

    r2563247 r2563613  
    217217                    }
    218218
    219                     if (strlen($product) > 30) {
    220                         $product = substr($product, 30);
     219                    if (strlen($product) > 50) {
     220                        $product = substr($product, 0, 50);
    221221                    }
    222222
     
    304304                        $data['color'] = get_option('ksher_color');
    305305                    }
     306
    306307                    if ( get_option('ksher_logo') && is_string(get_option('ksher_logo'))) {
    307308                        $data['logo'] = get_option('ksher_logo');
  • ksher-payment/trunk/ksher.php

    r2563223 r2563613  
    44    * Plugin URI:  https://www.ksher.com
    55    * Description: Ksher Gateway Plugin is a WordPress plugin designed specifically for WooCommerce. The plugin adds support for Ksher Payment Gateway payment method to WooCommerce.
    6     * Version:     1.0.1
     6    * Version:     1.0.2
    77    * Author:      Ksher
    88    * Text Domain: ksher
  • ksher-payment/trunk/payment/set-payment.php

    r2563247 r2563613  
    217217                    }
    218218
    219                     if (strlen($product) > 30) {
    220                         $product = substr($product, 30);
     219                    if (strlen($product) > 50) {
     220                        $product = substr($product, 0, 50);
    221221                    }
    222222
     
    304304                        $data['color'] = get_option('ksher_color');
    305305                    }
     306
    306307                    if ( get_option('ksher_logo') && is_string(get_option('ksher_logo'))) {
    307308                        $data['logo'] = get_option('ksher_logo');
Note: See TracChangeset for help on using the changeset viewer.