Commit Graph

24146 Commits

Author SHA1 Message Date
Garrett Hyder 39c36fb0f4 Spelling Fix - usibility to usability (#17643) 2017-11-10 11:56:04 +00:00
Mike Jolley a164ff3db5
Merge pull request #17646 from james-allan/fix_add_indexes_db_warning
Fix db warnings when using the "Add Order Indexes" tool
2017-11-10 11:55:36 +00:00
James Allan c91698cde3 Fix db warnings when using the "Add Order Indexes" tool 2017-11-10 16:21:28 +10:00
Claudiu Lodromanean 9d0f729703
Merge pull request #17642 from woocommerce/fix/rest-api-orders-dp
[REST API] Fixed default value of "dp" on orders and refunds endpoints
2017-11-09 13:57:24 -08:00
Claudio Sanches b04c7bd71e
Merge pull request #17628 from woocommerce/fix/17624
Change how line items are saved in API
2017-11-09 17:36:39 -02:00
Claudio Sanches 5daf476dfa Properly sanitize and format "dp" 2017-11-09 17:34:25 -02:00
Claudio Sanches c6c8af9187 [REST API] Fixed default value of "dp" on orders and refunds endpoints 2017-11-09 17:23:33 -02:00
Claudiu Lodromanean a574401ddc
Merge pull request #17641 from woocommerce/fix/17625
Integrate PHPCompatibility sniffs
2017-11-09 11:19:52 -08:00
Claudio Sanches b2105774c9
Merge pull request #17629 from woocommerce/fix/17613
Set attributes during variation creation
2017-11-09 16:45:57 -02:00
Claudio Sanches f78b0aac13
Merge pull request #17640 from woocommerce/fix/17616
Grab description directly to pass through wc_format_content
2017-11-09 16:45:00 -02:00
Claudio Sanches 2d6ee25d5f Removed extra composer scripts to configure PHPCS
All configuration is done by phpcs.ruleset.xml now
2017-11-09 16:40:40 -02:00
Claudio Sanches 22232f29c7 Fixed PHPCompatibility issues
Closes #17625
2017-11-09 16:36:29 -02:00
Claudio Sanches 3062dba4e5 Integrated PHPCompatibility with PHPCS
- Updated phpcs.ruleset.xml to exclude patterns and set installed_paths.
- Updated woocommerce/woocommerce-git-hooks to version 1.0.3
2017-11-09 16:32:04 -02:00
Chase Wiseman 9558c49e72 Review tweaks 2017-11-09 09:26:17 -08:00
Mike Jolley 0d09d0c0fd Grab description directly to pass through wc_format_content 2017-11-09 16:57:50 +00:00
Mike Jolley 6e08ff0284
Merge pull request #17610 from woocommerce/update/17557
Theme support to declare image sizes
2017-11-09 16:04:22 +00:00
Claudio Sanches 9979e4b3e5
Merge pull request #17589 from woocommerce/fix/17585
get_total_ex_tax should exclude fee taxes
2017-11-08 19:05:23 -02:00
James Koster b20a43fa1e image preview styling 2017-11-08 17:29:28 +00:00
Grzegorz Rola 9ae73bcc44 wp_unslash() needs to always comes first 2017-11-08 17:02:08 +01:00
Mike Jolley 683e396c43 Merge branch 'pr/17567' 2017-11-08 15:21:24 +00:00
Mike Jolley f54b240539 No need to reload if redirecting 2017-11-08 15:21:13 +00:00
Jeremy Pry 0e43551535 Move inline comment into the docblock 2017-11-08 10:18:08 -05:00
Jeremy Pry cf5bd606c6 Rename register_hooks() to init() 2017-11-08 10:17:52 -05:00
Mike Jolley 9f059e17a9 Add helper function instead of calling method, and restore old method for bw compat 2017-11-08 15:07:00 +00:00
Mike Jolley 45c6f0e00d Restore old function name and phpcs 2017-11-08 14:54:13 +00:00
Gerhard Potgieter a3fd99ddd9 GeoDB empty file handling (#17541)
* Make sure we do not save empty geodb files, also add checks to ensure we do not read form an empty geodb file.

* Add logger message when deleting file on checking size
2017-11-08 14:28:03 +00:00
Gerhard Potgieter 7b9fb6c0cb Change nocache_headers hook firing (#17540)
* wp hook is too late to fire the nocache_headers filter, some caching plugins read it before that it seems.

* Create do_not_cache_page helper function and call that instead of nocache_headers

* Must add checks to prevent caching on certain pages as well

* Nothing to return
2017-11-08 14:27:30 +00:00
Mike Jolley 160d17eb2e
Merge pull request #17500 from woocommerce/fix/17156
Use scrollIntoView on checkout
2017-11-08 14:13:24 +00:00
Mike Jolley 7e0f18f4af min 2017-11-08 14:12:54 +00:00
Mike Jolley e7f1a3f22f scrollElement.length 2017-11-08 14:12:36 +00:00
Mike Jolley 74ece1b7aa
Merge pull request #17527 from greguly/patch-5
Shipping selection for multiple packages
2017-11-08 14:11:17 +00:00
Mike Jolley 827d133cb2 Improve tests 2017-11-08 13:54:33 +00:00
Mike Jolley bb31ecdff1 Validation 2017-11-08 13:40:30 +00:00
Mike Jolley be3b37f1df Adjust preview position 2017-11-08 13:36:17 +00:00
Mike Jolley 0d25375593 Set attributes during variation creation 2017-11-08 13:12:54 +00:00
Mike Jolley 28fdc73c18 Fix fatal due to _esc_html_e call 2017-11-08 12:34:04 +00:00
Mike Jolley 0198aa22ac Fix up test 2017-11-08 12:32:08 +00:00
Mike Jolley a9b419c9b2 Load item from order object, not DB directly in API 2017-11-08 12:21:55 +00:00
Mike Jolley 7fa02bd4cb Missing cache clear on delete 2017-11-08 12:21:03 +00:00
Mike Jolley 93da46e66e phpcs 2017-11-08 12:20:49 +00:00
Mike Jolley f5c7164ae5 Added a test to confirm this issue is specific to the API 2017-11-08 12:16:22 +00:00
Claudiu Lodromanean e90819f92e
Merge pull request #17621 from woocommerce/fix/17607
Add wp_unslash to meta key
2017-11-07 14:48:09 -08:00
Claudiu Lodromanean a8feba3162
Merge pull request #17620 from woocommerce/fix/17583
calculate_totals totals running too often
2017-11-07 13:05:42 -08:00
Mike Jolley fb446e6bdf Add wp_unslash to meta key 2017-11-07 20:23:10 +00:00
Jeremy Madison 0b7f92ac84 Issue #17505: Apply filters to registration-error-email-exists error. (#17507)
* Issue #17505: Apply filters to registration-error-email-exists error message.

* Inlined apply_filters and fixed filter name
2017-11-07 20:16:56 +00:00
Mike Jolley b8f124fb3c
Merge pull request #17619 from woocommerce/fix/17591
Add default to "What type of product do you plan to sell"
2017-11-07 20:14:40 +00:00
Mike Jolley ffcf998a59 calculate_totals totals running too often 2017-11-07 20:10:13 +00:00
Claudiu Lodromanean efee57c7de
Merge pull request #17605 from MounirHamani/master
Add new Belarusian ruble BYN
2017-11-07 11:57:14 -08:00
claudiulodro 3c5ede6e14 Dont need placeholder any more 2017-11-07 11:41:12 -08:00
claudiulodro 862060cba9 Add default to "What type of product do you plan to sell" 2017-11-07 11:39:37 -08:00