Commit Graph

17 Commits

Author SHA1 Message Date
Konstantin Kovshenin f912f39364 Helper: Add better update URLs to plugin subscriptions 2017-05-24 18:11:37 +03:00
Konstantin Kovshenin 353eac70ca Helper: Remove some legacy updater notices 2017-05-24 18:10:31 +03:00
Konstantin Kovshenin e8afe57593 Helper: Add contextual nags about available extension updates 2017-05-24 14:59:48 +03:00
Konstantin Kovshenin a1b3d2834b Helper: Fix duplicate product output 2017-05-24 13:04:52 +03:00
Konstantin Kovshenin dc2360711f Helper: Toggle subscription on plugin activation/deactivation
When a user activates or deactivates an extension, attempt to find
a valid subscription for that extensioni, and activate/deactivate it
to spare the user an extra step.
2017-05-03 14:37:36 +03:00
Konstantin Kovshenin 39218ea323 Helper: Remove everything related to woocommerce.dev 2017-05-03 13:45:43 +03:00
Konstantin Kovshenin 564327cac3 Helper: Use strict comparison when checking response code from update-check 2017-05-03 13:34:55 +03:00
Konstantin Kovshenin ca93452354 Helper: Fix some missing docblocks 2017-05-03 13:33:39 +03:00
Konstantin Kovshenin 48a44eb7e5 Helper: Add some missing docblocks 2017-04-26 18:50:38 +03:00
Konstantin Kovshenin c440994883 Helper: Don't use assignment in helper disconnect check 2017-04-26 18:39:26 +03:00
Konstantin Kovshenin ed734f350d Helper: Use date_i18n() instead of date() 2017-04-26 18:38:24 +03:00
Konstantin Kovshenin eacffb823a Helper: Add l10n functions to all strings 2017-04-26 18:36:20 +03:00
Konstantin Kovshenin 2e55b3076d Helper: Yoda condition in _http_request_host_is_external 2017-04-26 18:33:17 +03:00
Konstantin Kovshenin 5e892f9081 Helper: Strict equality check on slugs in `plugin_information` calls 2017-04-26 16:04:46 +03:00
Konstantin Kovshenin b4ba43f551 Helper: Use `wp_safe_remote_request` for external calls.
Also whitelists woocommerce.dev as an external URL if
WP_DEBUG is turned on.
2017-04-26 15:57:56 +03:00
Konstantin Kovshenin 9fe91c7a2e Helper: Fix some phpcs issues 2017-04-21 15:35:27 +03:00
Konstantin Kovshenin e8b9bc8f98 Helper: First pass at merging the Helper plugin into WooCommerce
* Connect a site to a WooCommerce.com account
* List available product subscriptions
* Activate/deactivate subscriptions and extensions
* Serve updates for active subscriptions
2017-04-21 15:05:44 +03:00