/var/www/(Del)hsihk.com/wp-content/plugins/woocommerce/includes/admin/views/html-notice-update.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
/**
 * Admin View: Notice - Update
 */

if ( ! defined'ABSPATH' ) ) {
    exit; 
// Exit if accessed directly
}

?>

<div id="message" class="updated woocommerce-message wc-connect">
    <p><?php _e'<strong>WooCommerce Data Update Required</strong> &#8211; We just need to update your install to the latest version''woocommerce' ); ?></p>
    <p class="submit"><a href="<?php echo add_query_arg'do_update_woocommerce''true'admin_url'admin.php?page=wc-settings' ) ); ?>" class="wc-update-now button-primary"><?php _e'Run the updater''woocommerce' ); ?></a></p>
</div>
<script type="text/javascript">
    jQuery('.wc-update-now').click('click', function(){
        var answer = confirm( '<?php _e'It is strongly recommended that you backup your database before proceeding. Are you sure you wish to run the updater now?''woocommerce' ); ?>' );
        return answer;
    });
</script>