Merge pull request woocommerce/woocommerce-beta-tester#102 from woocommerce/fix/101

Update static resource enqueue logic
This commit is contained in:
Greg 2021-09-29 11:05:12 -06:00 committed by GitHub
commit ce703e4327
6 changed files with 17 additions and 9 deletions

View File

@ -1,4 +1,8 @@
== Changelog ==
2021-09-22 - version 2.0.3
2021-09-29 - version 2.0.4
- Dev: Bump tested to version
- Fix: enqueue logic for css/js assets
2021-09-22 - version 2.0.3
- Fix: Bump version to release version including admin.css.

View File

@ -54,7 +54,7 @@ class WC_Beta_Tester_Admin_Assets {
)
);
if ( in_array( $screen_id, array( 'woocommerce_page_wc-beta-tester', 'woocommerce_page_wc-beta-tester-version-picker' ) ) ) {
if ( in_array( $screen_id, array( 'plugins_page_wc-beta-tester', 'plugins_page_wc-beta-tester-version-picker' ) ) ) {
wp_enqueue_style( 'wc-beta-tester-admin' );
wp_enqueue_script( 'wc-beta-tester-version-info' );
wp_enqueue_script( 'wc-beta-tester-version-picker' );

View File

@ -1,6 +1,6 @@
{
"name": "woocommerce-beta-tester",
"version": "2.0.3",
"version": "2.0.4",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -7,7 +7,7 @@
"url": "git://github.com/woocommerce/woocommerce-beta-tester.git"
},
"title": "WooCommerce Beta Tester",
"version": "2.0.3",
"version": "2.0.4",
"homepage": "http://github.com/woocommerce/woocommerce-beta-tester",
"devDependencies": {
"eslint": "5.16.0",

View File

@ -3,7 +3,7 @@ Contributors: automattic, bor0, claudiosanches, claudiulodro, kloon, mikejolley,
Tags: woocommerce, woo commerce, beta, beta tester, bleeding edge, testing
Requires at least: 4.7
Tested up to: 5.6
Stable tag: 2.0.3
Stable tag: 2.0.4
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
@ -53,8 +53,12 @@ See our [contributing guidelines here](https://github.com/woocommerce/woocommerc
== Changelog ==
= 2.0.3 - 2021-09-22 =
= 2.0.4 - 2021-09-29 =
* Dev: Bump tested to version
* Fix: enqueue logic for css/js assets
= 2.0.3 - 2021-09-22 =
* Fix: Bump version to release version including admin.css.
= 2.0.2 =

View File

@ -3,13 +3,13 @@
* Plugin Name: WooCommerce Beta Tester
* Plugin URI: https://github.com/woocommerce/woocommerce-beta-tester
* Description: Run bleeding edge versions of WooCommerce. This will replace your installed version of WooCommerce with the latest tagged release - use with caution, and not on production sites.
* Version: 2.0.3
* Version: 2.0.4
* Author: WooCommerce
* Author URI: http://woocommerce.com/
* Requires at least: 4.4
* Tested up to: 5.6
* Tested up to: 5.8
* WC requires at least: 3.6.0
* WC tested up to: 4.8.0
* WC tested up to: 5.7.0
* Text Domain: woocommerce-beta-tester
*
* @package WC_Beta_Tester