Rami Yushuvaev
140d0efb99
i18n: Avoid using HTML tags in translation strings ( #12166 )
...
* i18n: Remove some HTML tags from translation strings
* i18n: simpler translation string
* i18n: translations strings with surrounding `<strong>` HTML tags should be moved outside the translation string
* i18n: Avoide using `<code>' HTML tags in translation strings
* i18n: Split the notice to avoide using HTML tags in translation strings
2016-10-24 21:56:37 -02:00
Rami Yushuvaev
4375618438
i18n context functions ( #12156 )
...
* Replace some context function with translation comments
* Remove two more context function
* Replace another context function with translation comments
2016-10-24 08:31:07 +01: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
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
e3fa4de7c8
Hide shipping tax class setting when shipping is disabled
...
Closes #11960
2016-10-13 12:14:41 +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
Rami Yushuvaev
65cf1bcb6f
Merge branch 'master' of https://github.com/ramiy/woocommerce into i18n/similar-strings
2016-10-11 21:14:56 +03: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
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
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
83cc0c7066
Work on shipping zone screens
2016-09-24 03:22:57 +01: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
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
9ec739c167
Link to SSL/HTTPS doc from checkout settings
2016-09-13 13:50:52 +02:00
Steve Marks
9f007e0875
Fix settings sectionend
...
Fixed incorrect sectionend reference in Email settings
2016-09-12 15:40:28 +01:00
Aristeides Stathopoulos
9668247b95
WordPress.PHP.YodaConditions.NotYoda
2016-09-09 03:14:28 +03:00
Mike Jolley
311c540662
Merge pull request #11833 from aristath/master
...
Coding Standards (2nd pass)
2016-09-07 10:14:17 +01:00
Justin Shreve
fd952e8efa
Payment Gateways API
2016-09-05 14:49:29 -07:00
Aristeides Stathopoulos
d4e3faf014
PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket
2016-09-02 04:51:31 +03:00
Aristeides Stathopoulos
8fe4cd65a4
PEAR.Functions.FunctionCallSignature.SpaceBeforeOpenBracket
2016-09-02 04:12:22 +03:00
Aristeides Stathopoulos
e07511502d
Additional coding-standards fixes.
2016-09-02 03:26:24 +03:00
Aristeides Stathopoulos
fde1037757
fix failing tests.
2016-09-01 23:50:14 +03:00
Aristeides Stathopoulos
72696901f3
WordPress.WhiteSpace.OperatorSpacing.SpacingAfter
2016-08-27 09:14:06 +03:00
Aristeides Stathopoulos
f2730eea02
WordPress.WhiteSpace.ControlStructureSpacing.BlankLineAfterEnd
2016-08-27 08:57:05 +03:00
Aristeides Stathopoulos
82f3cc221e
WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceBeforeOpenParenthesis
2016-08-27 07:23:02 +03:00
Aristeides Stathopoulos
d430dabb37
Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines
2016-08-27 07:04:18 +03:00
Aristeides Stathopoulos
0b0f67ad28
WordPress.Arrays.ArrayDeclaration.SpaceAfterDoubleArrow
2016-08-27 05:36:32 +03:00
Aristeides Stathopoulos
58b9df6564
WordPress.Arrays.ArrayDeclaration.NoSpaceAfterOpenParenthesis
2016-08-27 05:23:54 +03:00
Aristeides Stathopoulos
ec8a0b288b
PHPCS: WordPress.Arrays.ArrayDeclaration.NoCommaAfterLast
2016-08-27 05:08:49 +03:00
Aristeides Stathopoulos
b063bcfe4c
last item in a multiline-array should end in a comma
2016-08-27 04:46:45 +03:00
Mike Jolley
84487d0f4b
Shipping debug mode moved to shipping settings
2016-08-24 16:55:34 +01:00
Claudio Sanches
2407a880f7
Updated the default colors for emails to match the Woo Style Guide
...
Closes #11748
cc @jameskoster
2016-08-22 20:59:56 -03:00
sumnermic
e336886afa
Add anchor attribute target "_blank"
...
Add anchor attribute target "_blank" to Regenerate Thumbnails link. It's pretty annoying for it to not open in a new window/tab.
2016-08-12 13:58:54 +01:00
Mike Jolley
e271825ffb
Merge branch 'master' into tax-rate-auto-ordering
...
# Conflicts:
# assets/css/admin.css
2016-08-02 14:17:23 +01:00
Mike Jolley
66c61eebc8
Define full path for includes
...
Closes #11087
2016-07-27 11:58:43 +01:00
Mike Jolley
0d6a3af108
Remove sorting function
2016-07-27 10:22:02 +01:00
Justin Shreve
3de423b5c2
Wrap up settings api
2016-07-26 10:24:15 -07:00
Nicola Mustone
0aed3bd8b8
missing )
2016-07-26 16:13:09 +02:00
Nicola Mustone
e799b1e234
reduce number of strings
2016-07-26 15:46:50 +02:00
Job
49d3200c52
Adding order of dimensions
...
Based on customer input, I added what dimension comes first in the
product display sizes to the tip.
2016-07-22 12:51:05 +02:00
Mike Jolley
72a5f9a9d1
Maintain method_order sorting for zones in list
...
Closes #11486
2016-07-21 14:30:05 +01:00
Mike Jolley
bc80b75540
Merge pull request #11324 from woothemes/out-of-stock-threshold-11322
...
Out of stock threshold 11322
2016-07-20 14:44:41 +02:00
Mike Jolley
664597b5c8
Tweak zone text
...
Closes #11472
2016-07-19 16:45:10 +01:00
Leon Francis Shelhamer
20c4a8bf77
Show shipping method titles in Add shipping method modal
...
The modal was calling shipping method titles with $method->title this resulted in blank select options. I replaced it with $method->method_title to fix this.
2016-07-13 21:16:59 -04:00
Mike Jolley
99e1e215bb
Tooltips
2016-07-01 12:06:31 +01:00
Claudio Sanches
18b1b8c238
Disable empty my account endpoints, closes #11274
2016-06-30 13:58:10 -03:00
Kevin Killingsworth
89fda4204e
Fix checkout gateway section urls ( #11273 )
...
Fixes issue #11273
Changes from class name to gateway id for section name.
2016-06-28 12:48:03 -05:00
Mike Jolley
e1ec01c9f9
Zone wording tweaks
...
Closes #11184
2016-06-20 12:50:55 +01:00
Mike Jolley
1cd71e29e4
Default shipping tax class should be blank, not 'title'
...
#11103
2016-06-13 17:46:55 +01:00
Mike Jolley
8ef3957ad1
Var checks
2016-06-06 19:15:40 +01:00
Claudio Sanches
934eb9599c
Removed note about default webhook secret generated using consumer secret
2016-06-05 17:50:22 -03:00
Claudio Sanches
e0bb183631
Improved payment method endpoint descriptions
2016-06-05 17:42:22 -03:00
Claudio Sanches
e39274e753
HTTPS for everybody
2016-05-26 22:48:49 -03:00
Mike Jolley
b3844257a0
Use wc_get_shipping_method_count helper
2016-05-25 12:05:33 +01:00
Mike Jolley
cc41c38ff8
Tweak page titles on account pages
2016-05-24 19:09:07 +01:00
Mike Jolley
22291e3ead
Generate a zone name if left blank
...
@coderkevin
2016-05-24 18:59:35 +01:00
Mike Jolley
a02ac79339
Change range symbol to ... to avoid conflicts with postcodes with hyphens
2016-05-23 17:30:37 +01:00
Mike Jolley
a540b04d8c
Fix prefix and spacing
...
#10956
2016-05-23 17:01:45 +01:00
Diego Zanella
fb51c07a65
Renamed new filter from wc_shipping_zone_before_methods_list to wc_shipping_zone_before_methods_table
2016-05-20 22:52:33 +01:00
Diego Zanella
60bb76d558
Added action before the rendering of a zone's methods
...
* The new action will allow to add elements to the page without having to override the view.
2016-05-20 13:27:25 +01:00
Mike Jolley
54231c2946
Allow shipping classes interface to be extended.
2016-05-19 12:38:28 +01:00
Mike Jolley
cf64786447
Full breadcrumbs in zones UI
2016-05-13 16:08:19 +01:00
Mike Jolley
986bd5abc7
Fix save and striping
2016-05-12 12:18:35 +01:00
Mike Jolley
07db739a47
Revise link wording and page title
2016-05-12 11:37:48 +01:00
Mike Jolley
8be8fe4c8a
Use modal for adding methods on both screens
2016-05-12 11:29:33 +01:00
Mike Jolley
3dba8e3697
Changed icons for methods into text based links and moved save buttons to left to match other settings screens
2016-05-12 11:07:18 +01:00
Mike Jolley
c6975fa7d5
Merge branch 'pr/10750'
2016-05-03 12:01:09 +01:00
Mike Jolley
a0faffec85
Lang tweak
2016-05-03 12:01:03 +01:00
Matheus Lopes
f0c26b7439
Refatoring main code
2016-04-28 13:37:30 -03:00
Mike Jolley
43af207558
Output buffering and redirects after turning off legacy
...
Closes #10806
2016-04-28 12:36:51 +01:00
Matheus Lopes
71a46df6b0
Editing titles
2016-04-25 13:51:40 -03:00
Claudio Sanches
505dfd7672
Fixed i18n functions
2016-04-22 14:08:44 -03:00
Mike Jolley
b0dfb55710
Tweak account settings grouping
...
Closes #10766
2016-04-22 12:29:06 +01:00
Mike Jolley
10f16f074c
Further zone tweaks to delete new rows on cancel
2016-04-22 12:24:20 +01:00
Mike Jolley
a9b8101e48
No blank slate if methods exist
...
Closes #10757
2016-04-22 12:24:20 +01:00
Mike Jolley
a8b2a5668f
Added cancel button to shipping zones UI
...
Closes #10754
2016-04-21 16:18:15 +01:00
Mike Jolley
fbca27b3d4
Tweak postcode example text
...
Closes #10755
2016-04-21 12:15:17 +01:00
Matheus Lopes
2c191f5bb7
Enable countries exceptions to Billing and Shipping
2016-04-20 14:55:05 -03:00
Mike Jolley
586587b5ec
Merge pull request #10719 from JeroenSormani/zones-output-tweak
...
Only ouput zones UI when in that section, don't default to it
2016-04-18 09:37:45 -05:00
Mike Jolley
62e6c9dbfa
Merge pull request #10722 from shivapoudel/select-option
...
Fix - Close option as its not the list-item
2016-04-18 06:08:13 -05:00
Mike Jolley
3fcc68e2f8
Replace http hrefs with https
...
Closes #10716
2016-04-18 11:58:12 +01:00
Shiva Poudel
31b5530c3e
Its option not the list-item to close :P
2016-04-18 16:26:51 +05:45
JeroenSormani
f53b59dbc4
Remove unneeded returns
2016-04-18 08:26:24 +02:00
JeroenSormani
88bcaa585c
Only ouput zones UI when in that section, don't default to it
2016-04-18 08:23:37 +02:00
Mike Jolley
1c21505b0b
Make shop page display wording more clear
...
Closes #10699
2016-04-15 15:57:06 +01:00
Mike Jolley
687d4be0bf
Case
2016-03-29 19:51:09 +01:00
Mike Jolley
975c360ae3
Tweak icons and blank slate text
2016-03-29 19:37:02 +01:00
Mike Jolley
5f6aa6c160
Fix modals and ajax events
2016-03-24 19:06:51 +00:00
Mike Jolley
8b53d1a618
Only load modal if supported
2016-03-24 18:31:39 +00:00
Mike Jolley
d3ac3f4073
Modals first pass
2016-03-24 17:26:40 +00:00
Mike Jolley
bea3c66777
Change arrow entity
...
@jameskoster
2016-03-24 14:27:32 +00:00
Mike Jolley
679443c9c9
Zones screen feedback
...
- Adds updated descriptions
- Adds shipping method descriptions in modal
- Adds order column tooltip
- Modified styles
@jameskoster
2016-03-24 14:08:26 +00:00
Mike Jolley
1549158981
Add 'is_enabled' column to instances table and allow toggle in zones screen
...
@allendav
2016-03-15 17:23:06 +00:00
Mike Jolley
0ac7b23a1c
Use one save button and add classname
...
@allendav
2016-03-15 16:21:57 +00:00
Mike Jolley
e22d324be4
Add notice for legacy shipping zones after update
2016-03-15 15:58:03 +00:00
Claudio Sanches
5fbd88489b
Input type for api keys
2016-03-10 14:39:52 -03:00
Shiva Poudel
d567d12b64
Remove colon from tax setting page
2016-03-10 11:32:33 +05:45
Thi
348f9cc235
Fix wrong URL and request duration in webhook logs
2016-03-06 01:24:10 +09:00
Justin Shreve
927941e2ca
Merge pull request #10260 from justinshreve/token-api
...
Payment Token API
2016-03-04 04:34:41 -08:00
Allen Snook
1dbe6c21a0
Add hide_save_button to shipping zones instance template
...
(Like what is done for legacy shipping methods in the
html admin settings view)
2016-03-03 09:44:09 -08:00
Justin Shreve
32eabbc685
Provide a fallback message if copying to the clipboard fails.
2016-03-02 10:13:17 -08:00
Justin Shreve
5d8967c7d7
Prepare a list of payment methods for output on the payment methods "my account" page.
2016-03-01 11:49:40 -08:00
Mike Jolley
efe836dc12
Merge branch 'add/id-based-section-loading-shipping-and-checkout'
2016-02-26 15:26:45 +00:00
Mike Jolley
c3554490b5
Backwards compatibility
2016-02-26 15:26:39 +00:00
Jeff Stieler
346b25d01b
Use ID instead of classname when saving settings for Checkout and Shipping.
2016-02-19 11:46:52 -07:00
Justin Shreve
c2d29e4884
Add a back button on the email notification management screens so you can easily get back to the main listing of emails.
2016-02-18 08:46:06 -08:00
Justin Shreve
608f651133
Fix hierarchy on settings screens.
2016-02-18 08:39:02 -08:00
Jeff Stieler
067b406a5c
Load Shipping settings sections using Shipping Methods’ IDs rather than their class name.
2016-02-17 18:07:14 -07:00
Jeff Stieler
f1a2a5f974
Load Checkout settings sections using Payment Gateways’ IDs rather than their class name.
2016-02-17 18:06:48 -07:00
Claudio Sanches
2de00c61ff
Added account endpoint for customer payment methods
2016-02-16 13:57:46 -02:00
Claudio Sanches
00a0841708
New options for orders and downloads endpoints
2016-02-16 13:50:06 -02:00
Mike Jolley
9be6942f29
Merge pull request #10331 from aelia-co/master
...
Modified scope of WC_Shipping_Method methods
2016-02-16 12:33:46 +00:00
Mike Jolley
3dba3378c2
Merge pull request #10315 from woothemes/layered-nav-wp-query
...
Layered Nav Improvements
2016-02-12 11:59:40 +00:00
Diego Zanella
e938fdddd2
Modified scope of WC_Shipping_Method methods
...
* A "private" scope is rarely required, and it prevents extensibility. Having methods accessible by descendant classes is vital, especially when breaking changes are introduced.
2016-02-11 17:25:38 +00:00
Mike Jolley
bc83a04c6c
Feedback from Justin
2016-02-11 11:13:48 +00:00
Mike Jolley
d598e6ffad
Tooltip
2016-02-10 14:11:32 +00:00
Mike Jolley
75c264837f
Justins feedback/code tidy
2016-02-10 13:21:16 +00:00
Mike Jolley
114cbdd450
Autoload tweaks
2016-02-09 23:26:22 +00:00
Mike Jolley
78296adf67
Missin list element
2016-02-05 15:45:32 +00:00
Mike Jolley
352184cc06
Merge branch 'master' into shipping-zones
...
# Conflicts:
# assets/css/admin.css
# i18n/languages/woocommerce.pot
# includes/abstracts/abstract-wc-payment-gateway.php
# includes/abstracts/abstract-wc-shipping-method.php
# includes/admin/settings/class-wc-settings-shipping.php
# includes/wc-core-functions.php
# uninstall.php
2016-02-05 14:58:48 +00:00
Mike Jolley
8c85183d6e
[2.5] Remove case check from tax rate country REGEX
2016-01-27 12:10:36 +00:00
Claudio Sanches
e87007d5cd
[2.5] Fixed tax row autocomplete htmlentity, closes #10149
2016-01-23 14:32:09 -02:00
Claudio Sanches
6277d96770
Stop direct access
2016-01-19 15:57:03 -02:00
Mike Jolley
b788418283
Load shipping methods during save
...
Fixes #10072
2016-01-14 13:24:02 +00:00
Mike Jolley
d821b87f8a
Move shipping classes to custom UI in shipping section
2016-01-13 16:52:28 +00:00
Mike Jolley
8064b35350
Add methods from zones screen
2016-01-13 15:04:10 +00:00
Mike Jolley
31be09073f
Show zones if no matching shipping method is found
2016-01-13 12:41:54 +00:00
Mike Jolley
c8025705c1
Text changes
2016-01-13 12:38:31 +00:00
Mike Jolley
6a8819fc23
Text changes
2016-01-13 12:31:10 +00:00
Mike Jolley
68e30f0f38
Zones page text
2016-01-13 12:12:58 +00:00
Claudio Sanches
636e2389aa
Changed … to …
2016-01-12 14:03:01 -02:00
Mike Jolley
70a9eb3807
Fix pagination + sorting on tax screen
...
@claudiosmweb
2016-01-12 12:01:10 +00:00
Mike Jolley
1076854608
Merge branch 'master' into shipping-zones
...
# Conflicts:
# assets/css/admin.css
# includes/abstracts/abstract-wc-shipping-method.php
# includes/class-wc-shipping.php
# includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
# includes/shipping/flat-rate/includes/class-wc-eval-math.php
# includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
#
includes/shipping/legacy-international-delivery/class-wc-shipping-legacy
-international-delivery.php
#
includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-d
elivery.php
2016-01-11 11:48:18 +00:00
Mike Jolley
accc62d5ef
Breadcrumb tweak
2016-01-08 12:10:40 +00:00
Mike Jolley
cef3ec7e37
Indicate disabled methods
2016-01-08 11:57:49 +00:00
Mike Jolley
ad11042afd
[2.4] Don't unforce SSL on secure blogs
...
@claudiosmweb can you check this and cherry pick if good to go?
Fixes #10029
2016-01-08 11:27:18 +00:00
Fredrik Forsmo
72f062b452
Improve docblock comments in WC_Settings_* classes
...
* Added comments to properties that don’t have any.
2016-01-05 16:22:18 +01:00
Mike Jolley
97d47fb576
Move zones to main settings
2016-01-05 11:23:15 +00:00
Mike Jolley
62ca37f651
Merge branch 'master' into shipping-zones
...
# Conflicts:
# includes/admin/class-wc-admin-assets.php
# includes/class-wc-install.php
2016-01-04 14:35:45 +00:00
Andrew Benbow
d4f4e7625c
Correct a to an
...
SSL is pronounced "es es el" and so requires an not a, see Use 6 here http://www.englishpage.com/articles/a-vs-an.htm
2015-12-29 20:35:13 +00:00
Mike Jolley
8aec02f625
Remove shipping select box option, tidy up logic and add filters from #9797
...
closes #9797
2015-12-16 13:00:16 +00:00
Fulvio Notarstefano
d7d70298c5
#9857 change get_class to
2015-12-16 14:25:17 +08:00
Mike Jolley
9818796d3e
Removing selection priority
...
This option was added so you could sort methods in a custom order, but
choose a different default.
Doing this per zone would add extra complexity, and this has also
proven problematic when a method registers multiple rates.
This commit removes usage of the setting. We should use the display
order and choose the top method by default. It think this balances ease
of use with control.
2015-12-15 15:49:35 +00:00