Commit Graph

112 Commits

Author SHA1 Message Date
Greg 3f2a0c3508 Lower case string comparison for versions (https://github.com/woocommerce/woocommerce-beta-tester/pull/105)
* Lower case string comparison for versions

* Embolden the installed version text
2021-11-18 13:49:46 +01:00
Ron Rennick c3b610b724 fix conditional logic for enqueuing static resources 2021-09-23 15:26:56 -03:00
Claudio Sanches 91b0e6c0a5 Load assets only inside Woo Beta Tester pages
Fix conflicts with other plugins
2021-02-02 13:45:57 -03:00
Ron Rennick 291c51cfa3 Merge pull request woocommerce/woocommerce-beta-tester#79 from woocommerce/poc/settings-import-export
Add import/export settings functionality
2021-01-07 15:19:06 -04:00
Ron Rennick 14a5e75689 Update includes/class-wc-beta-tester-import-export.php
Fix typo

Co-authored-by: Leif Singer <github.2017@singer.sh>
2021-01-07 15:17:48 -04:00
Ron Rennick df37133e8a revert plugin title changes, update per review feedback 2021-01-05 16:59:15 -04:00
Ron Rennick d6985d8784 Merge pull request woocommerce/woocommerce-beta-tester#73 from woocommerce/fix/67
update bug report url to work with latest WC versions
2020-11-19 14:13:02 -04:00
Ron Rennick 0d83c6a7c2 handle non-existent settings 2020-11-06 15:15:55 -04:00
Ron Rennick a8aefacad8 Clean up proof of concept
- Add nonces where missing
- Add status import messages
- Move multiple menu handling code to menu class
2020-11-06 14:36:02 -04:00
Ron Rennick 7ff1ed04fa add rudimentary settings file import 2020-11-05 14:57:21 -04:00
Ron Rennick 1625d52187 add export settings functionality 2020-11-03 14:27:32 -04:00
Marco Almeida d66cf442d9 Fixes "Notice: Undefined variable: item"
Fixes "Notice: Undefined variable: item" when running the WC_Beta_Tester auto_update_woocommerce method on the wp-admin plugins.php file
2020-09-29 09:42:19 +01:00
Ron Rennick 9d3fa2c5fb remove versions lower than 3.6 from switch to list 2020-09-28 15:28:58 -03:00
Ron Rennick 4cda59f96c Merge pull request woocommerce/woocommerce-beta-tester#71 from woocommerce/fix/61
add right margin to version modal header
2020-09-25 11:27:29 -03:00
Ron Rennick 79784019af Merge pull request woocommerce/woocommerce-beta-tester#72 from woocommerce/fix/62
only show activate WooCommerce button when WC is installed in default location
2020-09-25 11:26:07 -03:00
Ron Rennick 3ac48cda57 fix auto_update_plugin hook reference 2020-09-22 15:50:54 -03:00
Ron Rennick 17f8b35d05 update bug report url to work with latest WC versions 2020-09-22 15:37:39 -03:00
Ron Rennick e8a3a68de7 only show activate WooCommerce button when WC is installed in default location 2020-09-22 14:21:22 -03:00
Ron Rennick d719451ca1 add right margin to version modal header 2020-09-22 13:42:51 -03:00
Rodrigo Primo e7fa240d26 Merge branch 'master' into add-travis 2019-03-14 07:40:16 -03:00
Rodrigo Primo 5e6ae9bfb6 Fix WPCS violations automatically using phpcbf 2019-03-13 16:54:47 -03:00
Rodrigo Primo 60836b698f Check WC version before calling WC_API::rest_api_includes()
When running WC 3.6 or greater it is necessary to call WC_API::rest_api_includes() to manually load the WC REST API classes. The problem is that this method was private before WC 3.6, so this commit adds a check to only call WC_API::rest_api_includes() when the WC version is 3.6 or greater. For WC older versions, loading the classes is not necessary, as they are always loaded by default.

Without this change, the following error happens when using the beta tester plugin with WC < 3.6:

```
Fatal error: Uncaught Error: Call to private method WC_API::rest_api_includes() from context 'WC_Beta_Tester_Admin_Menus' in /srv/www/wc-beta-tester/htdocs/wp-content/plugins/woocommerce-beta-tester/includes/class-wc-beta-tester-admin-menus.php on line 161
```

Related woocommerce/woocommerce-beta-tester#50
2019-03-13 15:28:58 -03:00
Timmy Crawford 45a828cfaa Updates per feedback. 2019-03-13 10:41:26 -07:00
Timmy Crawford 8e8c9157f7 Fix exception when running against master/3.6-dev 2019-03-06 11:32:25 -08:00
claudiulodro a029008a1e Remove requests to GH 2018-07-06 11:01:42 -07:00
claudiulodro 5ea48d1e1c Hard-coded issue template 2018-07-06 10:12:53 -07:00
Mike Jolley 44ae609d7d Error handling
Closes woocommerce/woocommerce-beta-tester#44
2018-06-25 16:04:30 +01:00
Mike Jolley 988d14f64c Hide menus 2018-06-25 15:00:00 +01:00
Mike Jolley ca3fc80aaa Handle version updates
Closes woocommerce/woocommerce-beta-tester#10
2018-06-25 14:35:10 +01:00
Mike Jolley c67e46e8cf Merge branch 'master' of https://github.com/woocommerce/woocommerce-beta-tester 2018-06-25 12:43:47 +01:00
Mike Jolley b81b4e2a6e Text tweaks and styling, phpcs 2018-06-25 12:35:57 +01:00
Peter Fabian aa4554cf42 Sanitization, escaping and PHPCS updates. 2018-06-11 12:14:39 +02:00
Peter Fabian 1d500c1006 Plugin activation switched from redirect to WP function, then redirect to plugin page. 2018-06-08 18:26:56 +02:00
Peter Fabian 70ac4f9536 Fixed wording on Activate button. 2018-06-08 17:36:01 +02:00
Peter Fabian a3d0e5b906 Added basic version switching. 2018-06-08 17:35:16 +02:00
Boro Sitnikovski c0291f04b7 Add handler for version switch button 2018-06-08 12:31:40 +02:00
Mike Jolley 340e7821c7 Merge pull request woocommerce/woocommerce-beta-tester#31 from woocommerce/add/version-picking
Initial code to create a list of versions based on wp.org API.
2018-06-07 15:27:37 +01:00
Mike Jolley 09532920ac Merge pull request woocommerce/woocommerce-beta-tester#42 from woocommerce/tweak/include-theme-plugin-ssr-info
Include information about plugins/theme in the GH issue submission de…
2018-06-07 15:03:34 +01:00
Boro Sitnikovski aac0f30a2a Use correct textdomain 2018-06-07 15:40:48 +02:00
Boro Sitnikovski c053eded70 Merge branch 'master' into add/version-picking 2018-06-07 15:34:52 +02:00
Boro Sitnikovski e345e1bb54 Include information about plugins/theme in the GH issue submission description 2018-06-07 15:16:27 +02:00
Boro Sitnikovski cd42593bc4 Merge pull request woocommerce/woocommerce-beta-tester#41 from woocommerce/tweak/plugin-row-actions
Introduce row actions for the plugin
2018-06-07 14:47:40 +02:00
Boro Sitnikovski 0e1410590d Update class-wc-beta-tester.php 2018-06-07 14:47:30 +02:00
Boro Sitnikovski 66e78a47d8 Introduce row actions for the plugin 2018-06-07 14:18:29 +02:00
Mike Jolley 3a31bd10fd Edit text nodes 2018-06-07 12:55:40 +01:00
Peter Fabian cc2368a763 Code review updates. 2018-06-07 13:12:53 +02:00
Mike Jolley 96e612ebdd Update readme file 2018-06-07 12:11:40 +01:00
Boro Sitnikovski e7ae24135e Merge pull request woocommerce/woocommerce-beta-tester#36 from woocommerce/tweak/pre-release-information
Initial implementation for including additional pre-release information
2018-06-07 12:10:24 +02:00
Boro Sitnikovski 8e8f2389aa Wrap notes in autop and make_clickable 2018-06-07 12:10:11 +02:00
Boro Sitnikovski 0862d365e7 Use hour in seconds 2018-06-07 11:24:38 +02:00