Plugin Directory

Changeset 3225161


Ignore:
Timestamp:
01/19/2025 08:27:50 PM (15 months ago)
Author:
lokuswp
Message:

Update to version 1.4.2 from GitHub

Location:
banking-blocks-for-woocommerce
Files:
22 edited
1 copied

Legend:

Unmodified
Added
Removed
  • banking-blocks-for-woocommerce/tags/1.4.2/banking-blocks-for-woocommerce.php

    r3225158 r3225161  
    77 * Author: LokusWP
    88 * Author URI: https://lokuswp.com
    9  * Version: 1.4.0
     9 * Version: 1.4.2
    1010 * Text Domain: banking-blocks
    1111 * License: GPLv3
     
    1717}
    1818
    19 define('BBWC_VERSION', '1.4.0');
     19define('BBWC_VERSION', '1.4.2');
    2020defined('BBWC_PATH') || define('BBWC_PATH', plugin_dir_path(__FILE__));
    2121defined('BBWC_URL') || define('BBWC_URL', plugin_dir_url(__FILE__));
  • banking-blocks-for-woocommerce/tags/1.4.2/readme.txt

    r3225159 r3225161  
    55Requires at least: 6.5
    66Tested up to: 6.7.1
    7 Stable tag: 1.4.0
     7Stable tag: 1.4.2
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
  • banking-blocks-for-woocommerce/tags/1.4.2/src/methods/bank/wc-gateway-bank-bca.php

    r3225158 r3225161  
    172172    }
    173173
    174     public function thankyou_page($order_id)
     174    public function thankyou_page($order)
    175175    {
    176176        static $has_run;
     
    179179        } $has_run = true; // Prevent subsequent runs
    180180
    181         if ($this->instructions) {
    182             echo wp_kses_post(wpautop(wptexturize($this->instructions)));
    183         }
    184         $this->bank_details($order_id);
     181        if ($this->id === $order->get_payment_method()) {
     182
     183            if ($this->instructions) {
     184                echo wp_kses_post(wpautop(wptexturize($this->instructions)));
     185            }
     186            $this->bank_details($order->get_id());
     187        }
    185188    }
    186189
  • banking-blocks-for-woocommerce/tags/1.4.2/src/methods/bank/wc-gateway-bank-bni.php

    r3225158 r3225161  
    173173    }
    174174
    175     public function thankyou_page($order_id)
     175    public function thankyou_page($order)
    176176    {
    177177        static $has_run;
     
    180180        } $has_run = true; // Prevent subsequent runs
    181181
    182         if ($this->instructions) {
    183             echo wp_kses_post(wpautop(wptexturize($this->instructions)));
    184         }
    185         $this->bank_details($order_id);
     182        if ($this->id === $order->get_payment_method()) {
     183
     184            if ($this->instructions) {
     185                echo wp_kses_post(wpautop(wptexturize($this->instructions)));
     186            }
     187            $this->bank_details($order->get_id());
     188        }
    186189    }
    187190
  • banking-blocks-for-woocommerce/tags/1.4.2/src/methods/bank/wc-gateway-bank-bri.php

    r3225158 r3225161  
    173173    }
    174174
    175     public function thankyou_page($order_id)
     175    public function thankyou_page($order)
    176176    {
    177177        static $has_run;
     
    180180        } $has_run = true; // Prevent subsequent runs
    181181
    182         if ($this->instructions) {
    183             echo wp_kses_post(wpautop(wptexturize($this->instructions)));
    184         }
    185         $this->bank_details($order_id);
     182        if ($this->id === $order->get_payment_method()) {
     183
     184            if ($this->instructions) {
     185                echo wp_kses_post(wpautop(wptexturize($this->instructions)));
     186            }
     187            $this->bank_details($order->get_id());
     188        }
    186189    }
    187190
  • banking-blocks-for-woocommerce/tags/1.4.2/src/methods/bank/wc-gateway-bank-bsi.php

    r3225158 r3225161  
    172172    }
    173173
    174     public function thankyou_page($order_id)
     174    public function thankyou_page($order)
    175175    {
    176176        static $has_run;
     
    179179        } $has_run = true; // Prevent subsequent runs
    180180
    181         if ($this->instructions) {
    182             echo wp_kses_post(wpautop(wptexturize($this->instructions)));
    183         }
    184         $this->bank_details($order_id);
    185     }
    186 
     181        if ($this->id === $order->get_payment_method()) {
     182
     183            if ($this->instructions) {
     184                echo wp_kses_post(wpautop(wptexturize($this->instructions)));
     185            }
     186            $this->bank_details($order->get_id());
     187        }
     188    }
     189   
    187190    public function process_payment($order_id)
    188191    {
  • banking-blocks-for-woocommerce/tags/1.4.2/src/methods/bank/wc-gateway-bank-mandiri.php

    r3225158 r3225161  
    172172    }
    173173
    174     public function thankyou_page($order_id)
     174    public function thankyou_page($order)
    175175    {
    176176        static $has_run;
     
    179179        } $has_run = true; // Prevent subsequent runs
    180180
    181         if ($this->instructions) {
    182             echo wp_kses_post(wpautop(wptexturize($this->instructions)));
    183         }
    184         $this->bank_details($order_id);
     181        if ($this->id === $order->get_payment_method()) {
     182
     183            if ($this->instructions) {
     184                echo wp_kses_post(wpautop(wptexturize($this->instructions)));
     185            }
     186            $this->bank_details($order->get_id());
     187        }
    185188    }
    186189
  • banking-blocks-for-woocommerce/tags/1.4.2/src/methods/bank/wc-gateway-local-bank.php

    r3225158 r3225161  
    171171    }
    172172
    173     public function thankyou_page($order_id)
     173    public function thankyou_page($order)
    174174    {
    175175        static $has_run;
     
    178178        } $has_run = true; // Prevent subsequent runs
    179179
    180         if ($this->instructions) {
    181             echo wp_kses_post(wpautop(wptexturize($this->instructions)));
    182         }
    183         $this->bank_details($order_id);
     180        if ($this->id === $order->get_payment_method()) {
     181
     182            if ($this->instructions) {
     183                echo wp_kses_post(wpautop(wptexturize($this->instructions)));
     184            }
     185            $this->bank_details($order->get_id());
     186        }
    184187    }
    185188
  • banking-blocks-for-woocommerce/tags/1.4.2/src/methods/bank/wc-gateway-lokal-bank.php

    r3225158 r3225161  
    172172    }
    173173
    174     public function thankyou_page($order_id)
     174    public function thankyou_page($order)
    175175    {
    176176        static $has_run;
     
    179179        } $has_run = true; // Prevent subsequent runs
    180180
    181         if ($this->instructions) {
    182             echo wp_kses_post(wpautop(wptexturize($this->instructions)));
    183         }
    184         $this->bank_details($order_id);
     181        if ($this->id === $order->get_payment_method()) {
     182
     183            if ($this->instructions) {
     184                echo wp_kses_post(wpautop(wptexturize($this->instructions)));
     185            }
     186            $this->bank_details($order->get_id());
     187        }
    185188    }
    186189
  • banking-blocks-for-woocommerce/tags/1.4.2/src/methods/wallet/wc-gateway-dana.php

    r3225158 r3225161  
    164164    }
    165165
    166     public function thankyou_page($order_id)
     166    public function thankyou_page($order)
    167167    {
    168168        static $has_run;
     
    171171        } $has_run = true; // Prevent subsequent runs
    172172
    173         if ($this->instructions) {
    174             echo wp_kses_post(wpautop(wptexturize($this->instructions)));
    175         }
    176         $this->bank_details($order_id);
     173        if ($this->id === $order->get_payment_method()) {
     174
     175            if ($this->instructions) {
     176                echo wp_kses_post(wpautop(wptexturize($this->instructions)));
     177            }
     178            $this->bank_details($order->get_id());
     179        }
    177180    }
    178181
  • banking-blocks-for-woocommerce/tags/1.4.2/src/methods/wallet/wc-gateway-qris.php

    r3225158 r3225161  
    101101    }
    102102
    103     public function thankyou_page($order_id)
     103    public function thankyou_page($order)
    104104    {
    105105        static $has_run;
     
    108108        } $has_run = true; // Prevent subsequent runs
    109109
    110         if ($this->instructions) {
    111             echo wp_kses_post(wpautop(wptexturize($this->instructions)));
    112         }
    113         $this->display_qris($order_id);
     110        if ($this->id === $order->get_payment_method()) {
     111
     112            if ($this->instructions) {
     113                echo wp_kses_post(wpautop(wptexturize($this->instructions)));
     114            }
     115            $this->bank_details($order->get_id());
     116        }
    114117    }
    115118
  • banking-blocks-for-woocommerce/trunk/banking-blocks-for-woocommerce.php

    r3225158 r3225161  
    77 * Author: LokusWP
    88 * Author URI: https://lokuswp.com
    9  * Version: 1.4.0
     9 * Version: 1.4.2
    1010 * Text Domain: banking-blocks
    1111 * License: GPLv3
     
    1717}
    1818
    19 define('BBWC_VERSION', '1.4.0');
     19define('BBWC_VERSION', '1.4.2');
    2020defined('BBWC_PATH') || define('BBWC_PATH', plugin_dir_path(__FILE__));
    2121defined('BBWC_URL') || define('BBWC_URL', plugin_dir_url(__FILE__));
  • banking-blocks-for-woocommerce/trunk/readme.txt

    r3225159 r3225161  
    55Requires at least: 6.5
    66Tested up to: 6.7.1
    7 Stable tag: 1.4.0
     7Stable tag: 1.4.2
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
  • banking-blocks-for-woocommerce/trunk/src/methods/bank/wc-gateway-bank-bca.php

    r3225158 r3225161  
    172172    }
    173173
    174     public function thankyou_page($order_id)
     174    public function thankyou_page($order)
    175175    {
    176176        static $has_run;
     
    179179        } $has_run = true; // Prevent subsequent runs
    180180
    181         if ($this->instructions) {
    182             echo wp_kses_post(wpautop(wptexturize($this->instructions)));
    183         }
    184         $this->bank_details($order_id);
     181        if ($this->id === $order->get_payment_method()) {
     182
     183            if ($this->instructions) {
     184                echo wp_kses_post(wpautop(wptexturize($this->instructions)));
     185            }
     186            $this->bank_details($order->get_id());
     187        }
    185188    }
    186189
  • banking-blocks-for-woocommerce/trunk/src/methods/bank/wc-gateway-bank-bni.php

    r3225158 r3225161  
    173173    }
    174174
    175     public function thankyou_page($order_id)
     175    public function thankyou_page($order)
    176176    {
    177177        static $has_run;
     
    180180        } $has_run = true; // Prevent subsequent runs
    181181
    182         if ($this->instructions) {
    183             echo wp_kses_post(wpautop(wptexturize($this->instructions)));
    184         }
    185         $this->bank_details($order_id);
     182        if ($this->id === $order->get_payment_method()) {
     183
     184            if ($this->instructions) {
     185                echo wp_kses_post(wpautop(wptexturize($this->instructions)));
     186            }
     187            $this->bank_details($order->get_id());
     188        }
    186189    }
    187190
  • banking-blocks-for-woocommerce/trunk/src/methods/bank/wc-gateway-bank-bri.php

    r3225158 r3225161  
    173173    }
    174174
    175     public function thankyou_page($order_id)
     175    public function thankyou_page($order)
    176176    {
    177177        static $has_run;
     
    180180        } $has_run = true; // Prevent subsequent runs
    181181
    182         if ($this->instructions) {
    183             echo wp_kses_post(wpautop(wptexturize($this->instructions)));
    184         }
    185         $this->bank_details($order_id);
     182        if ($this->id === $order->get_payment_method()) {
     183
     184            if ($this->instructions) {
     185                echo wp_kses_post(wpautop(wptexturize($this->instructions)));
     186            }
     187            $this->bank_details($order->get_id());
     188        }
    186189    }
    187190
  • banking-blocks-for-woocommerce/trunk/src/methods/bank/wc-gateway-bank-bsi.php

    r3225158 r3225161  
    172172    }
    173173
    174     public function thankyou_page($order_id)
     174    public function thankyou_page($order)
    175175    {
    176176        static $has_run;
     
    179179        } $has_run = true; // Prevent subsequent runs
    180180
    181         if ($this->instructions) {
    182             echo wp_kses_post(wpautop(wptexturize($this->instructions)));
    183         }
    184         $this->bank_details($order_id);
    185     }
    186 
     181        if ($this->id === $order->get_payment_method()) {
     182
     183            if ($this->instructions) {
     184                echo wp_kses_post(wpautop(wptexturize($this->instructions)));
     185            }
     186            $this->bank_details($order->get_id());
     187        }
     188    }
     189   
    187190    public function process_payment($order_id)
    188191    {
  • banking-blocks-for-woocommerce/trunk/src/methods/bank/wc-gateway-bank-mandiri.php

    r3225158 r3225161  
    172172    }
    173173
    174     public function thankyou_page($order_id)
     174    public function thankyou_page($order)
    175175    {
    176176        static $has_run;
     
    179179        } $has_run = true; // Prevent subsequent runs
    180180
    181         if ($this->instructions) {
    182             echo wp_kses_post(wpautop(wptexturize($this->instructions)));
    183         }
    184         $this->bank_details($order_id);
     181        if ($this->id === $order->get_payment_method()) {
     182
     183            if ($this->instructions) {
     184                echo wp_kses_post(wpautop(wptexturize($this->instructions)));
     185            }
     186            $this->bank_details($order->get_id());
     187        }
    185188    }
    186189
  • banking-blocks-for-woocommerce/trunk/src/methods/bank/wc-gateway-local-bank.php

    r3225158 r3225161  
    171171    }
    172172
    173     public function thankyou_page($order_id)
     173    public function thankyou_page($order)
    174174    {
    175175        static $has_run;
     
    178178        } $has_run = true; // Prevent subsequent runs
    179179
    180         if ($this->instructions) {
    181             echo wp_kses_post(wpautop(wptexturize($this->instructions)));
    182         }
    183         $this->bank_details($order_id);
     180        if ($this->id === $order->get_payment_method()) {
     181
     182            if ($this->instructions) {
     183                echo wp_kses_post(wpautop(wptexturize($this->instructions)));
     184            }
     185            $this->bank_details($order->get_id());
     186        }
    184187    }
    185188
  • banking-blocks-for-woocommerce/trunk/src/methods/bank/wc-gateway-lokal-bank.php

    r3225158 r3225161  
    172172    }
    173173
    174     public function thankyou_page($order_id)
     174    public function thankyou_page($order)
    175175    {
    176176        static $has_run;
     
    179179        } $has_run = true; // Prevent subsequent runs
    180180
    181         if ($this->instructions) {
    182             echo wp_kses_post(wpautop(wptexturize($this->instructions)));
    183         }
    184         $this->bank_details($order_id);
     181        if ($this->id === $order->get_payment_method()) {
     182
     183            if ($this->instructions) {
     184                echo wp_kses_post(wpautop(wptexturize($this->instructions)));
     185            }
     186            $this->bank_details($order->get_id());
     187        }
    185188    }
    186189
  • banking-blocks-for-woocommerce/trunk/src/methods/wallet/wc-gateway-dana.php

    r3225158 r3225161  
    164164    }
    165165
    166     public function thankyou_page($order_id)
     166    public function thankyou_page($order)
    167167    {
    168168        static $has_run;
     
    171171        } $has_run = true; // Prevent subsequent runs
    172172
    173         if ($this->instructions) {
    174             echo wp_kses_post(wpautop(wptexturize($this->instructions)));
    175         }
    176         $this->bank_details($order_id);
     173        if ($this->id === $order->get_payment_method()) {
     174
     175            if ($this->instructions) {
     176                echo wp_kses_post(wpautop(wptexturize($this->instructions)));
     177            }
     178            $this->bank_details($order->get_id());
     179        }
    177180    }
    178181
  • banking-blocks-for-woocommerce/trunk/src/methods/wallet/wc-gateway-qris.php

    r3225158 r3225161  
    101101    }
    102102
    103     public function thankyou_page($order_id)
     103    public function thankyou_page($order)
    104104    {
    105105        static $has_run;
     
    108108        } $has_run = true; // Prevent subsequent runs
    109109
    110         if ($this->instructions) {
    111             echo wp_kses_post(wpautop(wptexturize($this->instructions)));
    112         }
    113         $this->display_qris($order_id);
     110        if ($this->id === $order->get_payment_method()) {
     111
     112            if ($this->instructions) {
     113                echo wp_kses_post(wpautop(wptexturize($this->instructions)));
     114            }
     115            $this->bank_details($order->get_id());
     116        }
    114117    }
    115118
Note: See TracChangeset for help on using the changeset viewer.