woocommerce/includes/admin/views/html-notice-mijireh.php

24 lines
952 B
PHP
Raw Normal View History

<?php
/**
* Admin View: Notice - Mijireh
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
2014-09-10 18:03:13 +00:00
$plugin_slug = 'woocommerce-mijireh-checkout';
if ( current_user_can( 'install_plugins' ) ) {
$url = wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=' . $plugin_slug ), 'install-plugin_' . $plugin_slug );
} else {
$url = 'http://wordpress.org/plugins/' . $plugin_slug;
}
?>
<div id="message" class="updated woocommerce-message wc-connect">
2014-09-10 18:03:13 +00:00
<p><?php _e( '<strong>The Mijireh payment gateway is deprecated</strong> &#8211; It is recommended that you install the replacement Mijireh plugin from WordPress.org as soon as possible. Mijireh will be removed from WC core completely as part of a future update.', 'woocommerce' ); ?></p>
<p class="submit"><a href="<?php echo esc_url( $url ); ?>" class="wc-update-now button-primary"><?php _e( 'Install the new Mijireh plugin', 'woocommerce' ); ?></a></p>
2014-09-10 18:03:13 +00:00
</div>