Commit Graph

6616 Commits

Author SHA1 Message Date
Gerhard Potgieter 62e19162e6 Use $wpdb->replace instead of doing a select and then deciding to do an update or insert. Fixes #10389 2016-02-23 14:48:48 +02:00
Mike Jolley a6cdabff7e [2.5] Multibyte safe trim string
Fixes #10378
2016-02-23 11:40:16 +00:00
Mike Jolley 5ddc0b1a9a [2.5] Fix CLI when setting a single category
Fixes #10409
2016-02-23 11:32:18 +00:00
Shiva Poudel 162e6f874e Tweak some lines endings for views 2016-02-23 14:56:02 +05:45
Shiva Poudel e8077b4f9d Remove new line 2016-02-23 14:42:22 +05:45
Shiva Poudel 200a157663 Stop message moving using css class inline,
Fixes #10400
2016-02-23 14:18:11 +05:45
Mike Jolley 73f71191fc [2.5] current class fix on some servers when empty 2016-02-22 15:19:44 +00:00
Mike Jolley bd7072a8dc Generate dynamic hook docs
Closes #10393
2016-02-22 14:41:14 +00:00
Mike Jolley fc3474f255 Stop message moving
Fixes #10400
2016-02-22 13:32:31 +00:00
Mike Jolley dbd6479f45 Comment on get_related limit
Closes #10398
2016-02-22 13:27:39 +00:00
Mike Jolley 8345f67f6c Tweak price filter + code comments
#10371
2016-02-22 13:23:25 +00:00
Claudio Sanches f52b018279 Merge pull request #10396 from shivapoudel/docblock-fix
Fix docblock for wc_back_link function
2016-02-21 16:40:20 -03:00
Shiva Poudel e6e2a7ed42 Fix docblock for wc_back_link function 2016-02-21 10:10:33 +05:45
Shiva Poudel abe2f108f9 View mode option logic moved to appropriate post-type class 2016-02-20 00:49:36 +05:45
Mike Jolley 1ee2b431a3 Show all downloads regardless of file
Closes #10388
2016-02-19 17:17:14 +00:00
Mike Jolley fdddbff229 Fix my account endpoint with plain permalinks
@claudiosmweb Fixes #10390
2016-02-19 17:14:26 +00:00
Mike Jolley e9703da300 Merge pull request #9921 from peterrath/vat-exempt-and-tax-enabled-handling
VAT exempt and “TAX enabled” handling in back end and Orders API
2016-02-19 14:53:39 +00:00
Mike Jolley d63f4eb229 Merge pull request #10369 from justinshreve/back-to-emails-button-10317
Add a back button on the email notification management screens
2016-02-19 14:45:51 +00:00
Mike Jolley 986d63c511 Merge pull request #10384 from justinshreve/view-mode-10373
Hide the "View Mode" option on the "Screen Options" tab for products, orders, and coupons.
2016-02-19 14:44:38 +00:00
Mike Jolley 8f82852be5 Merge pull request #10385 from justinshreve/template-functions-notice-10381
[2.5] Prevent a notice in woocommerce_products_will_display
2016-02-19 14:44:21 +00:00
Mike Jolley 8d391e86e6 Merge pull request #10370 from BFTrick/system-status-private
Adding Check in System Status for Private WooCommerce Pages
2016-02-19 12:40:49 +00:00
Justin Shreve 7fcbf08a9a Prevent a notice by stopping a loop in woocommerce_products_will_display from stomping on other variables. 2016-02-18 12:20:22 -08:00
Justin Shreve 2968a66a01 Hide the "View Mode" option on the "Screen Options" tab for products, orders, and coupons. 2016-02-18 11:58:36 -08:00
Peter 5a9cec18ee Indent the new if statement 2016-02-18 20:35:33 +01:00
Peter 0cc33c8186 Use !== instead of != in class-wc-ajax.php
Use !== here: if ( wc_tax_enabled() && $is_vat_exempt !== 'yes' ) {
2016-02-18 20:29:10 +01:00
Peter 516602b4e3 API should accept bool in is_vat_exempt
Add ? 'yes' : 'no' to force values. API should accept bool here: 
update_post_meta( $order->id, '_is_vat_exempt', $data['is_vat_exempt'] ? 'yes' : 'no' );
2016-02-18 20:14:07 +01:00
Peter b508a6f19f Remove space before bracket in class-wc-ajax.php
remove space before bracket here: $is_vat_exempt = get_post_meta( $order_id, '_is_vat_exempt', true );
2016-02-18 19:57:55 +01:00
Peter de1ecf9f78 Use === instead of == in abstract-wc-order.php
Use === here: 	if ( 'yes' === $this->is_vat_exempt or ! wc_tax_enabled() )
2016-02-18 19:56:55 +01:00
Patrick Rauland abfce2dea9 removing html from translatable string in system status. see #10370 2016-02-18 11:52:12 -07:00
Patrick Rauland 14ffeaa2a3 making post_status check in system status literal. See #10370 2016-02-18 11:46:03 -07:00
Justin Shreve c2d29e4884 Add a back button on the email notification management screens so you can easily get back to the main listing of emails. 2016-02-18 08:46:06 -08:00
Justin Shreve 4c498336fe Fix up some minor coding standards issues 2016-02-18 08:40:02 -08:00
Justin Shreve e8eabfd309 Fix hierarchy for products and attributes 2016-02-18 08:40:01 -08:00
Justin Shreve cfe39073a3 Fix headings on the add-ons/extensions screens 2016-02-18 08:39:02 -08:00
Justin Shreve d28c4f4f39 Fix hierarchy in the system status pages. 2016-02-18 08:39:02 -08:00
Justin Shreve 608f651133 Fix hierarchy on settings screens. 2016-02-18 08:39:02 -08:00
Justin Shreve 6d683b7492 Fix up hierarchy on all of the generated report screens. 2016-02-18 08:39:02 -08:00
Justin Shreve 7058facc68 Fix screen reader text on the coupons management screen 2016-02-18 08:39:02 -08:00
Justin Shreve 8c49e81f45 Fix up heading hierarchy on the add new order screen 2016-02-18 08:39:02 -08:00
Justin Shreve 8d03cf33a8 Fix screen reader text on orders screen. 2016-02-18 08:39:01 -08:00
Shiva Poudel 7ec7515d52 Fix - Contributing guidelines broken links 2016-02-18 21:24:50 +05:45
Mike Jolley 5acb37560f Merge branch 'pr/10374' 2016-02-18 12:57:12 +00:00
Mike Jolley 47a0762a4a Remove old code 2016-02-18 12:57:03 +00:00
Mike Jolley ce777b81fd Remove empty notices 2016-02-18 11:04:12 +00:00
Mike Jolley e987a3830a Remove index drop for tax table 2016-02-18 10:52:54 +00:00
Shiva Poudel 19781fb91b Tweak strings for the media frame button 2016-02-18 02:22:36 +05:45
Patrick Rauland dae216104e adding check for private WooCommerce pages 2016-02-17 10:06:28 -07:00
Justin Shreve b2b9d7e4da Give the downloads and payment methods pages their own filters. 2016-02-16 11:52:08 -08:00
Claudio Sanches 2de00c61ff Added account endpoint for customer payment methods 2016-02-16 13:57:46 -02:00
Claudio Sanches d34c580e1d Fixed order default qty 2016-02-16 13:50:06 -02:00