Commit Graph

44 Commits

Author SHA1 Message Date
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 df37133e8a revert plugin title changes, update per review feedback 2021-01-05 16:59:15 -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
Ron Rennick 17f8b35d05 update bug report url to work with latest WC versions 2020-09-22 15:37:39 -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 5ea48d1e1c Hard-coded issue template 2018-07-06 10:12:53 -07:00
Mike Jolley 988d14f64c Hide menus 2018-06-25 15:00:00 +01:00
Mike Jolley b81b4e2a6e Text tweaks and styling, phpcs 2018-06-25 12:35:57 +01: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
Mike Jolley 3a31bd10fd Edit text nodes 2018-06-07 12:55:40 +01:00
Peter Fabian 3e75307f33 Merge branch 'master' into add/version-picking 2018-06-06 23:19:25 +02:00
Mike Jolley 04946ed0a4 Add settings 2018-06-06 16:14:32 +01:00
Peter Fabian ee0b9a6db1 Merge branch 'master' into add/version-picking 2018-06-06 15:52:26 +02:00
Boro Sitnikovski 3040c55667 Correct docblock 2018-06-06 14:32:49 +02:00
Boro Sitnikovski 56a5827451 Address PR comments 2018-06-06 14:28:24 +02:00
Peter Fabian 8614a8d33e Added link to version pick from admin toolbar. 2018-06-06 14:10:50 +02:00
Boro Sitnikovski d5814c118d Fix code styles 2018-06-06 10:07:45 +02:00
Boro Sitnikovski a8f7279dfd Initial implementation for version switch modal 2018-06-06 10:02:45 +02:00
Boro Sitnikovski 845279a1d3 Remove unnecessary ob_start call 2018-06-05 23:52:31 +02:00
Claudio Sanches add146aee1 Typo 2018-06-05 16:04:11 -03:00
Claudio Sanches 9f55a1d8b2 Merge branch 'master' into improve/github-ticket-content 2018-06-05 16:02:47 -03:00
Claudio Sanches 2a8e7eda19 Fixed wrong variable 2018-06-05 15:22:51 -03:00
Claudio Sanches ab186e05f2 Improve how environment data is generated 2018-06-05 15:15:16 -03:00
Claudio Sanches 2da5e342e0 Fixed coding standards 2018-06-05 14:36:09 -03:00
Claudio Sanches 2f4c497913 Check if WC_Admin_Status exists before load admin bar 2018-06-05 14:21:23 -03:00
Gerhard Potgieter 4a8140e5f9 Merge pull request woocommerce/woocommerce-beta-tester#25 from woocommerce/tweak/submit-gh-ticket
Initial implementation for submitting ticket to GH
2018-06-05 14:17:34 +02:00
Boro Sitnikovski ddd764f2a5 Use esc_js on the javascript part 2018-06-05 14:14:01 +02:00
Gerhard Potgieter 3f702999c2 Lookup version when adding to GH ticket 2018-06-05 14:10:55 +02:00
Gerhard Potgieter bcac545022 Stable, not RC by default 2018-06-05 13:46:34 +02:00
Gerhard Potgieter 5fbefe30c3 Fetch current_channel programatically 2018-06-05 13:45:09 +02:00
Boro Sitnikovski d40391237f Use correct Settings URL 2018-06-05 13:16:58 +02:00
Boro Sitnikovski cadd814916 Initial implementation for submitting ticket to GH 2018-06-05 12:46:55 +02:00
Boro Sitnikovski ab3c1b1ec3 Update correct text domain and add another todo 2018-06-05 10:49:28 +02:00
Boro Sitnikovski a9b5c8917d Initial commit for feedback bar 2018-06-05 10:37:08 +02:00