Commit Graph

86 Commits

Author SHA1 Message Date
Barry Kooij 4d3fbaa9e0 Regex escape mathes before using them as regex to prevent delimiter problems. 2014-10-21 15:20:19 +02:00
Barry Kooij e122cf482a Changed pregmatch delimiters and optimized regex.
Fixes #6584.
2014-10-21 15:09:43 +02:00
Mike Jolley d1de7f42b9 Made template debug mode set WC_TEMPLATE_DEBUG_MODE constant and remove all overrides for all template loading functions.
Closes #6436
2014-10-03 10:52:11 +01:00
shivapoudel 5eaa138d21 Absolute path fix for wc-core-functions.php 2014-09-21 00:52:11 +05:45
Mike Jolley 1d3b7a52c1 Improved headers sent notice to include file and line. 2014-09-17 11:40:54 +01:00
Mike Jolley 5b3b855377 Merge pull request #6233 from shivapoudel/patch-2
Fix with $ for Colombian Peso
2014-09-12 09:34:28 +01:00
Mike Jolley ec28795a4e Merge pull request #6232 from shivapoudel/patch-1
Fix some issues with Currency code for NPR
2014-09-12 09:33:47 +01:00
claudiosmweb ec9e08ba7d Fixed images crop option and wc_get_image_size() function
Reported in http://wordpress.org/support/topic/hard-crop

@mikejolley
2014-09-11 21:22:30 -03:00
Shiva Poudel 22f80cf173 Fix indendation ❤️ 2014-09-12 00:45:43 +05:45
Shiva Poudel 647988d22e Fix with $ for Colombian Peso
No symbol shown in Currency Settings selection so ;)
2014-09-12 00:41:02 +05:45
Shiva Poudel 51ba1df181 Fix some issues with Currency code for NPR
NRP was typo mistake so found the bug and fix. I have send pull for this Nepali currency previously.
2014-09-12 00:31:41 +05:45
Mike Jolley c4ef86d44e scrutinizer patches 2014-09-08 00:37:55 +01:00
Mike Jolley 72f9374902 Merge pull request #6068 from bryceadams/master
Added Lao Kip Currency & Before / After Downloads actions
2014-08-22 10:47:02 +01:00
Bryce 04234a4968 Added Lao Kip Currency 2014-08-21 11:42:46 +07:00
Shiva Poudel 547b96f54d Tab index fix for PYG Currency and Symbol. 2014-08-21 10:13:39 +05:45
Shiva Poudel ee7755fd0e Added Nepali Currency and Symbol. 2014-08-21 10:10:51 +05:45
claudiosmweb 6e21079d76 moved exclude order notes from wp_count_comments to class-wc-comments.php 2014-08-12 12:13:29 -03:00
Mike Jolley 5046256cea Prevent 404's caused by attachment link workaround.
Fixes #5975
2014-08-06 11:50:09 +01:00
Max Rice 572becdcde Introduce WC_Webhook class
Part of #5564
2014-07-30 16:23:22 -04:00
Mike Jolley cdc0efed75 Merge pull request #5843 from maxrice/feature-orders-endpoint-issue-4160
Create/Edit/Delete orders via the REST API
2014-07-28 09:18:49 +01:00
Mike Jolley 708861421a Merge pull request #5839 from maxrice/api-versioning
Update REST API version to v2
2014-07-28 09:18:41 +01:00
Ninos Ego 7b24853afc Add filter: wc_get_template
Allow 3rd party plugin filter template file from their plugin
2014-07-22 03:05:25 +02:00
Max Rice 4661cd3acf set a proper code for wp_error 2014-07-12 21:43:27 -04:00
Max Rice 8c3df8f65f update get_woocommerce_api_url() to handle multiple versions 2014-07-12 17:51:29 -04:00
Claudio Sanches 9701cfe2a7 Revert "order_type taxonomy and register_order_type() function" 2014-07-08 14:10:37 -03:00
Mike Jolley cc5b722a22 Merge pull request #5804 from claudiosmweb/feature-register-order-type
order_type taxonomy and register_order_type() function
2014-07-08 15:49:28 +01:00
Coen Jacobs f427ebaf7c Updated Turkish Lira symbol 2014-07-08 14:34:42 +02:00
claudiosmweb 16953e96f8 save the order type when create a order with wc_create_order() 2014-07-07 17:23:43 -03:00
claudiosmweb 2b1a99eca6 introduces the wc_get_core_supported_themes() function 2014-06-27 16:42:23 -03:00
claudiosmweb 2fb2d8dfb6 removed order notes from wp_count_comments() function, closes #5732 2014-06-24 15:56:53 -03:00
Mike Jolley 0e623e2c50 PESO Closes #5493 2014-06-24 16:08:04 +01:00
Mike Jolley cf3cca4c8e Merge branch 'feature-wc-create-order' 2014-06-18 16:07:29 +01:00
Mike Jolley 94549e1462 Notices 2014-06-13 16:11:15 +01:00
Mike Jolley c591a3fb54 Set correct post type 2014-06-11 16:11:28 +01:00
Mike Jolley ef3e728855 Setters + wc_create_order + wc_update_order for #4169 2014-06-11 15:10:03 +01:00
Coen Jacobs 3ad8935b20 Removed ununsed global variables in local scopes 2014-06-08 22:33:11 +02:00
Mike Jolley 32e77897cc Placeholder functions 2014-06-06 15:51:09 +01:00
Mike Jolley ded4b7404d Admin changes for #5046
- Removed post type classes. Since they were always loaded, there was
no benefit having them split up. Combined meaning less hooked in
methods.
- Stopped loading some function files and sessions in the admin area.
They are not needed there.
- Made a few admin page classes static as they are stateless
2014-06-04 11:16:19 +01:00
Mike Jolley 7c5c113b61 Prevent sub pages of the shop page 404'ing with verbose page rules
Fixes #4621
2014-06-04 07:46:21 +01:00
claudiosmweb dfbe3e2e16 excluded the product_cat custom rewrites from the rewrite_rules_array, closes the #4844 2014-06-02 17:00:44 -03:00
Mike Jolley 25795c1fba Merge pull request #5578 from claudiosmweb/feature-wc_get_log_file_path-function
Introduces the wc_get_log_file_path() function
2014-05-29 16:35:48 +01:00
Patrick Rauland 1baaf9f754 capitalizing paraguayan guarani 2014-05-29 09:36:57 -05:00
Patrick Rauland 889e758b38 adding paraguayan currency. see #5568 2014-05-29 09:34:52 -05:00
claudiosmweb 7ca27a8f80 introduces the wc_get_log_file_path() function 2014-05-28 11:08:33 -03:00
Patrick Rauland 3b90a1d8c2 fixing danish krone symbol 2014-05-23 20:13:30 -05:00
demon36 d57ac66fce added egypptian currency
#5502
2014-05-18 14:30:37 -07:00
Josh Eaton 3d8daf7054 Update comment to reflect that parameter template_name for wc_get/locate_template() only accepts strings
Fixes #5389
2014-04-28 16:04:21 -04:00
Mike Jolley e7898f8670 [2.2] Protect admins from shop managers
Closes #5322
2014-04-23 14:18:21 +01:00
Max Rice ebf7603a45 Use is_ssl() for get_woocommerce_api_url()
When accessing the API over OAuth for a site that has the checkout
forced over SSL, the OAuth string to sign is incorrect. This fixes that
by checking whether the current request is SSL when returning the api
URL
2014-03-31 16:22:17 -04:00
vlinicx 61ac7fbc9a Update wc-core-functions.php
Adding a currency symbol to Croatian currency
2014-03-22 14:33:25 +01:00