Commit Graph

3735 Commits

Author SHA1 Message Date
Claudio Sanches 183d6ce62c [API] Fixed create coupon attributes 2015-01-20 17:03:21 -02:00
Mike Jolley 51c6f7f670 Clean up process_registration() 2015-01-20 16:05:08 +00:00
Mike Jolley 2d8f021cc7 Optimise the admin notices class.
@claudiosmweb
2015-01-20 15:23:34 +00:00
Mike Jolley 91de767442 Product constructor setting post incorrectly 2015-01-20 14:00:30 +00:00
Mike Jolley 22f68af061 These should be arrays 2015-01-20 13:50:25 +00:00
Mike Jolley 5404006b29 MAP Url method 2015-01-20 13:31:02 +00:00
Mike Jolley de4129f9b2 WP_POST docs 2015-01-20 13:20:22 +00:00
Mike Jolley 5ab35bf212 Protected variables 2015-01-20 13:01:19 +00:00
Mike Jolley baea8f9ad4 Product class properties 2015-01-20 13:00:56 +00:00
Mike Jolley 803066d6a6 There is no content_type 2015-01-20 12:49:09 +00:00
Mike Jolley b941636068 Deprecate unused and pointless get_billing_address() get_shipping_address() methods
@claudiosmweb
2015-01-20 12:39:21 +00:00
Mike Jolley df66e0bcc8 Docblocks and code fixes in order class 2015-01-20 12:34:40 +00:00
Mike Jolley 2e624995b4 More magic properties and variable declarations in order class 2015-01-20 12:07:33 +00:00
Mike Jolley 2693e110c6 Correct @var syntax. 2015-01-20 11:35:59 +00:00
Mike Jolley ea13b90340 Define magic properties for address data 2015-01-20 11:23:17 +00:00
Mike Jolley c0bea39c95 Seeing if magic properties are recognised 2015-01-20 11:06:15 +00:00
Mike Jolley 562743e847 Another @var declaration 2015-01-20 10:52:08 +00:00
Mike Jolley 0e4026941b Move $current_tab to where used 2015-01-20 10:41:26 +00:00
Mike Jolley 0e9bb50aae Docblock experiments continued... 2015-01-20 10:29:54 +00:00
Mike Jolley bc45f7755f Testing to see if scruitinizer recognises docblock 2015-01-20 10:01:28 +00:00
Mike Jolley 8e9539b0c2 scrutinizer issues in sales-by-category report 2015-01-20 09:53:33 +00:00
Mike Jolley a494bf84de Check if already set before setting in WC_Session.
Prevents unintended dirty sessions. Fixes #6846
2015-01-20 09:46:57 +00:00
Mike Jolley 7f2a6b5e41 Fix pagination by preventing old query args from being re-added to the link
Fixes #7164
2015-01-20 09:43:56 +00:00
Mike Jolley 0b393b7e82 Add comment #7163 2015-01-20 09:43:56 +00:00
Mike Jolley 0539431dd9 Merge pull request #7165 from maxrice/tweak-avatar-comment-types
Support avatars for the `review` comment type
2015-01-20 08:45:06 +00:00
Max Rice 96bc2ff25e Support avatars for the `review` comment type 2015-01-20 00:26:33 -05:00
Brent Shepherd f9f3054c22 Restore $theorder
SHA: 74ba11c189 removed instantiation of `$theorder` global in `WC_Meta_Box_Order_Actions::output()`
as it was mistaken for unused code. However, some callbacks attached to hooks in that function may
actually rely on that global to determine if actions should be displayed for certain orders.
2015-01-19 17:12:26 -08:00
Claudio Sanches ab3553a6fd Select2 translatable, closes #7159 2015-01-19 17:31:22 -02:00
Claudio Sanches 18b55a429e [API] Added price_num_decimals to the index, closes #7149 2015-01-19 16:09:44 -02:00
Mike Jolley f75a5d3a83 Merge pull request #7153 from helgatheviking/fix/php-notice-on-parse-query
changes tax_query to false for downloadable and virtual product filters
2015-01-19 14:51:23 +00:00
Mike Jolley 3716329b16 Prevent error when user does not exist 2015-01-19 14:50:06 +00:00
Mike Jolley 0d64e3854d Add tooltips for manual and auto refunds Closes #7117 2015-01-19 14:50:06 +00:00
Mike Jolley a9301323b5 Merge pull request #7113 from grey-rsi/master
add filters in admin reports
2015-01-19 14:05:58 +00:00
Kathy Darling 631099d6b2 changes tax_query to false for downloadable and virtual product filters. fixes #7152 2015-01-19 14:39:59 +01:00
Claudio Sanches 505501912f Fixed "PHP Notice: Undefined variable: metabox_class" error for non-taxonomy attributes 2015-01-19 11:38:47 -02:00
Claudio Sanches 07e6996bf1 [API] Fixed the default attributes saving 2015-01-19 11:33:33 -02:00
Mike Jolley 33e046a4d0 Use WC_Cache_Helper to expire shipping cache on setting save, and transient clear
Closes #7151
2015-01-19 13:19:44 +00:00
Claudio Sanches 847720fe68 [API] Fixed attributes save for variations in products endpoint 2015-01-19 11:11:30 -02:00
Claudio Sanches b6925d49ef [API] Fixed errors when the description and short_description is empty in products endpoint 2015-01-19 10:52:44 -02:00
Mike Jolley 20a2b2d079 API: Product Prices should use store precision settings.
Fixes #7149
2015-01-19 11:35:12 +00:00
Mike Jolley 3590bfb198 Standard tax class is empty. Fixes #7142 2015-01-19 11:30:30 +00:00
Mike Jolley ee8b3f22c3 Return WP_USER from check_password_reset_key
Closes #7134
2015-01-19 10:53:33 +00:00
Mike Jolley 53f32416c5 Ensure product exists before is_visible check
Closes #7146
2015-01-19 10:43:43 +00:00
Mike Jolley bbfe9f273b Merge pull request #7148 from SiR-DanieL/patch-3
Clearer coupon option description
2015-01-19 10:05:41 +00:00
Nicola Mustone 47b0c4cb97 clearer coupon option description 2015-01-19 09:18:44 +01:00
Max Rice 2d974987dc Check strings using hash_equals
time-constant string comparison to prevent timing attacks
2015-01-19 00:34:09 -05:00
Max Rice 512d77fb4c code standards 2015-01-19 00:33:38 -05:00
Max Rice 1f62a53e0e Add hash_equals() function 2015-01-19 00:11:41 -05:00
Claudio Sanches b896c5063f Stop erros when the user does not exist in wc_customer_bought_product() function, closes #7145 2015-01-19 00:25:32 -02:00
shivapoudel 16047b7808 Added Nepal(NP) country locale used by the checkout 2015-01-19 00:45:19 +05:45