Tanel Jüris
d9a568bbea
Apply filters to product/tag terms when querying related products
2015-02-25 16:02:31 +02:00
Claudio Sanches
37882756d3
Fixed HTML entities for up-sells and cross-sells fields, closes #7553
2015-02-25 10:27:53 -03:00
Nick Ivanter
a1c9bac225
Allow custom CSS classes to be specified for [product] shortcode
...
This change allows custom CSS classes to be added to the output generated by the [product] shortcode. This is useful, for instance, when embedding a product into a regular post as an advertisement. With custom CSS classes, you can style it to be left or right aligned, floating, etc.
2015-02-24 23:32:35 +03:00
Mike Jolley
2006c7217e
Add reports menu item if user can access reports but not the main WC section.
...
Closes #7528
2015-02-24 12:29:03 +00:00
Mike Jolley
ba582c307b
Dashboard - use same query as reports Closes #7529
2015-02-24 12:18:56 +00:00
Mike Jolley
26487a5734
Fix - Settings API - allow multiselect fields to be emptied.
...
Closes #7542
2015-02-24 12:12:42 +00:00
Mike Jolley
d435eedbef
woocommerce_cart_totals_order_total_html
...
Closes #7544
2015-02-24 12:05:32 +00:00
Mike Jolley
d9455994c8
Use 30 days instead of year for transients to avoid bugs in memcache plugins.
...
Closes #7520
2015-02-24 12:02:56 +00:00
Claudio Sanches
cb780bb3fd
Merge branch 'master' of github.com:woothemes/woocommerce
2015-02-23 15:24:40 -03:00
Claudio Sanches
742a48c3eb
Fixed the json_search_products when the product title is numeric
...
@mikejolley
2015-02-23 15:23:53 -03:00
Mike Jolley
4c411a69e7
* Fix - Saving an order needs to save the discount amount ex. tax like
...
the cart.
* Tweak - Show discounts inc. tax when showing order totals inc. tax.
Closes #7532
@barrykooij @claudiosmweb How does this look? Looks like we were saving
order discounts inconsistent with the cart/checkout
2015-02-23 17:39:57 +00: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
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
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
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
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
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
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
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
69f44e1d4f
Changed get_bloginfo("title") to get_bloginfo("name")
2015-02-18 13:47:30 -02:00
Claudio Sanches
0979fc475a
Merge pull request #7466 from qTranslate-Team/master
...
replace get_bloginfo('name') with get_bloginfo('name', 'display')
2015-02-18 13:44:49 -02:00
Mike Jolley
fb5290db2e
Fix breadcrumb on shop page
2015-02-18 12:53:39 +00:00
Mike Jolley
470b259a8a
Don't download GeoIP Database until geolocation option is enabled in settings.
2015-02-18 12:53:24 +00:00
Mike Jolley
b6e7e4e8ad
Improve category coupon message.
...
Closes #7463
2015-02-18 11:17:58 +00:00
Gerhard
7beb159927
Remove posts join from wc_get_customer_available_downloads, speeds query up by 50%
2015-02-18 12:04:19 +02:00
John Clause
6c9f863c04
replaced get_bloginfo('name') with get_bloginfo('name','display')
2015-02-17 20:56:18 -07:00
Claudio Sanches
28bf06b702
Improved the woocommerce_email_get_option filter, closes #7464
2015-02-18 00:28:26 -02:00
Claudio Sanches
c97dffcc66
Improved the WC_Admin::admin_footer_text(), closes #7461
2015-02-17 16:24:11 -02:00
Mike Jolley
81b7ed934e
Call Logger before logging errors
2015-02-17 16:20:26 +00:00
Mike Jolley
d1c19d5782
Check for GZIP support
2015-02-17 16:19:33 +00:00
Mike Jolley
217c3a49ff
If logged in, populate customer data from user meta.
...
Closes #7459
2015-02-17 15:47:28 +00:00
Mike Jolley
5ec61e3acd
Tweak transient welcome redirect
2015-02-17 15:24:12 +00:00
Mike Jolley
4feb5fbda9
Restock after refund is successful Closes #7449
2015-02-17 14:56:22 +00:00
Mike Jolley
8126b7ef58
When purchasing multiple downloadable products (same item), multiply download limit by qty purchased.
...
Closes #7451
2015-02-17 14:03:44 +00:00
Mike Jolley
44cf2c2b70
Filter before max_related_posts
2015-02-16 16:48:11 +00:00
Mike Jolley
bd11f51d04
Double shop page in breadcrumb and white space issues.
...
Fixes #7432
2015-02-16 16:21:48 +00:00
Mike Jolley
ac8d97ab54
No need to add double quotes here Closes #7447
2015-02-16 14:33:12 +00:00
Mike Jolley
7899dd95d6
Run File URLs through esc_url_raw instead of wc_clean to preserve spaces.
...
Closes #7442
2015-02-16 14:23:13 +00:00
Mike Jolley
7902522e96
Merge pull request #7424 from roykho/placeholder-image
...
fix string array conversion notice when passing array to get_image metho...
2015-02-16 14:00:41 +00:00
Mike Jolley
8bdd4fc283
Run item meta label through wc_attribute_label() in admin order page.
...
Closes #7420
2015-02-16 13:49:44 +00:00
Mike Jolley
a668b87801
Merge pull request #7446 from SiR-DanieL/patch-6
...
Added target _blank to the template structure doc link
2015-02-16 13:17:28 +00:00
Mike Jolley
5c1a0d92e8
Related posts - replace ORDER BY RAND() with random offset.
...
Closes #7436
2015-02-16 13:16:18 +00:00
Nicola Mustone
1f0fe09910
Added target _blank to the template structure doc link
2015-02-16 13:55:28 +01:00
Mike Jolley
e58e9cb426
Merge pull request #7444 from SiR-DanieL/patch-6
...
Target _blank on Theme integration guide
2015-02-16 12:46:48 +00:00
Mike Jolley
969e2d3b18
Stock status when updating out of stock product.
...
Fixes #7402
2015-02-16 12:14:10 +00:00
Mike Jolley
f5e73d792d
Fix error when no product is chosen for report.
...
Fixes #7427
2015-02-16 11:53:37 +00:00
Mike Jolley
cdcd38ebb9
API total_tax should include shipping tax
2015-02-16 11:48:26 +00:00
Nicola Mustone
fe0cbd505c
target _blank on Theme integration guide
2015-02-16 12:41:21 +01:00
Mike Jolley
fcbd5c4292
Merge branch 'reports-api-fixes'
2015-02-16 11:35:10 +00:00
Mike Jolley
542dfe7ce4
Add additional error handling to remove_item handler
...
Closes #7415
2015-02-16 11:31:38 +00:00
Mike Jolley
ab1e2b1597
Merge pull request #7418 from tamarazuk/register_post_status_fix
...
Register shop_order post statuses earlier
2015-02-16 11:14:00 +00:00
Mike Jolley
e307786f5e
Merge pull request #7438 from paulwilde/upstream
...
Introduce wc_get_page_permalink
2015-02-16 11:13:02 +00:00
Mike Jolley
226ffb7985
Merge pull request #7441 from karpstrucking/master
...
Fixes issue #7440
2015-02-16 10:44:47 +00:00
Mike Jolley
e1cb2c454b
Remove ip-api at their request Closes #7443
2015-02-16 10:25:13 +00:00
Lucas Karpiuk
fc11849054
Fixes issue #7440
2015-02-15 15:36:18 -05:00
Paul Wilde
c913316f8b
Introduce wc_get_page_permalink.
2015-02-15 19:13:22 +00:00
Dean Taylor
1b38e46fd5
Fix deprecated notice for WP_User->id usage
...
Fix E_USER_NOTICE WP_User->id was called with an argument that is deprecated since version 2.1! Use WP_User->ID instead
2015-02-15 19:02:27 +00:00
roykho
c7ae9c092f
fix string array conversion notice when passing array to get_image method
2015-02-13 17:18:07 -08:00
Mike Jolley
8409d67602
Share data between sales by date report and API.
...
Also ensures data is consistent. #7416
2015-02-13 21:25:59 +00:00
Tamara Zuk
e44d0e60db
Register shop_order post statuses earlier
...
Registering the post statuses on `init` with a priority of 10 is too
late for some uses. Particularly if you are using `WP_Query` on `init`,
WP core will not add the `post_status` where clause if the custom post
statuses are not registered yet.
I ran into this issue on a site using `ALTERNATE_WP_CRON` which runs
`wp_cron()` on `init` with a default priority of `10`. It appears that
this may fix #7408 as well.
2015-02-13 15:08:15 -05:00
Claudio Sanches
e770d1a2e5
Fixed extra spaces
2015-02-13 17:14:12 -02:00
Claudio Sanches
74d8d4ed61
Fixed the PayPal URL for ZA, closes #7417
2015-02-13 16:02:00 -02:00
Mike Jolley
35a3de03d5
Move WC_Email docblock and add class exists check
...
Closes #7399
2015-02-13 16:54:15 +00:00
Claudio Sanches
1bdf6170ae
Merge pull request #7414 from woothemes/tracker-intervals
...
Improvements in tracker intervals
2015-02-13 13:41:52 -02:00
Gerhard
d7629fef33
Update comment
2015-02-13 17:32:17 +02:00
Gerhard
3493a55653
Update time before send, make post non blocking, always update last sent.
2015-02-13 17:29:24 +02:00
Mike Jolley
733339b681
Revert "Autoloader tweaks"
...
This reverts commit d84a0e9ec5
.
2015-02-13 15:21:01 +00:00
Mike Jolley
d84a0e9ec5
Autoloader tweaks
2015-02-13 15:18:26 +00:00
Claudio Sanches
eff087f5ab
Merge pull request #7413 from woothemes/plain-text-email
...
Check support for DOMDocument, closes #7404
2015-02-13 12:55:39 -02:00
Claudio Sanches
94e1a4bf6a
Just check for DOMDocument
2015-02-13 12:54:10 -02:00
Mike Jolley
765dcd174b
Tweak text in frontend colors notice
2015-02-13 14:53:22 +00:00
Mike Jolley
7599747628
Check for empty path in autoloader
2015-02-13 14:49:44 +00:00
Claudio Sanches
4065f56376
Improved the description for DOMDocument in system status
2015-02-13 12:47:56 -02:00
Claudio Sanches
3a85b8cf95
Fixed a typo
2015-02-13 12:44:47 -02:00
Claudio Sanches
7714901fd5
Added DOMDocument item in system status
2015-02-13 12:43:30 -02:00