Release/0.23.1 (https://github.com/woocommerce/woocommerce-admin/pull/3395)
* release changes 0.23.0 * check onboarding function * version bumps * fix package.json typo * fix version typo
This commit is contained in:
parent
7d48375c0b
commit
6a92ccb932
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@woocommerce/admin-library",
|
||||
"version": "0.23.0",
|
||||
"version": "0.23.1",
|
||||
"homepage": "https://woocommerce.github.io/woocommerce-admin/",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -142,7 +142,7 @@ class FeaturePlugin {
|
|||
$this->define( 'WC_ADMIN_PLUGIN_FILE', WC_ADMIN_ABSPATH . 'woocommerce-admin.php' );
|
||||
// WARNING: Do not directly edit this version number constant.
|
||||
// It is updated as part of the prebuild process from the package.json value.
|
||||
$this->define( 'WC_ADMIN_VERSION_NUMBER', '0.23.0' );
|
||||
$this->define( 'WC_ADMIN_VERSION_NUMBER', '0.23.1' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -611,6 +611,10 @@ class Onboarding {
|
|||
* Update the existing help tab and add an option to enable the new onboarding experience.
|
||||
*/
|
||||
public static function update_help_tab() {
|
||||
if ( ! function_exists( 'wc_get_screen_ids' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$screen = get_current_screen();
|
||||
|
||||
if ( ! $screen || ! in_array( $screen->id, wc_get_screen_ids(), true ) ) {
|
||||
|
@ -662,6 +666,10 @@ class Onboarding {
|
|||
* Update the help tab setup link to reset the onboarding profiler.
|
||||
*/
|
||||
public static function add_help_tab() {
|
||||
if ( ! function_exists( 'wc_get_screen_ids' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$screen = get_current_screen();
|
||||
|
||||
if ( ! $screen || ! in_array( $screen->id, wc_get_screen_ids(), true ) ) {
|
||||
|
|
|
@ -19,7 +19,7 @@ class Package {
|
|||
*
|
||||
* @var string
|
||||
*/
|
||||
const VERSION = '0.23.0';
|
||||
const VERSION = '0.23.1';
|
||||
|
||||
/**
|
||||
* Init the package.
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* Author URI: https://woocommerce.com/
|
||||
* Text Domain: woocommerce-admin
|
||||
* Domain Path: /languages
|
||||
* Version: 0.23.0
|
||||
* Version: 0.23.1
|
||||
* Requires at least: 5.2.0
|
||||
* Requires PHP: 5.6.20
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue