Claudio Sanches
3f9c16fe49
Fixed coding standards
2016-10-13 20:54:47 -03:00
Claudio Sanches
d5fa492378
Reverted the woocommerce_structured_data_product_limited filter name
2016-10-13 20:43:30 -03:00
Claudio Sanches
e67bbba878
Fixed undefined variables
2016-10-13 20:29:50 -03:00
Claudio Sanches
a9c8c79f58
Removed extra space
2016-10-13 19:54:21 -03:00
Claudio Sanches
ecb0c46f7f
Use get_data() at less one time
2016-10-13 19:48:02 -03:00
Claudio Sanches
9dce511dde
Removed dead $limit_data param from generate_product_data()
2016-10-13 19:44:12 -03:00
Claudio Sanches
fae8574619
Make methods less complex and more legible
2016-10-13 19:40:15 -03:00
Claudio Sanches
8484c8657e
Display structured data in WC_Emails::order_schema_markup()
2016-10-13 19:39:27 -03:00
Claudio Sanches
f3275be8d2
Fixed undeclared array variables
2016-10-13 19:05:51 -03:00
Claudio Sanches
7dc74f6dfc
Improved WC_Structured_Data::generate_* methods
...
- Less conditional code
- Better docblocks
- Fixed mixed variables
- Stop returning bool since it's only displaying
2016-10-13 18:51:20 -03:00
Claudio Sanches
48210fa39a
No need to declare 0 or 1 params in add_action()
2016-10-13 18:21:12 -03:00
Claudio Sanches
5967762e01
Already obvious
2016-10-13 18:19:41 -03:00
Claudio Sanches
b9dfdacad4
Removed confuse helper
2016-10-13 18:19:13 -03:00
Claudio Sanches
68b864313a
Fixed conflicts
2016-10-13 16:58:20 -03:00
Claudio Sanches
07ae13c51b
Fixed coding standards recommended by WPCS
2016-10-13 16:51:18 -03:00
Claudio Sanches
2e38033ca6
Merge pull request #12086 from attiladonath/master
...
Make it easier to extend Cash on Delivery payment gateway class
2016-10-13 16:30:40 -03:00
Rami Yushuvaev
fec057c993
Use get_admin_page_title() function to display admin titles ( #12077 )
...
* Use get_admin_page_title() function to display admin titles
* revert
* i18n: use sprintf() in translation strings
2016-10-13 13:34:48 -03:00
Attila Donáth
2968850786
Setup general properties in a separate method #12085
...
It is easier to extend the gateway class like that.
2016-10-13 18:23:51 +02:00
Attila Donáth
14f563fe02
Eliminate hardcoded payment method IDs #12085
2016-10-13 18:23:41 +02:00
James Koster
3823b78318
Add/product galleries ( #11665 )
...
* register prettyPhoto but don't enqueue. #10721
* Remove lightbox option. #10721
Also registers the prettyPhoto styles instead of enqueueing
* Stip all prettyPhoto related stuff from the templates and tidy up some logic. #10721
* Add flexslider assets #10721
* styling and re-adds `woocommerce_single_product_image_thumbnail_html`. #10721 .
* Add zoom functionality. #10721
* Move js to single-product.js. #10721
* styling of the gallery thumbnails when using the `product_page` shortcode. #10721
* Only enable the zoom if the image is large enough. #10721
* Use a 4 column layout by default. #10721
* Make the carousel options filterable. #10721
* rtl styles for gallery. #10721
* Don't zoom on handheld devices. #10721
* markup tweaks in prep for photoswipe
* disable zoom for now
* Add and enqueue photoswipe assets
* add the photoswipe template
* initialise photoswipe - it's alive!
* tidy up js. add title. add separate trigger. #10721
* Move photoswipe functions to single-product.js. #10721
* reactivate the zoom! #10721
* style the photoswipe trigger. #10721
* disable flexslider animation loop. #10721
* js tidy up. #10721
* Fix jshint
* Abstract the product gallery scripts
* Minify
* Fixed conflict with the admin bar
* Photoswipe conflict with admin bar
* Index. #10721
* photoswipe button styles. #10721
* Styling. #10721
* No animation on zoom
* Image width on mobile
* No shadows please. #10721
Looking at you, Twenty Twelve.
* code tidy and add class to placeholder figure. #10721
* simplify rtl query
* photoswipe button styles
* Comma should not be here
* zoom icon #10721
* gallery thumb styles. #10721
* trigger icon. #10721
* Image margins. #10721
* icon hover states. #10721
* Variation handling
* Fix zoom and heights
* Resize after timeout
2016-10-13 15:25:42 +01:00
Mike Jolley
42f420b16c
Correct admin link for variable product.
2016-10-13 15:18:44 +01:00
Mike Jolley
5304d6ef9d
Add filters and include meta in item names sent to paypal
...
Closes #12022
2016-10-13 15:18:01 +01:00
Mike Jolley
e3fa4de7c8
Hide shipping tax class setting when shipping is disabled
...
Closes #11960
2016-10-13 12:14:41 +01:00
Mickael Desgranges
7d0139e735
add argument on woocommerce_shipping_rate_label ( #12075 )
...
add $this argument for woocommerce_shipping_rate_label.
That may be veryhandy for modifying for a label with a specific method_id before the rate price was added.
2016-10-12 17:06:51 +01:00
Claudio Sanches
62aec00a59
Merge pull request #12071 from woocommerce/show-in-rest
...
Get media working when assign to product
2016-10-12 11:23:03 -03:00
Rami Yushuvaev
b8f2f29d5a
Remove deprecated admin screen icons ( #12074 )
2016-10-12 10:57:24 -03:00
Mike Jolley
7ab8c1e35f
Get media working when assign to product
...
Fixes #11760
2016-10-12 13:02:07 +01:00
Manos Psychogyiopoulos
4658245625
Revise the stock + stock status saving logic ( #11858 )
...
* use set_stock to reset stock meta when not managing stock
Ensures that the 'woocommerce_{ variation | product }_set_stock' hooks fire to refllect the fact that stock becomes infinite.
* track state of Manage Stock? option
* quick/bulk edit fixes
* reapply quick and bulk edit fixes
* improve conditional reset logic that prevents actions from *_set_stock actions from firing with every save
2016-10-12 12:51:40 +01:00
Mike Jolley
a426004975
Fixed numbered properties
2016-10-12 12:02:51 +01:00
Mike Jolley
705dc18991
Merge branch 'pr/12064'
2016-10-12 11:54:40 +01:00
Mike Jolley
e6d4729453
Code standards
2016-10-12 11:54:21 +01:00
Mike Jolley
a7e531e26d
Made wc_get_wildcard_postcodes return the orignal postcode plus * since wildcards should match empty strings too.
...
Fixes #12016
2016-10-12 11:52:39 +01:00
Mike Jolley
0829200299
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# includes/admin/class-wc-admin-help.php
2016-10-12 11:18:27 +01:00
Rami Yushuvaev
eae583fc3c
Update wp.org plugin directory links
2016-10-12 11:16:58 +01:00
Claudio Sanches
657c312cae
Fix strings case ( #12069 )
...
* Fixed case for all _e, esc_attr_e and esc_html_e strings
* Fixed case for all _n_noop strings
* Fixed case for all _x strings
* Fixed case for all __, esc_html__ and esc_attr__ strings
* Fixed a few more strings
* Fixed strings in unit tests
* Fix PayPal Standard case.
* Save Order text
2016-10-12 11:16:30 +01:00
Claudio Sanches
77722ecbe3
Fixed missing text domains ( #12066 )
2016-10-12 11:05:37 +01:00
Rami Yushuvaev
65cf1bcb6f
Merge branch 'master' of https://github.com/ramiy/woocommerce into i18n/similar-strings
2016-10-11 21:14:56 +03:00
Manos Psychogyiopoulos
75b3042d9c
[2.6] Variations script errors when 'empty' option is omitted ( #11944 )
...
* fix variation script malfunctioning when show_option_none arg is set to false
* add minified version
2016-10-11 18:26:08 +01:00
Mike Jolley
50544233f5
Wrap layered nav term in filter
...
Closes #11922
2016-10-11 18:23:25 +01:00
Mike Jolley
ed37f592bf
Set custom_attributes earlier
2016-10-11 18:08:02 +01:00
Mike Jolley
c2958bcaa6
Remove unused autocomplete/maxlength
2016-10-11 18:03:27 +01:00
Mike Jolley
9aea350628
Merge branch 'pr/11906'
2016-10-11 17:51:45 +01:00
Mike Jolley
d4a7490ff0
Simplify autofocus code
2016-10-11 17:51:05 +01:00
Mike Jolley
2a51a76e4e
Merge branch 'pr/12056'
2016-10-11 17:36:40 +01:00
Mike Jolley
a7ccc38096
Define classnames to choose what gets hidden
2016-10-11 17:36:34 +01:00
Mike Jolley
cfa2ee3605
Round the totals
...
Closes #11803
2016-10-11 15:56:18 +01:00
Claudio Sanches
f3a45aa388
Merge pull request #12063 from woocommerce/hide-template-select-box
...
Add notice and hide templates
2016-10-11 11:53:41 -03:00
Nirav Mehta
a0c3c29005
Allow extending customer available downloads ( #12019 )
...
* Fix: Escape HTML entities during output of coupon description on admin page
* Added filter for customer available downloads
2016-10-11 15:36:03 +01:00
Claudio Sanches
81dc55ad40
Merge pull request #12062 from danielhuesken/master
...
Rest-API fix action not called if no core attribute param updated
2016-10-11 11:34:01 -03:00
Lucas Stark
3e11e168cd
Only display price meta when price is not empty
2016-10-11 09:15:45 -04:00
Claudio Sanches
d627d7f764
Created function to get the catalog visibility options
2016-10-11 14:11:37 +01:00
Mike Jolley
cee978e6f7
Add notice and hide templates
2016-10-11 12:44:54 +01:00
Daniel Hüsken
9b12df381e
Rest-API fix action not called if no core attribute param updated
2016-10-11 13:40:54 +02:00
Mike Jolley
321a72b957
Add missing comma
2016-10-11 11:53:47 +01:00
Mike Jolley
2396c0e18e
Fix new zone
2016-10-11 11:53:07 +01:00
Mike Jolley
d7f2d29ddc
Add row actions back
2016-10-11 11:46:23 +01:00
Rami Yushuvaev
83e938af1e
i18n: Merge similar translation strings to reduce the total strings count #11905
2016-10-11 04:39:13 +03:00
Mike Jolley
8a510994ef
Merge branch 'master' into shipping-zone-ui
...
# Conflicts:
# assets/css/admin.css
2016-10-10 18:45:54 +01:00
Mike Jolley
2d270fb405
Fix saving and rest of world
2016-10-10 18:41:07 +01:00
Mike Jolley
160049eddd
Remove save button from zones screen.
2016-10-10 17:50:29 +01:00
Mike Jolley
96f05bb49a
Add woocommerce_sort_by_subtotal_callback filter
...
Closes #11973
2016-10-08 13:22:52 +01:00
Mike Jolley
0dc20c3a58
Merge branch 'add/dismiss-store-notice'
2016-10-08 12:48:16 +01:00
Claudio Sanches
3425e82236
Merge pull request #12045 from woocommerce/improve-cc-number-input
...
Change credit card fields from text to tel
2016-10-08 01:51:16 -03:00
Claudio Sanches
a1e2c24c9c
Credit card input attribute like Stripe
2016-10-07 17:11:47 -03:00
Claudio Sanches
c08aec0680
Only the product name should have quotes #12039
2016-10-07 16:09:28 -03:00
Claudio Sanches
843efae178
Change cc number field from text to tel, closes #12037
2016-10-07 15:53:12 -03:00
James Koster
b8150ec49f
Make the Store Notice dismissible.
...
* Adds new-style css classes to store notice
* Adds a ‘dismiss’ link to the store notice
* Hide the notice when the ‘dismiss’ link is clicked and set a cookie
to keep it hidden
2016-10-07 13:41:13 +01:00
Nico Mollet
35537814d8
Fixing syntax errors
2016-10-07 13:56:42 +02:00
Nico Mollet
9147d124a8
Product name in quotes in cart, after being removed
...
The product name should be in quotes after being removed in cart page.
2016-10-07 11:18:30 +02:00
Claudio Sanches
e6a956f795
Improve password reset using WP functions
2016-10-05 19:01:59 -03:00
Claudio Sanches
4a5638aa74
Merge pull request #11927 from davefx/patch-1
...
Create new filter to custom log messages
2016-10-05 16:39:10 -03:00
Claudio Sanches
47b4b5d4f3
Merge pull request #12026 from woocommerce/layered-nav-dropdown-filter
...
Wrap the "Any % (taxonomy)" string in a filter (to help with translation)
2016-10-05 15:42:14 -03:00
Justin Shreve
0d8e993cc3
Coding style fix. Add $taxonomy to the filter args.
2016-10-05 11:37:53 -07:00
Claudio Sanches
f36f6af0d2
Merge pull request #12027 from woocommerce/text-changes
...
Change Add-ons to Extensions within the admin
2016-10-05 15:36:54 -03:00
Jonathan Belcher
45739697e0
Change Add-ons to Extensions within the admin
2016-10-05 14:25:28 -04:00
Justin Shreve
c7d191f84b
Wrap the "Any % (taxonomy)" string in a filter so admins/dev can customize the text correctly for languages with genders.
2016-10-05 10:45:09 -07:00
Claudio Sanches
0d756deb1c
[REST API] Allow filter order note by type
2016-10-05 12:27:06 -03:00
Claudio Sanches
226482baf5
Fixed coding standards
2016-10-04 14:36:18 -03:00
Justin Shreve
ca95b190f7
Merge pull request #12013 from woocommerce/fix-api-remove-line-items
...
[REST API] Updated values to check if line item is null
2016-10-04 10:28:59 -07:00
Claudio Sanches
81ffb798a1
Removed nav menu rename hack
2016-10-04 13:55:50 -03:00
Claudio Sanches
a8a77101f3
Fixed product taxonomies names
2016-10-04 13:53:32 -03:00
Claudio Sanches
c62c5b835e
Updated values to check if line item is null
2016-10-04 13:39:37 -03:00
Claudio Sanches
514d8899ba
Merge pull request #12012 from woocommerce/fix-add-ons
...
Only display image if src is provided
2016-10-04 13:23:00 -03:00
Jonathan Belcher
f740497883
Update class-wc-admin-addons.php
2016-10-04 12:15:52 -04:00
Jonathan Belcher
1ef33a0452
Only display image if src is provided
2016-10-04 11:47:38 -04:00
Claudio Sanches
dc3dbefa94
Fixed woocommerce_sessions primary key, closes #11999
2016-10-04 12:26:57 -03:00
Claudio Sanches
8f7816a8e4
Merge pull request #12005 from ttarpinyan/fix-issue-12004
...
fix issue 12004 (sales price does not automatically revert to regular…
2016-10-04 12:07:20 -03:00
Toros Tarpinyan
4c61ed03e5
fix comment spacing
2016-10-04 11:20:49 -04:00
Toros Tarpinyan
2fc3c62943
fix issue 12004 (sales price does not automatically revert to regular price on the store front at the end of the sales event)
2016-10-04 08:25:12 -04:00
Justin Shreve
2cc04663ee
Don't run expiry date through date() if it isn't set. Also don't do a string comparison check on an integer.
2016-09-30 14:16:41 -07:00
rspublishing
180ac717a8
Coding standards
2016-09-30 16:23:17 +02:00
rspublishing
424948f4de
Coding standards
2016-09-30 16:15:56 +02:00
rspublishing
5814dc3a97
Adds a system status tool for clearing orphaned variations
2016-09-30 10:39:37 +02:00
Justin Shreve
1fbc48abeb
Merge pull request #11932 from franticpsyx/fix-variation-on-backorder-with-parent-managing-stock
...
[2.6] Variation is_on_backorder fails when parent manages stock and child doesn't...
2016-09-29 15:51:45 -07:00
Justin Shreve
ca10cca69b
Merge pull request #11990 from woocommerce/variations-rest-api
...
Implement Variation Endpoints & Tests
2016-09-29 15:48:36 -07:00
Justin Shreve
c1d7111240
Implement separate variation endpoints for managing a product's variations. Also adds tests.
2016-09-29 14:44:14 -07:00
Claudio Sanches
1230be795e
Fixed REST API docs, codeclimate and coveralls URLs
2016-09-28 09:09:06 -03:00
Matty
d037c4a3f2
Ensures any checks for 'woothemes.com' in logic also check for 'woocommerce.com'.
2016-09-28 12:19:58 +02:00
Matty
ae75f8b8cd
Adjusts all references of 'woothemes' to 'woocommerce' in relevant URLs, excluding the Travis CI integration which correctly uses 'woocommerce/woocommerce'.
2016-09-28 12:17:40 +02:00
Justin Shreve
0aa65fa0d0
Merge pull request #11951 from woothemes/feature-add-ons
...
[feature] Add ons screen update
2016-09-27 11:25:53 -07:00
Claudio Sanches
2104f95ea1
Merge pull request #11978 from vishalkakadiya/master
...
Fixed typo mistake
2016-09-27 14:52:09 -03:00
Vishal Kakadiya
14b2e4f609
Fixed typo mistake
2016-09-27 21:52:46 +05:30
Claudio Sanches
150ce8b7ee
Merge pull request #11965 from woothemes/iMazed-patch-1
...
Change Twitter handle to WooCommerce
2016-09-27 12:45:36 -03:00
Claudio Sanches
e972c1aac2
Change woothemes.com to woocommerce.com, closes #11966
2016-09-27 12:44:48 -03:00
Jonathan Belcher
1d066234d5
[feature] Add ons screen update
2016-09-26 15:45:10 -04:00
Vishal Kakadiya
611460317a
Fixed whitespace issue
2016-09-24 10:16:22 +05:30
Mike Jolley
83cc0c7066
Work on shipping zone screens
2016-09-24 03:22:57 +01:00
Vishal Kakadiya
c4a62e215f
Added @return in add_additional_fields_schema()
2016-09-24 00:33:39 +05:30
Ines
53391bad01
Change Twitter handle to WooCommerce
...
Tweets were sending out with the @WooThemes handle still, the account we're phasing out. Changed `data-via=` from WooThemes to WooCommerce.
2016-09-23 10:34:23 +02:00
Mike Jolley
e408391fa9
[2.6] Merge pull request #11903 from A5hleyRich/background-processing-session-locking
...
Fix session locking in background processing class
2016-09-22 17:36:30 -07:00
Claudio Sanches
e0572c782d
Included @since in wc_get_product()
2016-09-21 20:19:04 -03:00
Claudio Sanches
baceb4621b
Fixed KGS currency symbol.
...
Fixes based in the http://www.nbkr.kg website
2016-09-21 15:15:51 -03:00
opportus
af26ab6f3d
improved structured data - valids TCI checks
2016-09-21 16:37:54 +02:00
opportus
cff7189a87
improved structured data - branch update
...
Travis CI check...
2016-09-21 15:52:27 +02:00
corsonr
97e95e3e99
fixed extra space and escaped $args[autofocus]
2016-09-16 09:53:33 -07:00
Mike Jolley
74063fe52c
Merge pull request #11908 from woothemes/download-layout-11806
...
Tweak download layout
2016-09-15 20:56:39 +01:00
Manos Psychogyiopoulos
55f4a846db
fix variation is_on_backorder when parent manages stock
2016-09-15 22:56:33 +03:00
David Marín
22229d1e2e
Fix space between parenthesis
2016-09-15 21:43:56 +02:00
Ashley Rich
fa66dfa935
Fix session locking on async requests
2016-09-15 19:05:16 +01:00
James Kemp
b2bf294e03
Min/Max Modifications
...
CAST min/max as decimal. Otherwise, a max of 59.99 will return 59 instead of 60 - so the product will be missed when using the filter.
Added filter on post_type so I can add product_variation for compatibility with one of my plugins.
2016-09-15 12:05:59 +01:00
David Marín
3ab087212b
Update class-wc-logger.php
2016-09-15 11:04:35 +02:00
opportus
8123ba6184
improved structured data - merge conflict fix
2016-09-14 22:15:49 +02:00
opportus
eaa7def18a
improved structured data - some little tweaks
2016-09-14 22:08:57 +02:00
Claudio Sanches
7172429244
Fixed coding standards
2016-09-14 16:00:14 -03:00
Claudio Sanches
0fced8d5d5
Fixed wrong "quantity" while reducing stock
...
cc @mikejolley
2016-09-14 15:35:17 -03:00
Claudio Sanches
9817caccdd
Removed multiple lines #11915
2016-09-14 11:27:11 -03:00
Claudio Sanches
651a4cb26b
Merge pull request #11907 from woothemes/ua-tracking-11848
...
User agent tracking
2016-09-14 10:33:37 -03:00
David Marín
d74e4e27a7
Update class-wc-logger.php
2016-09-14 13:28:28 +02:00
Taylor Lovett
01a92a3bcb
Add filter to continue uploading images if one fails (api)
2016-09-13 21:03:05 -04:00
Claudio Sanches
16eb18a0ab
[REST API] Include variation description, closes #11815
2016-09-13 19:28:25 -03:00
Claudio Sanches
2e26752e47
Introduces the woocommerce_after_save_address_validation action, closes #11877
2016-09-13 19:13:12 -03:00
Claudio Sanches
089b5e93f2
Fixed coding standards
2016-09-13 19:04:33 -03:00
Claudio Sanches
c5c1e9ecbe
Merge pull request #11904 from BIOSTALL/patch-1
...
Fix settings sectionend
2016-09-13 18:53:15 -03:00
Claudio Sanches
e72af424ac
Check if FS_CHMOD_FILE is defined #11901
2016-09-13 18:38:16 -03:00
Claudio Sanches
be029374ce
Fixed coding standards
2016-09-13 18:24:21 -03:00
Claudio Sanches
5de8dd0d65
Fixed coding standards
2016-09-13 17:47:19 -03:00
rspublishing
e640707f89
Use numbered index in sprintf
2016-09-13 14:39:16 +02:00
rspublishing
8265295862
Minor text changes
2016-09-13 13:56:49 +02:00
rspublishing
9ec739c167
Link to SSL/HTTPS doc from checkout settings
2016-09-13 13:50:52 +02:00
rspublishing
2526ba49a8
Replace WooThemes.com with WooCommerce.com
2016-09-13 13:47:40 +02:00
Mike Jolley
4d041b2ce2
chmod file when closed.
2016-09-12 23:37:02 +01:00
Mike Jolley
78bde4ad09
Tweak download layout
2016-09-12 23:00:31 +01:00
Mike Jolley
b5cb254941
Add zone ID for bw comp
2016-09-12 22:16:32 +01:00
Mike Jolley
0e6bbc8210
User agent tracking
2016-09-12 22:11:05 +01:00
corsonr
b3236b4088
Add autofocus support
2016-09-12 21:33:52 +02:00
Steve Marks
9f007e0875
Fix settings sectionend
...
Fixed incorrect sectionend reference in Email settings
2016-09-12 15:40:28 +01:00
Mike Jolley
e0489e4706
[2.6][api] Skip empty attribute.
2016-09-12 15:13:32 +01:00
Ashley Rich
33048e742c
Fix session locking in background processing class
2016-09-12 15:10:04 +01:00
Mike Jolley
1037f9b8c4
Merge pull request #11895 from tlovett1/api-silent-images-fail
...
(API) Add filter to continue uploading images if one fails
2016-09-12 14:53:58 +01:00
Mike Jolley
481471a64c
Merge remote-tracking branch 'origin/master'
2016-09-12 14:53:10 +01:00