Commit Graph

136 Commits

Author SHA1 Message Date
Claudio Sanches 51f1f23e53 Merge pull request woocommerce/woocommerce-beta-tester#52 from woocommerce/add-travis
Add Travis configuration file to the repository
2019-03-14 12:02:43 -03:00
Rodrigo Primo a1625a8136 Merge pull request woocommerce/woocommerce-beta-tester#54 from woocommerce/release-script
Add release script based on WooCommerce release script
2019-03-14 08:53:38 -03:00
Rodrigo Primo 12701047c5 Add release script based on WooCommerce release script 2019-03-14 08:52:25 -03:00
Rodrigo Primo 19dae4fe90 Merge pull request woocommerce/woocommerce-beta-tester#53 from woocommerce/prepare-release
Prepare 2.0.1 release
2019-03-14 08:18:05 -03:00
Rodrigo Primo 7c83440f97 Prepare 2.0.1 release 2019-03-14 08:17:04 -03:00
Rodrigo Primo 062878a5bd Add rodrigosprimo to the list of contributors 2019-03-14 08:15:22 -03:00
Rodrigo Primo e7fa240d26 Merge branch 'master' into add-travis 2019-03-14 07:40:16 -03:00
Claudio Sanches 81fcdb9d17 Merge pull request woocommerce/woocommerce-beta-tester#51 from woocommerce/fix/loading-rest-api
Check WC version before calling WC_API::rest_api_includes()
2019-03-13 17:18:03 -03:00
Rodrigo Primo 503773a800 Fix remaining WPCS violations manually 2019-03-13 16:55:11 -03:00
Rodrigo Primo 5e6ae9bfb6 Fix WPCS violations automatically using phpcbf 2019-03-13 16:54:47 -03:00
Rodrigo Primo dca1f3d4d7 Install composer packages on Travis build to be able to use phpcs 2019-03-13 16:42:52 -03:00
Rodrigo Primo 2098ad0516 Travis should create branch builds only for master 2019-03-13 16:32:20 -03:00
Rodrigo Primo ca10240397 Add Travis configuration file to the repository
For now, using it only to run PHPCS.
2019-03-13 16:30:16 -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
Claudio Sanches f6aef3e3f8 Merge pull request woocommerce/woocommerce-beta-tester#50 from woocommerce/fix/3.6-dev-exception
Fix exception when running against master/3.6-dev
2019-03-13 14:56:57 -03:00
Claudio Sanches 6dfa92760f Merge pull request woocommerce/woocommerce-beta-tester#49 from woocommerce/wp50-compat
Compatibility update for WP 5.1
2019-03-13 14:56:51 -03:00
Claudio Sanches c79d5dabfb Update readme.txt 2019-03-13 14:56:06 -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
Claudio Sanches 3848a9a442 Updated dependencies 2019-02-13 12:23:20 -02:00
Boro Sitnikovski 4024b39357 Compatibility update for WP 5.0
Friendly reminder, this needs to go out together with WP 5.0. cc @claudiulodro
2018-11-19 13:54:51 +01:00
Claudiu Lodromanean 2ec8452074 Merge pull request woocommerce/woocommerce-beta-tester#48 from woocommerce/fix/46
Don't make external requests
2018-07-12 09:29:07 -07: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
Mike Jolley 4a6a892a45 Plugin desc 2018-06-25 12:05:54 +01:00
Mike Jolley f66a629413 Merge pull request woocommerce/woocommerce-beta-tester#43 from woocommerce/tweak/version-switch
Add handler for version switch button
2018-06-25 11:31:44 +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
Mike Jolley fc2dfd4f4a .org assets 2018-06-07 15:01:32 +01:00
Boro Sitnikovski aac0f30a2a Use correct textdomain 2018-06-07 15:40:48 +02:00
Boro Sitnikovski 384fe9b954 Add minified file 2018-06-07 15:39:42 +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
Mike Jolley f59321def6 Merge pull request woocommerce/woocommerce-beta-tester#39 from woocommerce/update/admin-bar
Edit text nodes
2018-06-07 13:38:51 +01: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