haszari
37578aa5d4
Merge branch master into feature/marketplace-suggestions
...
# Conflicts:
#assets/css/admin.scss
2019-02-22 14:17:20 +13:00
haszari
48946b3cc6
Cache local woo plugins info rather than slugs-only subset:
...
- cache woo_plugins object for more general use
- streamline get_local_woo_plugin_slugs using pluck
2019-02-22 12:17:38 +13:00
haszari
e53f92ae0d
move woo-plugin slugs into a helper routine + cache installed woo plugins in a transient
2019-02-21 11:27:53 +13:00
Mike Jolley
7def966e4f
Impoved JSON handling
2019-02-20 12:00:47 +00:00
Mike Jolley
58c3731030
Add special button style for connect button
2019-01-03 14:41:09 +00:00
Kanishk
c7fc4a9521
Refactored code to add filters on plugins_loaded
2018-11-07 02:32:57 +05:30
Kanishk
b5b60c93b7
Merge branch 'master' into fix/helper-not-able-to-detect-local-woo-plugin
2018-11-07 01:46:31 +05:30
Kanishk
2c642f3880
Cleaned cache right after filters are added
2018-10-28 16:55:07 +05:30
Gerhard
86c15f24c1
Dont include the html tags in the translated string.
2018-10-26 13:33:40 +02:00
Gerhard
5285ea0dcc
Allow the strong tags to be used.
2018-10-26 13:29:56 +02:00
Kanishk
9bd4a8957f
Purged plugin and theme cache so that the helper can detect locally installed plugins and themes
2018-10-25 15:27:04 +05:30
Mike Jolley
cdec3321ac
Broken log due to variable
2018-04-30 16:23:49 +01:00
Mike Jolley
f9c3ed14e4
Fix transient clearing
2018-04-24 15:44:30 +01:00
Mike Jolley
d6a6356d53
After activating a subscription, caches for updates must be purged
2018-04-24 15:43:52 +01:00
Philip Downer
73ff850b82
Add filter to suppress WordPress.com connection message.
...
Allows developers to supress only the WordPress.com connection message, while still leaving other admin notices (eg., upgrade notice) in place.
2018-04-03 13:42:01 -05:00
Rodrigo Primo
23b69eba53
Use phpcbf to fix coding standard violations in includes/admin
...
After using phpcbf to fix the coding standard violations, I did some manual adjustments to the changes, especially in poorly indented files.
2018-03-05 16:21:35 -03:00
Claudio Sanches
da8fdc0c91
Include "translators" notation #18671
2018-01-31 15:25:38 -02:00
Shohei Tanaka
78e41d225a
Fix : Argument swapping at sprintf
...
change the arguments from %s to %1$s and %2$s.
2018-01-31 05:50:56 +09:00
Rodrigo Primo
52eb803e81
Serve WC core copy of the WC logo instead of WC.com copy
...
This commit changes the URL of the WC logo displayed in the WooCommerce.com Subscriptions page inside WooCommerce admin to use an image served from WC core instead of WC.com.
2018-01-25 16:46:31 -02:00
Rodrigo Primo
526db5faf8
PHPCS fixes
2018-01-25 16:43:07 -02:00
Mike Jolley
6389f1af9a
Merge branch 'fix-18452'
2018-01-22 15:43:32 +00:00
Mike Jolley
02ebd8f2ee
Coding standards
2018-01-22 15:43:23 +00:00
Konstantin Kovshenin
9a496e5d88
Helper: Fix some code problems in the connection prompt.
...
* Use `wc_get_screen_ids()` instead of hard-coding a list.
* Use the `$strict` param in `in_array()`
* Run the WooCommerce string through l10n to make sure we target the correct screen in non-English installs
2018-01-19 20:58:36 +03:00
Konstantin Kovshenin
3c3077d305
Helper: Prompt a Helper connection only on relevant screens.
...
Fixes #18452
2018-01-18 12:28:00 +03:00
Jonathan Belcher
77578c5509
Corrects string to use sprintf properly
2018-01-17 10:35:43 -05:00
Jonathan Belcher
dbb0f6f1ef
Add links to Sharing and Transferring string
2018-01-16 14:35:30 -05:00
Jonathan Belcher
535e1c5b58
Updates Helper text to be correct
2018-01-15 11:41:32 -05:00
Konstantin Kovshenin
1928a9cbf6
Helper: Prompt connection to WooCommerce.com for updates/support
...
A persistent prompt for users to connect their store to their
WooCommerce.com account, if they happen to have one or more active
extensions provided by WooCommerce.com.
Fixes #17501
2017-12-13 19:34:44 +03:00
Caleb Burks
21e798e1a8
Add admin notice when helper plugin is deactivated
2017-12-04 23:57:47 -06:00
The Dramatist
8ac49d448b
Unused parameter removed form get_filters method of WC_Helper class. ( #17888 )
2017-11-23 11:49:12 +00:00
Konstantin Kovshenin
70a72693c3
Helper: Fix automatic subscription activation
...
Fixes a bug where automatic subscription activation upon plugin
activation does not trigger due to the subscription being unlimited.
2017-10-06 17:12:55 +03:00
Konstantin Kovshenin
d63eb56753
Helper: Add a new filter to display only installed extensions.
2017-09-27 15:17:24 +03:00
José Marques
409a3a0141
Helper: replaces path on logo image to new Woo theme location path
2017-09-27 11:07:19 +01:00
Konstantin Kovshenin
4a5d0c3ec3
Helper: Clean up unused code.
2017-08-30 18:39:45 +03:00
Konstantin Kovshenin
64467a0925
Helper: Cache a zero updates count if update data is not available or empty.
2017-08-30 17:46:33 +03:00
Konstantin Kovshenin
ebb5bfc521
Helper: Better markup for filters output.
2017-08-30 17:39:02 +03:00
Konstantin Kovshenin
b5f1692ff3
Helper: Unify update-count markup into a single helper method.
2017-08-30 17:19:06 +03:00
Konstantin Kovshenin
a9619da513
Merge branch 'helper-updates' of github.com:woocommerce/woocommerce into helper-updates
2017-08-30 17:12:36 +03:00
Konstantin Kovshenin
a59ce3b6b1
Helper: Change woo- prefix to woocommerce-com-.
2017-08-30 17:07:37 +03:00
José Marques
09ddc43171
Helper: removes brackets from update counter indicator
2017-08-29 10:52:57 +01:00
José Marques
9cc3840de4
Helper: convert filter markup into a list
2017-08-29 10:11:47 +01:00
Konstantin Kovshenin
8b46283ca6
Helper: Fix some WPCS errors.
2017-08-29 10:23:34 +03:00
Konstantin Kovshenin
a3b08d6497
Merge remote-tracking branch 'origin/master' into helper-updates
2017-08-28 13:46:14 +03:00
Konstantin Kovshenin
94dbdc86b9
Helper: Add "shared" labels for shared subscriptions.
2017-08-28 11:59:13 +03:00
Konstantin Kovshenin
6b14b83cd2
Helper: Make sure redirect actions preserve selected filters.
2017-08-28 11:53:31 +03:00
Konstantin Kovshenin
5fded42d28
Helper: Add subscriptions filters.
2017-08-28 11:39:41 +03:00
Konstantin Kovshenin
51a2d45578
Helper: Make sure transients are not empty before setting again.
2017-08-28 10:53:48 +03:00
Konstantin Kovshenin
578f25ebdc
Helper: Don't display (0) in top navigation when no updates available.
2017-08-28 10:32:51 +03:00
Konstantin Kovshenin
0cafd1a499
Helper: Refresh update transients when refreshing update data.
2017-08-28 10:31:08 +03:00
Konstantin Kovshenin
d854f92ee1
Helper: Cache update count fetch and clear cache after an update.
2017-08-28 10:23:33 +03:00