Skip to content

Commit

Permalink
Merge fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
RadoslavGeorgiev committed Nov 2, 2022
1 parent 15a69bf commit 9c1ce77
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions includes/class-wc-payment-gateway-wcpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -2946,6 +2946,30 @@ public function append_stripelink_button( $field, $key, $args, $value ) {

// Start: Deprecated functions.

/**
* Whether the current page is the WooCommerce Payments settings page.
*
* @deprecated 5.0.0
*
* @return bool
*/
public static function is_current_page_settings() {
wc_deprecated_function( __FUNCTION__, '5.0.0', 'WC_Payments_Admin_Settings::is_current_page_settings' );
return WC_Payments_Admin_Settings::is_current_page_settings();
}

/**
* Returns the URL of the configuration screen for this gateway, for use in internal links.
*
* @deprecated 5.0.0
*
* @return string URL of the configuration screen for this gateway
*/
public static function get_settings_url() {
wc_deprecated_function( __FUNCTION__, '5.0.0', 'WC_Payments_Admin_Settings::get_settings_url' );
return WC_Payments_Admin_Settings::get_settings_url();
}

/**
* Generates the configuration values, needed for payment fields.
*
Expand Down

0 comments on commit 9c1ce77

Please sign in to comment.