Commit Graph

20620 Commits

Author SHA1 Message Date
Konstantin Kovshenin dda05889eb Helper: Avoid an undefined warning in the main template 2017-05-25 23:44:29 +03:00
Konstantin Kovshenin 8b5c5c0bd6 Helper: Add better update URLs to theme subscriptions 2017-05-24 18:15:07 +03:00
Konstantin Kovshenin f912f39364 Helper: Add better update URLs to plugin subscriptions 2017-05-24 18:11:37 +03:00
Konstantin Kovshenin 353eac70ca Helper: Remove some legacy updater notices 2017-05-24 18:10:31 +03:00
Konstantin Kovshenin e8afe57593 Helper: Add contextual nags about available extension updates 2017-05-24 14:59:48 +03:00
Konstantin Kovshenin a1b3d2834b Helper: Fix duplicate product output 2017-05-24 13:04:52 +03:00
Konstantin Kovshenin dc2360711f Helper: Toggle subscription on plugin activation/deactivation
When a user activates or deactivates an extension, attempt to find
a valid subscription for that extensioni, and activate/deactivate it
to spare the user an extra step.
2017-05-03 14:37:36 +03:00
Konstantin Kovshenin 39218ea323 Helper: Remove everything related to woocommerce.dev 2017-05-03 13:45:43 +03:00
Konstantin Kovshenin 564327cac3 Helper: Use strict comparison when checking response code from update-check 2017-05-03 13:34:55 +03:00
Konstantin Kovshenin ca93452354 Helper: Fix some missing docblocks 2017-05-03 13:33:39 +03:00
Konstantin Kovshenin 48a44eb7e5 Helper: Add some missing docblocks 2017-04-26 18:50:38 +03:00
Konstantin Kovshenin c440994883 Helper: Don't use assignment in helper disconnect check 2017-04-26 18:39:26 +03:00
Konstantin Kovshenin ed734f350d Helper: Use date_i18n() instead of date() 2017-04-26 18:38:24 +03:00
Konstantin Kovshenin eacffb823a Helper: Add l10n functions to all strings 2017-04-26 18:36:20 +03:00
Konstantin Kovshenin 2e55b3076d Helper: Yoda condition in _http_request_host_is_external 2017-04-26 18:33:17 +03:00
Konstantin Kovshenin 5e892f9081 Helper: Strict equality check on slugs in `plugin_information` calls 2017-04-26 16:04:46 +03:00
Konstantin Kovshenin ec951c5c57 Helper: Fix CSS selectors structure
See: https://make.wordpress.org/core/handbook/best-practices/coding-standards/css/#structure
2017-04-26 16:03:03 +03:00
Konstantin Kovshenin b4ba43f551 Helper: Use `wp_safe_remote_request` for external calls.
Also whitelists woocommerce.dev as an external URL if
WP_DEBUG is turned on.
2017-04-26 15:57:56 +03:00
Konstantin Kovshenin 9fe91c7a2e Helper: Fix some phpcs issues 2017-04-21 15:35:27 +03:00
Konstantin Kovshenin e8b9bc8f98 Helper: First pass at merging the Helper plugin into WooCommerce
* Connect a site to a WooCommerce.com account
* List available product subscriptions
* Activate/deactivate subscriptions and extensions
* Serve updates for active subscriptions
2017-04-21 15:05:44 +03:00
Claudio Sanches e96a1eb744 Merge pull request #14577 from woocommerce/fix/14575
wc_get_orders support for guest orders and unit tests
2017-04-20 14:31:59 -03:00
Mike Jolley a325d03deb wc_get_orders support for guest orders and unit tests
Fixes #14575
2017-04-20 18:05:58 +01:00
Claudio Sanches 836b3a3162 Merge pull request #14553 from woocommerce/fix/14544
Check if is a resource before try set log rotate
2017-04-20 13:47:56 -03:00
Claudio Sanches 1142ca20f0 Properly open log files 2017-04-20 13:37:18 -03:00
Claudio Sanches 46b17d7eb3 Merge pull request #14574 from woocommerce/fix/breadcrumb-check
Abort generate_breadcrumblist_data is there are no crumbs
2017-04-20 13:06:50 -03:00
Mike Jolley d5205b97f8 Abort generate_breadcrumblist_data is there are no crumbs 2017-04-20 17:04:48 +01:00
Claudio Sanches dfcbeaf044 Fixed logic in `is_open()` 2017-04-20 12:57:33 -03:00
Claudio Sanches 7f6b0c6d0f Moved resource check for `is_open()` method 2017-04-20 12:53:44 -03:00
Claudio Sanches ab3a8c4a79 Merge pull request #14573 from woocommerce/fix/14543
define get_user_id/get_user methods for bw compat
2017-04-20 12:28:10 -03:00
Mike Jolley 4a6c87d1cc docblock 2017-04-20 16:03:40 +01:00
Mike Jolley 8e28af8b87 define get_user_id/get_user methods for bw compat
Closes #14543
2017-04-20 16:02:10 +01:00
Claudio Sanches 8cb1fa2aff Merge pull request #14570 from woocommerce/fix/14546
Decrease paypal request timeout so failed requests to not take too long
2017-04-20 11:51:21 -03:00
Mike Jolley f8781b9552 Decrease paypal request timeout so failed requests to not take too long
Closes #14546
2017-04-20 15:45:52 +01:00
Mike Jolley 8bc715ca59 Merge pull request #14556 from woocommerce/SiR-DanieL-patch-1
Add filter wc_is_attribute_in_product_name
2017-04-20 15:07:42 +01:00
Mike Jolley 1924291f37 woocommerce_is_attribute_in_product_name 2017-04-20 15:07:06 +01:00
Mike Jolley 3ef5ad2565 Merge pull request #14566 from woocommerce/fix/14563
Better email handling when invalid
2017-04-20 14:48:24 +01:00
Mike Jolley bb4507bcae Better email handling when invalid 2017-04-20 14:45:04 +01:00
Mike Jolley 127a688482 Merge pull request #14564 from emgk/fix-14563
Fixed issue
2017-04-20 14:17:23 +01:00
Govind Kumar 2adadd5737 Fixed issue 2017-04-20 17:41:20 +05:30
Mike Jolley 6b9bd2259f Merge pull request #14559 from themedotal/patch-5
Hook comments for each action on template files
2017-04-20 11:52:31 +01:00
Mike Jolley 7715990fb1 Merge pull request #14552 from woocommerce/fix/14518
[REST API] Fixed v1 order shipping taxes
2017-04-20 11:48:52 +01:00
Mike Jolley bcf5273421 Merge pull request #14555 from woocommerce/fix/14436
Improved logic of WC_Order::get_shipping_address_map_url()
2017-04-20 11:48:09 +01:00
Theme.al 79d3291ba5 Hook comments for each action on template files
As i'm working with my theme i have found difficult to keep track of all actions and hooks, i think all actions should be commented with their respective hooks like you have already done on archive-product.php
2017-04-20 09:48:36 +02:00
Nicola Mustone 7f6909040d add filter wc_is_attribute_in_product_name
The filter `wc_is_attribute_in_product_name` will allow customizations to show the variations in the cart like in WC 2.6.
2017-04-20 09:53:49 +03:00
Claudio Sanches 3b7a41ea53 Improved logic of WC_Order::get_shipping_address_map_url()
See comments in #14436
2017-04-20 02:12:18 -03:00
Claudio Sanches e208e35e33 Fixed coding standards in tests 2017-04-20 01:34:58 -03:00
Claudio Sanches aa21db2e64 Check if is a resource before try set log rotate
Fixes #14544
2017-04-20 00:54:31 -03:00
Claudio Sanches 0b60af0774 Merge pull request #14415 from woocommerce/fix/save-post-infinite-loops
Prevent infinite loops during save_post
2017-04-20 00:44:57 -03:00
Claudio Sanches accf956632 Merge pull request #14500 from woocommerce/fix/14494
Removed the non-functional order total input and combine the recalculation buttons into one working button.
2017-04-20 00:43:22 -03:00
Claudio Sanches 60b3e3c123 [REST API] Fixed v1 order shipping taxes
Fixes #14518
2017-04-20 00:37:27 -03:00