* release changes 0.23.0

* check onboarding function

* version bumps

* fix package.json typo

* fix version typo
This commit is contained in:
Paul Sealock 2019-12-10 08:02:09 +13:00 committed by GitHub
parent 7d48375c0b
commit 6a92ccb932
5 changed files with 12 additions and 4 deletions

View File

@ -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",

View File

@ -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' );
}
/**

View File

@ -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 ) ) {

View File

@ -19,7 +19,7 @@ class Package {
*
* @var string
*/
const VERSION = '0.23.0';
const VERSION = '0.23.1';
/**
* Init the package.

View File

@ -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
*