Claudio Sanches
f2e6a9e400
Merge pull request #8290 from shivapoudel/jshint-tweaks
...
Tweaks product and term ordering
2015-06-05 11:52:16 -03:00
Claudio Sanches
6fee82b377
[API] Added display and image info in product category endpoint, closes #8298
2015-06-05 11:37:46 -03:00
Mike Jolley
716302d76e
Revised API endpoint
...
- Trigger an generic action on all API requests
- Set status header based on whether or not the API endpoint is
actually valid/being listened for
- No cache headers
- No longer try to init unknown class
- Init gateways before the request so their listeners are registered
cc @claudiosmweb
2015-06-05 14:36:50 +01:00
Mike Jolley
79629c5928
Merge pull request #8287 from aelia-co/master
...
Ensured that refunds have parent order's currency
2015-06-05 13:54:00 +01:00
Mike Jolley
541edc3570
Merge pull request #8274 from SiR-DanieL/patch-5
...
Filter wc_tax_enabled
2015-06-05 13:53:33 +01:00
Mike Jolley
a4c2a73050
Max array keys
2015-06-05 13:37:45 +01:00
Mike Jolley
71673684fb
[2.3] get_discounted_price needs to check if taxes are enabled
...
Closes #8267
2015-06-05 11:24:59 +01:00
Claudio Sanches
b433f5e2ce
Removed duplicated code in WC_AJAX::increase_order_item_stock()
2015-06-04 21:02:03 -03:00
Claudio Sanches
2d5c53942b
Removed duplicated code in WC_AJAX::reduce_order_item_stock()
2015-06-04 20:57:43 -03:00
Shiva Poudel
ce2896ffcb
Little tweak ...
2015-06-04 18:18:49 +05:45
Shiva Poudel
2bb8ce3097
Fix - undefined is not necessary to initialize
2015-06-04 18:08:07 +05:45
Shiva Poudel
f9b822ae21
Tweak - JSHint fix and coding standard for term ordering
2015-06-04 18:06:39 +05:45
Shiva Poudel
318f6672d9
Remove unused var postparent
2015-06-04 17:51:58 +05:45
Shiva Poudel
55d7dab62d
Tweak - JSHint fix and coding standard for product ordering
2015-06-04 17:51:01 +05:45
Mike Jolley
2a122feb5c
Merge pull request #8284 from justinshreve/api-key-pagination
...
Round total_pages calculation up in the API keys list table.
2015-06-04 10:27:51 +01:00
Diego Zanella
1d3713922b
Restored original WC_Gateway_PayPal class
2015-06-04 09:04:33 +01:00
Diego Zanella
c0051da5c5
Added logic to copy the refund currency from parent order
2015-06-04 08:55:24 +01:00
Diego Zanella
edd831db94
Merge remote-tracking branch 'upstream/master'
2015-06-04 08:45:27 +01:00
Claudio Sanches
4209901e39
Merge pull request #8282 from shivapoudel/editorconfig
...
EditorConfig - Matches multiple files with brace expansion notation
2015-06-03 20:30:01 -03:00
Justin Shreve
01a19cc0c7
Round the total_pages calculation up so we always display the right number of pages.
2015-06-03 23:05:52 +00:00
Shiva Poudel
aa8e86ed59
EditorConfig - Matches multiple files with brace expansion notation
2015-06-04 03:56:49 +05:45
Mike Jolley
e1ec9c60f9
Merge pull request #8273 from jobthomas/onboarding
...
Some edits in the copy of the second step of the onboarding wizard.
2015-06-03 22:13:08 +01:00
Claudio Sanches
9ed7bd9bea
Added Argentinian provinces, closes #8277
...
Source: http://en.wikipedia.org/wiki/ISO_3166-2:AR#Current_codes
2015-06-03 17:10:27 -03:00
Claudio Sanches
65580cd967
Minify files for #8279
2015-06-03 17:02:19 -03:00
Claudio Sanches
729c63bbd1
Merge pull request #8279 from shivapoudel/fix-jshint
...
Fix jshint for Product Meta-Box
2015-06-03 17:02:22 -03:00
Claudio Sanches
b9442f2ffa
[2.3] Check if rating is enabled before check if rating is required to a review, closes #8281
2015-06-03 16:57:36 -03:00
Shiva Poudel
27186d235c
Tweaks - JSHint fix for product meta-box
2015-06-03 21:38:34 +05:45
Shiva Poudel
9afffa0fd7
Tweaks - JSHint fix for product variation meta-box
2015-06-03 21:20:13 +05:45
Shiva Poudel
051964adc5
Remove undefined variable
2015-06-03 21:18:01 +05:45
Shiva Poudel
0e01ff90f3
Tweaks - Conding standard and JSHint fix
2015-06-03 21:17:40 +05:45
Mike Jolley
a2f05dd368
Show notices before cat loops
2015-06-03 14:22:23 +01:00
Nicola Mustone
29e6082ab6
typo
2015-06-03 12:50:11 +02:00
Nicola Mustone
17eac9eaed
added filter wc_tax_enabled
2015-06-03 12:49:10 +02:00
Job Thomas
c20ebeb899
Some edits in the copy of the second step of the onboarding wizard.
...
** Setup (noun) > set up (verb)
** Singular "Customer" + plural verb -> Plural customers
** Notation of where to find settings options conform docs team standards
2015-06-03 12:09:48 +02:00
Claudio Sanches
b331bf2cc9
Merge pull request #8270 from shivapoudel/check-array
...
Best practise to check array in expression
2015-06-02 14:35:43 -03:00
Shiva Poudel
db107fac45
Check array in expression for json_search_* events
2015-06-02 22:58:52 +05:45
Shiva Poudel
27adbb2a0b
Best practise to check array in expression :)
2015-06-02 22:55:02 +05:45
Claudio Sanches
d5c5d5e394
Fixed unit tests for wc_get_price_thousand_separator() and wc_get_price_decimal_separator()
2015-06-01 11:03:19 -03:00
Mike Jolley
60dd4474db
abstract email class should not exist ! legacy
2015-06-01 10:48:13 -03:00
Mike Jolley
2febc8f20a
Add capability checks to ajax requests
...
Closes #15
2015-06-01 13:38:00 +01:00
Mike Jolley
1505424469
Define allowed_file_types
...
#13
2015-06-01 13:37:43 +01:00
Mike Jolley
527311d553
Validate file types when saving products. Closes #13
...
Handles 3 possible types of file;
1. Relative path on server
2. Absolute URL
3. Shortcodes
URLs without extensions are not validated.
2015-06-01 13:37:39 +01:00
Claudio Sanches
95a4133bb7
Removed WooCommerce::fix_server_vars, closes #14
2015-06-01 13:37:33 +01:00
Mike Jolley
5b435024ea
Use htmlspecialchars to ensure characters get encoded for select2
...
We cannot update to select2 4.0 until a major release. Closes #4
2015-06-01 13:37:26 +01:00
Mike Jolley
c5bb4ad473
Fix tooltip implode
2015-06-01 13:37:21 +01:00
Mike Jolley
cb2079deaa
wc_send_frame_options_header
...
Prevent Clickjacking - prevent checkout and account pages from being
used in iFrames. Added via filter so this can be disabled.
Closes #8
2015-06-01 13:37:12 +01:00
Mike Jolley
3b45c0d46f
Set nonce_user_logged_out to WC session ID, if set
...
Closes #9
2015-06-01 13:36:07 +01:00
Mike Jolley
ed99be9aed
Sanitize tooltips with htmlspecialchars and remove esc_attr usage
...
Part of #4
2015-06-01 13:36:03 +01:00
Claudio Sanches
51c8bbf87c
wrong nonce verification
2015-06-01 13:33:51 +01:00
Mike Jolley
ec5a693ad7
Use prepare for updating attributes
...
Closes #7
2015-06-01 13:29:02 +01:00