Commit Graph

25168 Commits

Author SHA1 Message Date
Mike Jolley 8e6085b2c0 If no title is set when uploading images, use filename
Closes #16587
2017-08-24 12:33:53 +01:00
Josh Smith 49c7449e8b Merge remote-tracking branch 'upstream/master' 2017-08-23 22:41:04 +00: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
Josh Smith d2d4489c68 [#12517] Add messages for unit test assertions in tests with multiple assertions 2017-08-23 03:23:25 +00:00
Josh Smith 39544cb27b [#12517] Remove calls to action woocommerce_process_product_file_download_paths since download ids should no longer change. They are now static UUIDs. 2017-08-23 03:22:33 +00:00
Josh Smith df64c48103 [#12517] In deprecated function call for update_download_id, use __METHOD__ instead of hard coded function name 2017-08-23 03:21:35 +00:00
Josh Smith d9685ef061 [#12517] Revert change to class WooCommerce @since comment 2017-08-23 03:20:46 +00:00
Josh Smith cd89246b87 [#12517] Deprecate process_product_file_download_paths function since download log ids should no longer change based on file paths 2017-08-23 03:16:50 +00:00
Josh Smith 5e4269267f [#12517] Change spacing and add full stop to comment to match WordPress style guide. 2017-08-23 03:15:23 +00:00
Josh Smith e11e88fa4e [#12517] When tracking downloads, increment/decrement download count and downloads remaining in SQL to avoid race conditions with updating in PHP 2017-08-23 03:12:58 +00:00
Josh Smith 4400a026b8 [#12517] Remove unneeded ArrayAccess implementation from WC_Customer_Download_Log 2017-08-23 03:11:38 +00:00
Josh Smith ee13db49a2 [#12517] Move download log table to const and helper, output download log report titles in standalone function, reorganize download log data store read for code readability 2017-08-23 03:10:14 +00:00
Josh Smith 1734580b0a [#12517] Order download permissions: Use i18n number formatting on download count and proper escaping on report links 2017-08-23 03:03:27 +00:00
Josh Smith aa7e145ffe [#12517] Fixing capitalization for titles on admin reports 2017-08-23 03:01:35 +00:00
Josh Smith 868a0e0e84 Merge remote-tracking branch 'upstream/master' 2017-08-23 02:33:01 +00:00
Josh Smith 148fa16055 [#12517] Removing unnecessary isset on check for download id in WC_Product 2017-08-23 02:27:42 +00:00
Josh Smith c18a2a4113 [#12517] Reverting change to Version comment on woocommerce.php until ready for merging 2017-08-23 02:26:04 +00:00
claudiulodro b8af7164db Harden + fix plugin updates tests 2017-08-22 15:03:54 -07:00
Claudiu Lodromanean 95130b2403 Merge pull request #16574 from woocommerce/feature/16554
Allow import/export product position (menu_order)
2017-08-22 14:13:52 -07:00
claudiulodro 577e8f0e2b Formatting 2017-08-22 14:08:26 -07:00
claudiulodro 1215da6355 WC_Cart_Fees tests 2017-08-22 14:06:33 -07:00
Claudiu Lodromanean bdba4f7636 Merge pull request #16572 from woocommerce/fix/16559
Introduces woocommerce_get_product_id_by_sku filter
2017-08-22 13:31:45 -07:00
claudiulodro e83758fe38 Cart fee tests 2017-08-22 13:26:55 -07:00
Claudio Sanches 7ad0dd55f9 Allow import 'menu_order' 2017-08-22 17:22:39 -03:00
Claudio Sanches 0b3811bd11 Change Position key from 'position' to 'menu_order' 2017-08-22 16:46:09 -03:00
Claudio Sanches af23ad42d7 Included "position" (menu_order) to exported products 2017-08-22 16:33:19 -03:00