Fix typos

This commit is contained in:
Emili Castells Guasch 2025-03-18 12:56:57 +01:00
parent 65e1ca4eb0
commit 46f9074c41
7 changed files with 16 additions and 16 deletions

View file

@ -180,15 +180,15 @@ class ApplePayGateway extends WC_Payment_Gateway {
);
}
do_action_deprecated( 'woocommerce_paypal_payments_before_process_order', array( $wc_order ), '2.9.7', 'woocommerce_paypal_payments_before_order_process', __( 'Usage of this action is deprecated. Please use the filter woocommerce_paypal_payments_before_order_process instead.', 'woocommerce-paypal-payments' ) );
do_action_deprecated( 'woocommerce_paypal_payments_before_process_order', array( $wc_order ), '3.0.1', 'woocommerce_paypal_payments_before_order_process', __( 'Usage of this action is deprecated. Please use the filter woocommerce_paypal_payments_before_order_process instead.', 'woocommerce-paypal-payments' ) );
try {
try {
/**
* This filter controls if the method 'precess()' from OrderProcessor will be called.
* This filter controls if the method 'process()' from OrderProcessor will be called.
* So you can implement your own for example on subscriptions
*
* - true bool controls execution of 'OrderProcessor::precess()'
* - true bool controls execution of 'OrderProcessor::process()'
* - $this \WC_Payment_Gateway
* - $wc_order \WC_Order
*/

View file

@ -255,10 +255,10 @@ class AxoGateway extends WC_Payment_Gateway {
$order = $this->create_paypal_order( $wc_order, $token );
/**
* This filter controls if the method 'precess()' from OrderProcessor will be called.
* This filter controls if the method 'process()' from OrderProcessor will be called.
* So you can implement your own for example on subscriptions
*
* - true bool controls execution of 'OrderProcessor::precess()'
* - true bool controls execution of 'OrderProcessor::process()'
* - $this \WC_Payment_Gateway
* - $wc_order \WC_Order
*/

View file

@ -189,15 +189,15 @@ class GooglePayGateway extends WC_Payment_Gateway {
}
//phpcs:enable WordPress.Security.NonceVerification.Recommended
do_action_deprecated( 'woocommerce_paypal_payments_before_process_order', array( $wc_order ), '2.9.7', 'woocommerce_paypal_payments_before_order_process', __( 'Usage of this action is deprecated. Please use the filter woocommerce_paypal_payments_before_order_process instead.', 'woocommerce-paypal-payments' ) );
do_action_deprecated( 'woocommerce_paypal_payments_before_process_order', array( $wc_order ), '3.0.1', 'woocommerce_paypal_payments_before_order_process', __( 'Usage of this action is deprecated. Please use the filter woocommerce_paypal_payments_before_order_process instead.', 'woocommerce-paypal-payments' ) );
try {
try {
/**
* This filter controls if the method 'precess()' from OrderProcessor will be called.
* This filter controls if the method 'process()' from OrderProcessor will be called.
* So you can implement your own for example on subscriptions
*
* - true bool controls execution of 'OrderProcessor::precess()'
* - true bool controls execution of 'OrderProcessor::process()'
* - $this \WC_Payment_Gateway
* - $wc_order \WC_Order
*/

View file

@ -286,10 +286,10 @@ class CardButtonGateway extends \WC_Payment_Gateway {
try {
try {
/**
* This filter controls if the method 'precess()' from OrderProcessor will be called.
* This filter controls if the method 'process()' from OrderProcessor will be called.
* So you can implement your own for example on subscriptions
*
* - true bool controls execution of 'OrderProcessor::precess()'
* - true bool controls execution of 'OrderProcessor::process()'
* - $this \WC_Payment_Gateway
* - $wc_order \WC_Order
*/

View file

@ -517,10 +517,10 @@ class CreditCardGateway extends \WC_Payment_Gateway_CC {
try {
/**
* This filter controls if the method 'precess()' from OrderProcessor will be called.
* This filter controls if the method 'process()' from OrderProcessor will be called.
* So you can implement your own for example on subscriptions
*
* - true bool controls execution of 'OrderProcessor::precess()'
* - true bool controls execution of 'OrderProcessor::process()'
* - $this \WC_Payment_Gateway
* - $wc_order \WC_Order
*/

View file

@ -616,10 +616,10 @@ class PayPalGateway extends \WC_Payment_Gateway {
try {
try {
/**
* This filter controls if the method 'precess()' from OrderProcessor will be called.
* This filter controls if the method 'process()' from OrderProcessor will be called.
* So you can implement your own for example on subscriptions
*
* - true bool controls execution of 'OrderProcessor::precess()'
* - true bool controls execution of 'OrderProcessor::process()'
* - $this \WC_Payment_Gateway
* - $wc_order \WC_Order
*/

View file

@ -231,10 +231,10 @@ class CheckoutOrderApproved implements RequestHandler {
try {
/**
* This filter controls if the method 'precess()' from OrderProcessor will be called.
* This filter controls if the method 'process()' from OrderProcessor will be called.
* So you can implement your own for example on subscriptions
*
* - true bool controls execution of 'OrderProcessor::precess()'
* - true bool controls execution of 'OrderProcessor::process()'
* - $this \WC_Payment_Gateway
* - $wc_order \WC_Order
*/