Ralf Wiechers
2fb700723f
Sanitize the whole class name
...
Data should be sanitized in whole not in part. Therefore the class prefix should be inside the function call.
2017-08-29 12:32:32 +02:00
Mike Jolley
c29b9acb5b
Fix variable name
...
Closes #16636
2017-08-29 11:19:03 +01:00
Mike Jolley
8703481742
Merge pull request #16601 from ethitter/add/disable-mkdir
...
Allow install-related directory creation to be bypassed
2017-08-29 11:12:24 +01:00
José Marques
bb7691255d
Helper: adds styles for update counter
2017-08-29 10:53:48 +01:00
José Marques
09ddc43171
Helper: removes brackets from update counter indicator
2017-08-29 10:52:57 +01:00
Mike Jolley
a9150fa3f0
Merge pull request #16637 from gundamew/fix-single-product-undefined-index-notice
...
Fix "Undefined index: callback" notice
2017-08-29 10:12:19 +01:00
José Marques
0585df9fe3
Helper: additional styles for subscription filter
2017-08-29 10:11:47 +01:00
José Marques
9cc3840de4
Helper: convert filter markup into a list
2017-08-29 10:11:47 +01:00
Mike Jolley
e0b4d59bb6
Merge pull request #16566 from franticpsyx/reload-order-items-on-add
...
Reload items table after adding line item manually
2017-08-29 10:08:29 +01:00
Mike Jolley
144520db25
Merge pull request #16612 from Miller-Media/master
...
Absolute value for gmt_offset in scheduled sales
2017-08-29 10:07:44 +01:00
Manos Psychogyiopoulos
a55c2714f5
Do away with 'new_row' class
2017-08-29 12:02:02 +03:00
Mike Jolley
b6dff73b45
Merge pull request #16634 from woocommerce/add/links-to-testing-readme
...
Update tests/README with links to TravisCI, Scrutinizer and Code Climate
2017-08-29 10:01:29 +01:00
Mike Jolley
66d0a8560d
Merge pull request #16611 from iamdharmesh/master
...
fixed issue #16610
2017-08-29 10:00:43 +01:00
Mike Jolley
5a026cd016
Merge pull request #16608 from shivapoudel/unused-styles
...
Remove unused product taxonomy styles
2017-08-29 09:59:11 +01:00
Bing-Sheng Chen
3042d7a19c
Fix "Undefined index: callback" notice
2017-08-29 16:29:39 +08:00
Konstantin Kovshenin
8b46283ca6
Helper: Fix some WPCS errors.
2017-08-29 10:23:34 +03:00
Alister Scott
5b9c793864
Update tests/README with links to TravisCI, Scrutinizer and Code Climate
2017-08-29 16:27:02 +10:00
Claudiu Lodromanean
f93fadcd7e
Merge pull request #16632 from woocommerce/feature/15979-3
...
Improved shortcode attributes names
2017-08-28 14:47:41 -07:00
claudiulodro
734ed70462
Fall back to defaults if not set in cart
2017-08-28 14:12:35 -07:00
Claudio Sanches
ff5c766118
Updated Scrutinizer coverage file
2017-08-28 18:06:55 -03:00
Claudio Sanches
f48a5443e4
Updated the shortcode attributes for the new names
2017-08-28 17:57:39 -03:00
Claudio Sanches
acad44e3c9
Auto map legacy attributes to the new ones
2017-08-28 17:45:56 -03:00
Claudio Sanches
8115886433
Improved WC_Shortcode_Products possible attributes names
2017-08-28 17:27:35 -03:00
Matt Miller
42e6d4dffe
Removed extra tab character
2017-08-28 13:25:20 -07:00
Claudio Sanches
08db6a91c8
Merge pull request #16631 from woocommerce/feature/pre-search-customers
...
Pre query filter for search customer method.
2017-08-28 17:18:52 -03:00
Claudio Sanches
d5abf42081
Merge pull request #16599 from woocommerce/fix/selectwoo
...
selectWoo beta 2
2017-08-28 16:39:32 -03:00
Claudio Sanches
c571b6767b
Merge pull request #16606 from woocommerce/update/widgets-16132
...
Widget depth settings and improvements
2017-08-28 16:37:05 -03:00
Claudio Sanches
c9dc585a7f
Fixed coding standards
2017-08-28 16:36:32 -03:00
Matt Miller
a9db02d340
Variable update on sale schedule event fix
...
Removed extra variable declaration
2017-08-28 12:35:11 -07:00
Claudio Sanches
c03520a661
Allow pre query filter return an empty array
2017-08-28 16:23:12 -03:00
Claudio Sanches
d5aae55725
Prevent "Argument #N is not an array" warning when WP_User_Query returns null
2017-08-28 16:15:19 -03:00
Claudio Sanches
f8c18ba899
Introduced pre query filter to WC_Customer_Data_Store::search_customers()
2017-08-28 16:14:13 -03:00
Claudiu Lodromanean
b46262c3c6
Merge pull request #16613 from woocommerce/feature/15979-2
...
Allow [products] to be used instead of any other product shortcode
2017-08-28 10:35:03 -07:00
Claudiu Lodromanean
c36a6811c5
Merge pull request #16600 from woocommerce/feature/15979
...
Introduces WC_Shortcode_Products class
2017-08-28 10:33:35 -07:00
Claudio Sanches
6b7648c793
Merge pull request #16628 from javorszky/issue-16627
...
Fixed js param name for add to cart variation js
2017-08-28 12:07:04 -03:00
Gabor Javorszky
2a97509a3e
Fixed js param name
...
Fixes #16627
2017-08-28 16:36:02 +02:00
Konstantin Kovshenin
a3b08d6497
Merge remote-tracking branch 'origin/master' into helper-updates
2017-08-28 13:46:14 +03:00
Konstantin Kovshenin
94dbdc86b9
Helper: Add "shared" labels for shared subscriptions.
2017-08-28 11:59:13 +03:00
Konstantin Kovshenin
6b14b83cd2
Helper: Make sure redirect actions preserve selected filters.
2017-08-28 11:53:31 +03:00
Konstantin Kovshenin
5fded42d28
Helper: Add subscriptions filters.
2017-08-28 11:39:41 +03:00
Konstantin Kovshenin
51a2d45578
Helper: Make sure transients are not empty before setting again.
2017-08-28 10:53:48 +03:00
Konstantin Kovshenin
578f25ebdc
Helper: Don't display (0) in top navigation when no updates available.
2017-08-28 10:32:51 +03:00
Konstantin Kovshenin
0cafd1a499
Helper: Refresh update transients when refreshing update data.
2017-08-28 10:31:08 +03:00
Konstantin Kovshenin
d854f92ee1
Helper: Cache update count fetch and clear cache after an update.
2017-08-28 10:23:33 +03:00
Konstantin Kovshenin
a41d5da411
Helper: Add update-count to the Extensions top nav menu.
2017-08-28 10:01:01 +03:00
Konstantin Kovshenin
9f3403af06
Helper: Add a plugin-count to the Extensions admin menu.
2017-08-28 09:52:59 +03:00
Claudio Sanches
a97eb40c2c
Removed empty unit test
2017-08-25 20:29:35 -03:00
Claudio Sanches
500ee02dfa
Allow [products] to be used instead of any other product shortcode
...
This allow `[products]` to be used instaed of `[product_category]`,
`[featured_products]`, `[sale_products]`, `[best_selling_products]`,
`[recent_products]`, and `[top_rated_products]`.
Ref #15979
2017-08-25 20:04:53 -03:00
Claudio Sanches
b6f789fc56
Improved WC_Shortcode_Products code
2017-08-25 19:39:43 -03:00
Matt Miller
34b64764c7
Absolute value for gmt_offset in scheduled sales
...
In the event that you choose a -GMT value, the values are incorrect in some instances. For examples, if we choose a -7 GMT value, the gmt_offset will evaluate to '-7'.
On line 309, $ve will equal '+'.
On line 312, previously, $ve . get_option( 'gmt_offset' ) would evalute to '+-7'.
2017-08-25 15:25:39 -07:00