Use `_` instead of `-` as per convention.
This commit is contained in:
parent
6afbed0c14
commit
4fce106f14
|
@ -19,7 +19,7 @@ defined( 'ABSPATH' ) || exit;
|
||||||
<p>
|
<p>
|
||||||
<?php
|
<?php
|
||||||
$verify_db_tool_available = array_key_exists( 'verify_db_tables', WC_Admin_Status::get_tools() );
|
$verify_db_tool_available = array_key_exists( 'verify_db_tables', WC_Admin_Status::get_tools() );
|
||||||
$missing_tables = get_option( 'woocommerce-schema-missing-tables' );
|
$missing_tables = get_option( 'woocommerce_schema_missing_tables' );
|
||||||
if ( $verify_db_tool_available ) {
|
if ( $verify_db_tool_available ) {
|
||||||
echo wp_kses_post(
|
echo wp_kses_post(
|
||||||
sprintf(
|
sprintf(
|
||||||
|
|
|
@ -330,13 +330,13 @@ class WC_Install {
|
||||||
if ( $modify_notice ) {
|
if ( $modify_notice ) {
|
||||||
WC_Admin_Notices::add_notice( 'base_tables_missing' );
|
WC_Admin_Notices::add_notice( 'base_tables_missing' );
|
||||||
}
|
}
|
||||||
update_option( 'woocommerce-schema-missing-tables', $missing_tables );
|
update_option( 'woocommerce_schema_missing_tables', $missing_tables );
|
||||||
} else {
|
} else {
|
||||||
if ( $modify_notice ) {
|
if ( $modify_notice ) {
|
||||||
WC_Admin_Notices::remove_notice( 'base_tables_missing' );
|
WC_Admin_Notices::remove_notice( 'base_tables_missing' );
|
||||||
}
|
}
|
||||||
update_option( 'woocommerce-schema-version', WC()->version );
|
update_option( 'woocommerce_schema_version', WC()->version );
|
||||||
delete_option( 'woocommerce-schema-missing-tables' );
|
delete_option( 'woocommerce_schema_missing_tables' );
|
||||||
}
|
}
|
||||||
return $missing_tables;
|
return $missing_tables;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue