Commit Graph

22773 Commits

Author SHA1 Message Date
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 bb7691255d Helper: adds styles for update counter 2017-08-29 10:53:48 +01:00
José Marques 09ddc43171 Helper: removes brackets from update counter indicator 2017-08-29 10:52:57 +01:00
José Marques 0585df9fe3 Helper: additional styles for subscription filter 2017-08-29 10:11:47 +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
Konstantin Kovshenin a41d5da411 Helper: Add update-count to the Extensions top nav menu. 2017-08-28 10:01:01 +03:00
Konstantin Kovshenin 9f3403af06 Helper: Add a plugin-count to the Extensions admin menu. 2017-08-28 09:52:59 +03:00
Claudio Sanches a97eb40c2c Removed empty unit test 2017-08-25 20:29:35 -03:00
Mike Jolley 3b3ceebc1f Merge pull request #16579 from Chouby/action_before_import
Add action woocommerce_product_import_before_import
2017-08-25 11:19:20 +01:00
Claudio Sanches 0429711f17 Merge pull request #16598 from ramiy/patch-1
i18n: Avoid using HTML tags in translation strings
2017-08-24 19:56:35 -03:00
Rami Yushuvaev 323c177bb0 i18n: Avoid using HTML tags in translation strings
Old translation string:

* `If you like <strong>WooCommerce</strong> please leave us a %s rating. A huge thanks in advance!`

New translation string:

* `If you like %1$s please leave us a %2$s rating. A huge thanks in advance!`
2017-08-25 00:39:13 +03:00
Claudio Sanches abb9886df1 Merge pull request #16592 from woocommerce/fix/16587
If no title is set when uploading images, use filename
2017-08-24 12:05:48 -03:00
Mike Jolley 7a817ee103 Added back missing discount row
Closes #16586
2017-08-24 12:49:49 +01:00
Mike Jolley 8e6085b2c0 If no title is set when uploading images, use filename
Closes #16587
2017-08-24 12:33:53 +01:00
Claudiu Lodromanean 56e1207903 Merge pull request #16583 from woocommerce/update/apply-fees
Improved apply fees
2017-08-23 13:35:18 -07:00
Mike Jolley 25fb505fc4 Debug 2017-08-23 16:42:58 +01:00
Claudio Sanches b46f5c91e4 Merge pull request #16584 from ramiy/patch-1
i18n: Avoid using HTML tags in translation strings
2017-08-23 11:51:28 -03:00
Claudio Sanches 0bf1aa1cb0 Merge pull request #16581 from woocommerce/fix/16577
Imported non-published variations should be private, not draft
2017-08-23 11:47:04 -03:00
Mike Jolley cefa76e58b Merge branch 'scrutinizer/major-issues' 2017-08-23 14:44:26 +01:00
Mike Jolley 9d877a3b34 Unused vars 2017-08-23 14:40:34 +01:00
Mike Jolley 2beddc59a7 docblocks 2017-08-23 14:38:00 +01:00
Mike Jolley e0de3643bc ID is unused 2017-08-23 14:28:25 +01:00
Mike Jolley 9483a7ec19 invalid return 2017-08-23 14:27:30 +01:00
Mike Jolley c60859bf3c types 2017-08-23 14:27:10 +01:00
Mike Jolley a7b697b679 type checks 2017-08-23 14:25:41 +01:00
Rami Yushuvaev ff289f3bf4 i18n: Avoid using HTML tags in translation strings
This PR moves the `<code>` HTML tags from the translation strings.

It also moves the server variables outside of the translation string, because translators can accidentally translate it wrong.
2017-08-23 16:22:52 +03:00
Mike Jolley 714c4c672e unused prop 2017-08-23 14:21:42 +01:00
Mike Jolley be042ee8f3 Set to amount before calc 2017-08-23 12:24:33 +01:00
Mike Jolley 804feb9333 Store fee amount and prevent totals going negative 2017-08-23 12:15:06 +01:00
Mike Jolley 372723dae1 min 2017-08-23 11:29:14 +01:00
Mike Jolley d9e455b9c6 Merge branch 'master' into update/apply-fees 2017-08-23 11:26:13 +01:00
Mike Jolley f18a146d0f Prompt to apply fee in admin 2017-08-23 11:22:18 +01:00
Mike Jolley 4c2c051773 Merge pull request #16575 from woocommerce/fix/arraysubsettest
Harden + fix plugin updates tests
2017-08-23 11:02:06 +01:00
Mike Jolley 22813663d7 Merge pull request #16569 from woocommerce/update/fees-api-class
WC_Cart_fees and negative fee calculations
2017-08-23 10:59:19 +01:00
Mike Jolley 23ca228a40 Fix input width, Closes #16571 2017-08-23 10:55:00 +01:00
Mike Jolley cb1747216b Revert "Fix image input width. Closes #16571"
This reverts commit 77ab40cabf.
2017-08-23 10:54:06 +01:00
Mike Jolley 77ab40cabf Fix image input width. Closes #16571 2017-08-23 10:47:16 +01:00
Mike Jolley b3e92869f9 Imported non-published variations should be private, not draft
Fixes #16577
2017-08-23 10:45:18 +01:00
Frédéric Demarle 04b6e80065 Add action woocommerce_product_import_before_import 2017-08-23 09:37:41 +02:00
claudiulodro b8af7164db Harden + fix plugin updates tests 2017-08-22 15:03:54 -07:00