Claudio Sanches
9eb3b6ddf9
Changed all requests with wp_remote_* to wp_safe_remote_*
2015-06-01 13:28:55 +01:00
Alexander Concha
c1db266e80
Explicitly cast as integer the rating comment meta.
...
On multisite this can contain arbitrary values.
2015-06-01 13:27:16 +01:00
Claudio Sanches
48094b9bf2
Added nonces and check capability when hide admin notices
2015-06-01 13:19:26 +01:00
Alexander Concha
f194330aeb
Escape properly echoed values
...
The variables $base_slug/$structures may contain unsafe values due to
the use of urldecode. For example if the post slug is '%22%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3E'
2015-06-01 12:59:03 +01:00
Alexander Concha
f38bc86c5d
Escape properly the metadata to be copied.
...
Fixes a SQL injection because the meta key can contain arbitrary values.
2015-06-01 12:58:56 +01:00
Ben Bidner
7b9a22208e
readds the `$the_product` global variable
2015-06-01 12:54:14 +01:00
Mike Jolley
1ce272b385
[2.3] Tweak transient clear SQL
2015-06-01 11:38:43 +01:00
Mike Jolley
b9708c4df9
Show refunded total shipping and taxes
...
Closes #8222
2015-06-01 11:06:11 +01:00
Mike Jolley
1e3fcd0e6d
[2.3] Avoid initialising classes when saving
2015-05-29 17:38:25 +01:00
Mike Jolley
0a3defd798
Move tax enabled check
2015-05-29 14:55:57 +01:00
roykho
b9eefa58fa
use esc_textarea function
2015-05-28 16:08:22 -07:00
roykho
54b0a0ca54
changed dynamic variation description to allow limited HTML and some sanitized tweaks
2015-05-28 14:31:45 -07:00
Mike Jolley
e51eae80c6
Merge pull request #8167 from roykho/dynamic-variation-description
...
Dynamic variation description
2015-05-28 15:53:03 +01:00
Mike Jolley
5cac639cff
Merge branch 'improve-refund-reporting' Closes #8028
...
Conflicts:
includes/admin/reports/class-wc-report-sales-by-date.php
includes/updates/woocommerce-update-2.4.php
2015-05-28 14:41:20 +01:00
Claudio Sanches
676e09fdd3
Added new woocommerce_api_keys table in wpmu exclude and in status report
2015-05-27 16:46:43 -03:00
Claudio Sanches
f503cda874
Improved hold stock input width, closes 8233
2015-05-27 14:26:12 -03:00
Claudio Sanches
169e72b824
Added extra arg to all woocommerce_order_item_name filters #8159
2015-05-27 13:29:15 -03:00
Claudio Sanches
6ff7215f3c
Improved the error display for #7959
2015-05-27 13:19:44 -03:00
Claudio Sanches
5c2b14d89f
Standardise case of some strings closes #8125
2015-05-27 12:53:04 -03:00
Claudio Sanches
cc9721ed9d
Merge pull request #7959 from tivnet/patch-4
...
Check for non-existing attribute ID
2015-05-27 12:24:40 -03:00
Claudio Sanches
267c481d86
Improved admin bar visit store link #8196
2015-05-27 11:55:32 -03:00
Mike Jolley
15e3d23022
Merge pull request #8209 from ChromeOrange/master
...
Update html-admin-page-status-report.php
2015-05-26 17:50:37 +01:00
Claudio Sanches
d53d21781b
[2.3] Fixed product category media upload modal and some coding standards, closes #8227
2015-05-26 10:24:49 -03:00
Shiva Poudel
9a818503b9
Updated blockUI Version
2015-05-25 17:03:41 +05:45
Mike Jolley
62c70603ec
[2.3] When updating transients, clear previous version of transients
...
Closes #8131 @claudiosmweb
2015-05-25 01:48:17 +01:00
Andrew Benbow
79d4d921fd
Update html-admin-page-status-report.php
2015-05-23 07:22:12 +01:00
Andrew Benbow
54437afc5c
Update html-admin-page-status-report.php
2015-05-22 19:33:59 +01:00
Claudio Sanches
be0f93f112
[2.3] Fixed theme check notice for core supported themes, closes #8208
2015-05-22 13:52:18 -03:00
Fulvio Notarstefano
c0dda8c582
Typos conditonal_includes -> conditional_includes
...
I believe you meant 'conditional' - I don't think it's referenced elsewhere so it should be safe to rename
2015-05-22 16:01:55 +02:00
Mike Jolley
779b53b2bc
Merge pull request #8187 from lukasjuhas/master
...
#8186 memory exhausted problem fix
2015-05-20 13:48:01 -04:00
Mike Jolley
c01bc43369
Adjust #8165 to deal with 0
2015-05-19 12:53:03 -04:00
Mike Jolley
a08b2e5968
Loop over all posted attributes by referencing max posted key
...
Closes #8165
2015-05-19 12:46:32 -04:00
Lukas Juhas
21bda86baa
#8186 memory exhausted problem fix
...
#8186 issue
2015-05-19 17:16:41 +01:00
Claudio Sanches
e106d57947
Merged #8021
2015-05-18 16:53:04 -03:00
Claudio Sanches
db87add809
Updated the auth endpoint to works with the new woocommerce_api_keys database
2015-05-18 16:46:52 -03:00
Claudio Sanches
22bf7d5c81
Created bulk revoke keys
2015-05-18 16:12:47 -03:00
Claudio Sanches
1c6b91ca14
Improved webhooks nonces and actions
2015-05-18 16:01:51 -03:00
Claudio Sanches
772d45bd06
Added method to revoke api keys
2015-05-18 15:46:16 -03:00
Claudio Sanches
c4d4a623b5
Improved the API Keys table list, added actions and fixed the links
2015-05-18 15:33:36 -03:00
Claudio Sanches
2f5df9c185
Added methods to generate and edit API keys
2015-05-18 15:23:05 -03:00
Matt Harrison
b656ef904a
minor grammar fix. "an SSL" to "a SSL"
2015-05-18 09:03:51 -04:00
Claudio Sanches
c49ab520b8
Created page to edit and create keys
2015-05-16 00:09:29 -03:00
Claudio Sanches
2689d8b51e
Created api keys table list
2015-05-15 23:03:24 -03:00
Claudio Sanches
c76c965b59
Removed user api keys options
2015-05-15 18:04:58 -03:00
Claudio Sanches
572712cb52
Improved the access to the keys/apps section in api tab
2015-05-15 17:14:31 -03:00
Claudio Sanches
eb6f25b47b
Moved some webhooks admin methods from WC_Settings_Rest_API to WC_Admin_Webhooks class
2015-05-15 16:50:30 -03:00
Claudio Sanches
7b8a24924a
Moved api settings to API tab
2015-05-15 16:35:50 -03:00
Claudio Sanches
0edbfeaa35
Created new Settings API tab and moved the old webhooks tab to API tab
2015-05-15 16:12:11 -03:00
Mike Jolley
fd772e41fa
Show non existing tables in system status report #8147
2015-05-15 15:19:39 +01:00
Mike Jolley
bb77120619
Auto load customer details + tweak icons
...
Closes #8112
2015-05-15 12:52:25 +01:00
roykho
b812b2fd94
add dynamic variation description feature
2015-05-14 10:56:26 -07:00
James Koster
0aef556a5c
storefront prompt on add ons screen
2015-05-13 14:50:40 +01:00
Mike Jolley
48d071731a
Set date after status
...
Closes #8078
2015-05-05 14:19:22 +01:00
Mike Jolley
d1d5a489fc
[2.3] Fix round_chart_totals to deal with arrays
...
Closes #8077
2015-05-05 13:55:56 +01:00
Mike Jolley
5a92126a39
Remove all sslverify false
...
Closes #8058 cc @claudiosmweb @roykho @barrykooij
2015-05-05 13:39:34 +01:00
Mike Jolley
7254e45edc
Remove notice fade class Closes #8096
2015-05-05 13:28:08 +01:00
Claudio Sanches
e3782efbf5
Merge pull request #8001 from bordoni/feature/add_context_to_woocommerce_admin_order_item_headers_action
...
Admin Order Header lacks Variable for context
2015-05-05 08:56:39 -03:00
Claudio Sanches
89cd5ac32d
Added esc_html() for #8075
2015-05-05 08:53:43 -03:00
Claudio Sanches
2c52e0e973
Fixed conflicts for #8075
2015-05-05 08:52:28 -03:00
Nicola Mustone
3288997f72
fix coupons amount
2015-05-04 17:19:34 +02:00
Gabor Javorszky
fc66b8581a
Adds a filter to webhook topic dropdown values
...
Fixes #8098
2015-05-02 02:31:24 +01:00
Mike Jolley
3b3845872f
Change deprecated args
...
Closes #7210
2015-05-01 14:52:51 +01:00
roykho
7eb7f7df30
fixed issue with bulk edit sale price saving as 0 when not entering any value fixes #8076
2015-04-30 15:49:22 -07:00
Peter
d94b2c95fc
Update class-wc-meta-box-order-data.php
2015-04-29 16:47:17 -04:00
Peter
c8707a68c1
Update class-wc-meta-box-order-data.php
...
Set "Order" string to be retrieved from post type object singular name rather than being hard coded. Similar to side bar meta box titles.
2015-04-29 16:01:34 -04:00
Claudio Sanches
c0a8e4d87e
[2.3] Error prevention for WC_Admin::admin_footer_text(), closes #8057
2015-04-28 11:06:40 -03:00
Claudio Sanches
4441436618
[2.3] Fixed system report in WordPress 2.4 with emojis
...
@mikejolley
2015-04-27 18:12:46 -03:00
Claudio Sanches
e1f7f5bb01
Improved the system status to have a section only for API
2015-04-27 17:00:55 -03:00
Claudio Sanches
fcf03a4ac1
Merge pull request #8053 from woothemes/api-product-attributes
...
[API] Product attributes endpoints, closes #8031
2015-04-27 16:35:09 -03:00
Claudio Sanches
2e56790122
[2.3] Fixed the sort order dropdown items when create new product attributes
2015-04-27 13:08:53 -03:00
Claudio Sanches
1b176c73e3
Created wc_check_if_attribute_name_is_reserved() function
2015-04-27 13:06:28 -03:00
Claudio Sanches
611ffff0a5
Created wc_get_attribute_types() and deprecated the woocommerce_admin_attribute_types action
2015-04-27 12:31:34 -03:00
Mike Jolley
d3415f2414
[2.3] Remove submitdiv and fix post status
...
Closes #8039
2015-04-27 11:13:49 +01:00
Ibrahim
7b513ec35c
Error message not formatted
...
The error message that is displayed when adding a reserved term for attribute is not formatted. Hence the user sees %s in his error message.
2015-04-26 11:24:25 +05:30
Mike Jolley
6c8cc42876
Revise reports #8028
2015-04-24 15:58:13 +01:00
Mike Jolley
4ab4865ac6
[2.3] Fix stock report pagination. Closes #8023
2015-04-24 12:01:49 +01:00
Mike Jolley
8731c5b0d2
[2.3] Send back to same status when bulk editing
...
Fixes #7998
2015-04-23 13:50:40 +01:00
Mike Jolley
a2a0e6f10d
[2.3] Refund reporting Fixes #8010
...
- Prevents the refund amount being SUMed and multiplied by the number
of items
- Does LEFT join on qty, so refunds are reported if not done directly
on the line
2015-04-23 10:19:43 +01:00
Gustavo Bordoni
22393df867
The woocommerce_admin_order_item_headers action lacks a variable for context
2015-04-21 23:13:55 -03:00
Gregory Karpinsky
91246f86b1
Check for non-existing attribute ID
...
If get_row returns `null`, should not continue. Avoid "not an object" errors on the following lines, and potential data corruption after submitting form with non-existing ID.
2015-04-14 23:59:53 -04:00
Mike Jolley
1e06f82f59
Merge pull request #7948 from dangh/master
...
Cannot remove shipping class at quick edit
2015-04-14 12:02:17 +01:00
Mike Jolley
38f8c5fd0b
Round values in category report
...
Closes #7949
2015-04-14 10:51:20 +01:00
Claudio Sanches
1dadbb2842
Fixed coding standards for #7879
2015-04-13 12:37:22 -03:00
Claudio Sanches
08c8fad1fc
Fixed standards for #7842
2015-04-13 12:31:18 -03:00
Mike Jolley
9f65d2a1fc
Added priorities for shipping methods to give more control over defaults.
...
Closes #7871
2015-04-13 15:32:57 +01:00
DangH
3c9bc90bcc
Cannot remove shipping class at quick edit
2015-04-13 18:01:37 +07:00
Mike Jolley
80b6c6ca3f
Merge pull request #7908 from SiR-DanieL/patch-2
...
Conditions improvement
2015-04-13 10:54:49 +01:00
Mike Jolley
b82339a4cb
Merge pull request #7925 from dominic-p/order-meta-undefined-key
...
Prevent notices if variation_id isn't set
2015-04-13 10:53:49 +01:00
Mike Jolley
e6de50f556
Merge pull request #7842 from nathanielks/hotfix/coupon-meta-box-products-error
...
Check if product is object before adding to array.
2015-04-13 10:48:09 +01:00
Dominic
be8e61161b
Prevent notices if variation_id isn't set
...
It's a minor thing, but I have ran into circumstances where the `$item`
array doesn't have the `variation_id` set (namely after importing data
using another plugin). This tweak checks for the `variation_id` without
throwing a notice if the array key isn't defined.
2015-04-09 16:15:28 -07:00
Mike Jolley
a6692c4722
Clarify delete message
...
Closes #7917
2015-04-09 12:05:07 +01:00
Mike Jolley
c8c276d058
Show .org plugin version
...
Closes #7866 Fixes #7863
2015-04-09 11:26:56 +01:00
Nicola Mustone
5e758bb8f9
conditions improvement
2015-04-08 14:34:50 +02:00
Mike Jolley
204c65ca6a
Merge pull request #7836 from aelia-co/master
...
Added support for JOIN types in WC_Admin_Report
2015-04-08 12:11:04 +01:00
Mike Jolley
44a6952e16
Merge pull request #7331 from shivapoudel/bulk-message
...
Bulk message
2015-04-08 12:10:56 +01:00
Mike Jolley
26e7a5c705
Merge pull request #7865 from SiR-DanieL/scrutinizer-issues
...
Fix scrutinizer issues
2015-04-08 11:53:44 +01:00
James Koster
cd20ce6789
variation images. closes #7844
2015-04-08 10:19:23 +01:00
James Koster
f6346c705c
Merge pull request #7889 from shivapoudel/tweak-backbone-modal
...
Tweak backbone modal
2015-04-08 10:02:42 +01:00
shivapoudel
227c83a084
Use of <button> instead of <a> for modal-close
...
This was the clone of themes.php modal close button
2015-04-04 13:57:20 +05:45
shivapoudel
29f584ba98
Fix - Unusual slightly dark box on the backdrop of modal right side
2015-04-04 13:51:10 +05:45