Commit Graph

11163 Commits

Author SHA1 Message Date
Claudio Sanches e44f4d3e5c Merge pull request #7537 from corsonr/email_styles_fix
Fixed email style color var
2015-02-23 13:50:30 -03:00
Remi Corson 329240e4f3 Fixed email style color var 2015-02-23 17:47:57 +01:00
Claudio Sanches d2b5827259 Merge pull request #7534 from roykho/system-status
add hook to system status report so 3rd party items can display debug in...
2015-02-23 13:17:37 -03:00
roykho c9a84030bb add hook to system status report so 3rd party items can display debug info there 2015-02-23 07:07:14 -08:00
Mike Jolley 41f438c0b2 Generate hook docs 2015-02-23 14:40:16 +00:00
Mike Jolley 2ffcc65cd5 Remove mapping for get_product_search_form filter 2015-02-23 11:45:47 +00:00
Mike Jolley 2657ed251c Adjust syntax 2015-02-23 11:45:34 +00:00
Mike Jolley faf8360c70 Only show upgrade notice to people < 2.3
Closes #7527
2015-02-23 11:28:18 +00:00
Mike Jolley df710c2705 Merge pull request #7515 from jamesgol/dirtysession
Mark session clean after commiting data
2015-02-23 11:06:50 +00:00
Mike Jolley 5d715a4c0b Merge pull request #7521 from pjv/fix-BadMethodCallException
fix BadMethodCallException
2015-02-23 11:06:00 +00:00
Mike Jolley 68fd1589c7 Merge pull request #7511 from piotr-szczygiel/product-categoty-shortcode-hook
Product categoty shortcode hook
2015-02-23 11:04:44 +00:00
Mike Jolley 3623d82881 Fix compound tax unit test #7525 2015-02-23 11:03:06 +00:00
Mike Jolley 4d2b2defaa Merge pull request #7525 from kilbot/master
Compound tax calculation test
2015-02-23 10:30:41 +00:00
Paul Kilmurray cb12623fa7 Compound tax calculation test
There is either an error in the calculation for compound taxes, or
there is something wrong with my understanding of how compound taxes
should work - I’m definitely not discounting the later.

Given a price of $9.99 exclusive of tax, applying a 10% tax will give
9.99 + 0.999 = 10.989. Then applying a compound tax of 2% should give
10.989 + 0.2198 = 11.2088.

The result of the WC_Tax::calc_tax on the 2% compound tax is 0.1998
which seems to be in error.

Likewise for prices exclusive of tax.

Note: rounding to 4 decimal places on all calculations
2015-02-23 14:40:10 +08:00
pjv 1cdc3174ca fix BadMethodCallException
receiving lines like this in the php error log:

Fatal error: Uncaught exception 'BadMethodCallException' with message 'Call to a member function get_formatted_name() on a non-object (boolean)' in /var/www/example.com/htdocs/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php:484\nStack trace:\n#0 /var/www/example.com/htdocs/wp-admin/includes/template.php(1044): WC_Meta_Box_Product_Data::output()\n#1 /var/www/example.com/htdocs/wp-admin/edit-form-advanced.php(600): do_meta_boxes()\n#2 /var/www/example.com/htdocs/wp-admin/post.php(209): include()\n#3 {main}

