Commit Graph

25259 Commits

Author SHA1 Message Date
Claudio Sanches 800877cb79
Merge pull request #17659 from woocommerce/speed-up-travis-builds
Disable XDebug to speed up Travis builds
2017-11-13 10:14:50 -02:00
Mike Jolley 4245855625 self_admin_url for multisite compatibility
Fixes #17665
2017-11-13 12:09:13 +00:00
Mike Jolley 315b2575fe
Merge pull request #17663 from axelmm/patch-1
Remove unnecessary formating, fixes #17662
2017-11-13 11:25:27 +00:00
axelmm 59534a09e7
Remove unnecessary html formatting
Dimensions and weight were unnecessary formatted as html (duplicating values of dimensions_html and weight_html), not as expected raw values
2017-11-11 22:33:22 +01:00
soft79 b74eaba287
Update class-wc-discounts.php
'woocommerce_coupon_get_apply_quantity' => ( $apply_quantity, $item, $coupon, $discounts )
2017-11-11 20:33:19 +01:00
axelmm fb94f67b0f
Remove unnecessary formating, fixes #17662
https://github.com/woocommerce/woocommerce/issues/17662
2017-11-11 17:26:09 +01:00
Rodrigo Primo 89542a9fb8 Disable XDebug to speed up Travis builds
This commit removes Xdebug from PHP runtime on all build jobs except PHP 7.1 to speed up Travis builds. Xdebug is needed in the PHP 7.1 build job because this job is used to generate code coverage.
2017-11-10 20:05:23 -02:00
claudiulodro 1934f67daf Move unsupported product singles stuff to template loader class 2017-11-10 12:48:45 -08:00
claudiulodro 2609a4cd30 Bring up-to-date with feature branch 2017-11-10 10:43:15 -08:00
Claudiu Lodromanean f78f42d9d6
Merge pull request #17638 from woocommerce/feature/17550-archives-template-support
Shortcode based shop page for unsupported themes
2017-11-10 10:39:34 -08:00
Mike Jolley 1d93d8f577 Columns styling 2017-11-10 17:50:56 +00:00
Mike Jolley 3bf47d7d97 Fixed tests 2017-11-10 17:45:01 +00:00
Mike Jolley fb8db3313e Clarify has_archive 2017-11-10 16:32:43 +00:00
Mike Jolley 5adb1edef5 Since options are hidden, remove notices for now - allow use. 2017-11-10 16:26:33 +00:00
Mike Jolley 43c6e2fd6e
Merge pull request #17131 from woocommerce/feature/12439-2
Apply CRUD to Webhooks admin
2017-11-10 16:12:55 +00:00
Claudio Sanches 74d86cf105 Fixed how update at date displays 2017-11-10 12:37:49 -02:00
Claudio Sanches 30fe4f5ab3 Fixed how check for webhooks dates 2017-11-10 12:34:25 -02:00
Mike Jolley 220728544a
Merge pull request #17631 from woocommerce/update/page-caching-class
Page caching class
2017-11-10 14:12:13 +00:00
Claudio Sanches 6553a71586 Fixed how read empty dates while reading webhooks from database 2017-11-10 11:58:25 -02:00
Claudio Sanches f60b814dd4 Stop creating webhooks when hit the "Add webhook" button
Creates only after save edited webhook.
2017-11-10 11:33:53 -02:00
Mike Jolley 9734cc945e
Merge pull request #17654 from woocommerce/db-log-search
Ability to search in DB logs (improved)
2017-11-10 13:13:45 +00:00
Mike Jolley 26e640a9ac
Merge pull request #17615 from woocommerce/update/17418
More dummy data
2017-11-10 13:01:40 +00:00
Mike Jolley 279742da42
Merge pull request #17652 from jobthomas/master
Updated dummy-products.xml
2017-11-10 13:01:12 +00:00
Mike Jolley 9ac4725aac Update path 2017-11-10 12:59:35 +00:00
Claudio Sanches d0f191c363 Use table list search box and update form method to POST 2017-11-10 10:55:58 -02:00
Job Thomas a1c92a19b7 Updated XML
Updated XML with dummy products
2017-11-10 14:35:59 +02:00
Claudio Sanches fbf5117e05 Merge branch 'db-log-search' of https://github.com/seostudio/woocommerce into seostudio-db-log-search 2017-11-10 10:17:29 -02:00
Jeremy Pry a4d1c829eb Add unit tests to compare cloned cart objects to original (#17560)
* Add unit tests to compare cloned cart objects to original

* Don't use reflection for fees test

* Skip test using ReflectionProperty::setAccessible() below PHP 5.3
2017-11-10 12:03:14 +00:00
Mike Jolley 78466a6665
Merge pull request #17599 from JPry/allow_clone_cart
Allow for cloning the WC_Cart object
2017-11-10 12:02:59 +00:00
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
Gerhard Potgieter b11ab6d8d6 Convert comments to wc_logger logging, remove and deprecate unused functions and introduce a wc_get_log_file_name helper function. Still a couple of todos left regarding deprecating or removing filters related to comments. 2017-11-10 12:20:59 +02:00
Gerhard Potgieter ea73b0851d Remove old webhook log views & deprecate accompanying functions 2017-11-10 08:54:29 +02:00
Gerhard Potgieter d3f0e9da34 Complete upgrade routine to move current webhook logs from comments to a log file. 2017-11-10 08:40:56 +02: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
claudiulodro fc5a7ae0ca phpcs 2017-11-09 11:07:13 -08:00
claudiulodro 7f37e445b6 Use shortcode-based product page on unsupported themes 2017-11-09 10:47:20 -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
Mike Jolley d765e2319c Added theme support vars for grid settings
- product_grid
   - min_rows
   - max_rows
   - min_columns
   - max_columns

If settings violate these, they will be updated.

If loop_shop_columns is defined, settings are hidden with a notice.
2017-11-09 18:11:35 +00:00
Mike Jolley 2a3ace9853 Merge branch 'master' into feature/17550-archives-template-support 2017-11-09 17:34:57 +00:00
Mike Jolley 33995ace01 Helper functions 2017-11-09 17:34:54 +00:00