Use admin_url instead of using absolute url to support subfolder installs

This commit is contained in:
vedanshujain 2020-03-11 21:30:35 +05:30
parent bc4f246dc0
commit 75c3583ff5
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ defined( 'ABSPATH' ) || exit;
sprintf(
/* translators: %s: Link to settings page. */
__( 'Your store is configured to serve digital products using "Redirect only" method. This method is deprecated, <a href="%s">please switch to a different method instead.</a>', 'woocommerce' ),
'/wp-admin/admin.php?page=wc-settings&tab=products&section=downloadable'
admin_url( 'admin.php?page=wc-settings&tab=products&section=downloadable' )
)
);
?>