The error resulted in a WSOD when trying to edit some products.
2015-02-22 09:01:37 -07:00
James Golovich 44d2552798 Mark session clean after commiting data
If someone is calling save_data() manually in addition to WooCommerce calling it the data is saved twice regardless of
any new data.
2015-02-20 23:55:24 -08:00
Claudio Sanches b25e51dbe6 Merge pull request #7514 from prowp/patch-1
Allow filter for breadcrumb terms
2015-02-20 23:25:37 -02:00
John Russell 112a01e54d Altered naming convention 2015-02-20 18:17:03 -07:00
Claudio Sanches 0148a1bd86 [API] Fixed the variable product managing_stock variable, closes #7513 2015-02-20 23:01:26 -02:00
John Russell f9db9eac77 Allow filter for breadcrumb terms
In some cases we may want to specify a primary term for breadcrumbs. This change would allow that to be done via a filter.
2015-02-20 17:57:25 -07:00
Piotr Szczygiel ac7348d69d added 'before' hook as well 2015-02-20 21:32:13 +01:00
Piotr Szczygiel 996f915919 Merge remote-tracking branch 'origin/master' into product-categoty-shortcode-hook 2015-02-20 21:30:25 +01:00
Claudio Sanches 4b9eec9cf3 Merge branch 'master' of github.com:woothemes/woocommerce 2015-02-20 14:24:36 -02:00
Mike Jolley ec81ed8312 Version bumps 2015-02-20 16:19:39 +00:00
Claudio Sanches bb8ef2a51f POT 2015-02-20 14:19:20 -02:00
Mike Jolley 6c9562112f Fix Related post offset. 2015-02-20 16:17:45 +00:00
Mike Jolley 321d38be0a Round report values.
Closes #7505
2015-02-20 12:27:55 +00:00
Mike Jolley 2a90208f93 Cross/up-sells should not search variations.
Closes #7502
2015-02-20 12:12:03 +00:00
Piotr Szczygiel d7d9395476 Added action hook into product_category shortcode 2015-02-19 21:43:46 +01:00
Mike Jolley 8a40778046 Merge pull request #7496 from SiR-DanieL/patch-1
Fix missing downloads
2015-02-19 16:24:18 +00:00
Mike Jolley cbfc2717db Use URL if no sizes exist Closes #7491 2015-02-19 14:15:28 +00:00
Mike Jolley 09676934d6 Fix address formatting and improve email appearance
Fixes #7484
2015-02-19 13:57:22 +00:00
Nicola Mustone 40a7605c99 fix missing downloads 2015-02-19 14:42:24 +01:00
Claudio Sanches 966ca94e41 Fixed non-ASCII variation names in WC_AJAX::json_search_products(), closes #7490 2015-02-19 11:21:02 -02:00
Claudio Sanches d0aafd1f0b [API] Fixed undefined messages when edit a product 2015-02-19 10:48:21 -02:00
Mike Jolley 2caf287258 Tweak rating prompt text on click, and change once rated
@bftrick This is to keep the .org folk happy and look less spammy :)
2015-02-19 11:38:35 +00:00
Mike Jolley 049abcfdd3 Show random tweet
Closes #7481
2015-02-19 11:16:24 +00:00
Mike Jolley 82ac0fc11e Detect shortcodes when saving URLs.
Fixes #7474
2015-02-19 11:05:04 +00:00
Mike Jolley b75034ae38 Tweak language based on feedback in #7462
Closes #7462
2015-02-19 10:45:20 +00:00
Mike Jolley d944b43845 Merge pull request #7489 from roykho/taxes
fix taxes save issue when page is paginated
2015-02-19 10:43:42 +00:00
Mike Jolley 5d61028317 Unhook wc_page_endpoint_title after it is ran once (main page title).
Fixes #7488
2015-02-19 10:37:59 +00:00
roykho af940dcf72 fix taxes save issue when page is paginated 2015-02-18 22:52:34 -08:00
Claudio Sanches 517a447743 Fixed some issues for scrutinizer 2015-02-18 16:09:02 -02:00
Claudio Sanches 1a45a447b0 Fixed the true-null-false case 2015-02-18 15:34:03 -02:00
Claudio Sanches 7ad096e932 Merge branch 'master' of github.com:woothemes/woocommerce 2015-02-18 15:31:18 -02:00
Claudio Sanches 73d787aba7 Removed coding styles from scrutinizer 2015-02-18 15:31:10 -02:00
Mike Jolley eb312400e6 Merge pull request #7479 from mjepson/master
Fix sales report description
2015-02-18 17:23:28 +00:00
Magnus Jepson ded1cf76e0 Fix sales report description
Net Sales report tooltip description was misleading by “excluding
refunds”
2015-02-18 18:19:10 +01:00
Claudio Sanches 6c7a22b910 Removed admin message from user profile pages, closes #7478 2015-02-18 15:06:11 -02:00
Claudio Sanches 5eec1d0b8d Removed external coverage from scrutinizer 2015-02-18 15:04:13 -02:00