Edit File by line
/home/zeestwma/richards.../wp-conte.../plugins/woocomme.../includes/admin/views
File: html-notice-update.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Admin View: Notice - Update
[2] Fix | Delete
*
[3] Fix | Delete
* @package WooCommerce\Admin
[4] Fix | Delete
*/
[5] Fix | Delete
[6] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[7] Fix | Delete
exit;
[8] Fix | Delete
}
[9] Fix | Delete
[10] Fix | Delete
$update_url = wp_nonce_url(
[11] Fix | Delete
add_query_arg( 'do_update_woocommerce', 'true', admin_url( 'admin.php?page=wc-settings' ) ),
[12] Fix | Delete
'wc_db_update',
[13] Fix | Delete
'wc_db_update_nonce'
[14] Fix | Delete
);
[15] Fix | Delete
[16] Fix | Delete
?>
[17] Fix | Delete
<div id="message" class="updated woocommerce-message wc-connect">
[18] Fix | Delete
<p>
[19] Fix | Delete
<strong><?php esc_html_e( 'WooCommerce database update required', 'woocommerce' ); ?></strong>
[20] Fix | Delete
</p>
[21] Fix | Delete
<p>
[22] Fix | Delete
<?php
[23] Fix | Delete
esc_html_e( 'WooCommerce has been updated! To keep things running smoothly, we have to update your database to the newest version.', 'woocommerce' );
[24] Fix | Delete
[25] Fix | Delete
/* translators: 1: Link to docs 2: Close link. */
[26] Fix | Delete
printf( ' ' . esc_html__( 'The database update process runs in the background and may take a little while, so please be patient. Advanced users can alternatively update via %1$sWP CLI%2$s.', 'woocommerce' ), '<a href="https://developer.woocommerce.com/docs/wc-cli/wc-cli-examples/#upgrading-the-database-using-wp-cli">', '</a>' );
[27] Fix | Delete
?>
[28] Fix | Delete
</p>
[29] Fix | Delete
<p class="submit">
[30] Fix | Delete
<a href="<?php echo esc_url( $update_url ); ?>" class="wc-update-now button-primary">
[31] Fix | Delete
<?php esc_html_e( 'Update WooCommerce Database', 'woocommerce' ); ?>
[32] Fix | Delete
</a>
[33] Fix | Delete
<a href="https://woocommerce.com/document/how-to-update-woocommerce/" class="button-secondary">
[34] Fix | Delete
<?php esc_html_e( 'Learn more about updates', 'woocommerce' ); ?>
[35] Fix | Delete
</a>
[36] Fix | Delete
</p>
[37] Fix | Delete
</div>
[38] Fix | Delete
[39] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function