Commit Graph

59 Commits

Author SHA1 Message Date
Mike Jolley d744dce594 get_settings for shipping and checkout need to support sections for the API
Fixes #14769
2017-04-28 14:37:44 +01:00
Rami Yushuvaev d2457fe922 i18n: escape translation strings and fix wrong usage of i18n functions 2017-03-13 07:39:46 +02:00
Mike Jolley bbf8e750ce Tidy up includes 2017-02-16 11:46:01 +00:00
Claudio Sanches fa0c710802 i18n <a> links, closes #12195 2016-10-27 15:36:24 -02:00
Rami Yushuvaev 0c1e531091 few more i18n updates (#12185)
* i18n: simpler translation strings

* i18n: simpler translation strings

* i18n: readble printf(), and moving the %s placeholder to `%s product`

* i18n: make string translatable and remove the HTML tags

* i18n: avoide using HTML tags in translatino strings
2016-10-26 11:31:32 -02: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 83e938af1e i18n: Merge similar translation strings to reduce the total strings count #11905 2016-10-11 04:39:13 +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
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 8fe4cd65a4 PEAR.Functions.FunctionCallSignature.SpaceBeforeOpenBracket 2016-09-02 04:12:22 +03:00
Aristeides Stathopoulos 72696901f3 WordPress.WhiteSpace.OperatorSpacing.SpacingAfter 2016-08-27 09:14:06 +03:00
Aristeides Stathopoulos d430dabb37 Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines 2016-08-27 07:04:18 +03:00
Aristeides Stathopoulos b063bcfe4c last item in a multiline-array should end in a comma 2016-08-27 04:46:45 +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
Claudio Sanches e0bb183631 Improved payment method endpoint descriptions 2016-06-05 17:42:22 -03: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 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
Jeff Stieler f1a2a5f974 Load Checkout settings sections using Payment Gateways’ IDs rather than their class name. 2016-02-17 18:06:48 -07: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
Mike Jolley bc83a04c6c Feedback from Justin 2016-02-11 11:13:48 +00:00
Mike Jolley 114cbdd450 Autoload tweaks 2016-02-09 23:26:22 +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 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
Mike Jolley 97d47fb576 Move zones to main settings 2016-01-05 11:23:15 +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
Claudio Sanches 987b93c87e Changed (Untitled) to (no title) #9806 2015-12-09 16:28:34 -02:00
Claudio Sanches 2a5b785e50 Show (Untitled) in settings when payment method don't have title
Fixed some coding standards too.

Closes #9806
2015-12-09 15:11:59 -02:00
Claudio Sanches 5893875b0c Removed period for file headers 2015-11-03 11:53:50 -02:00
Claudio Sanches ee30b5b308 Fixed php docs standards 2015-11-03 11:31:20 -02:00
Mike Jolley ed451f278f Unused var 2015-07-15 16:37:29 +01:00
Mike Jolley 1e3fcd0e6d [2.3] Avoid initialising classes when saving 2015-05-29 17:38:25 +01:00
Matt Harrison b656ef904a minor grammar fix. "an SSL" to "a SSL" 2015-05-18 09:03:51 -04:00
Mike Jolley 9f65d2a1fc Added priorities for shipping methods to give more control over defaults.
Closes #7871
2015-04-13 15:32:57 +01:00
Mike Jolley aed8ae36cf woocommerce_calc_discounts_sequentially option to keep backwards compatible 2015-03-24 15:51:53 +00:00
Mike Jolley b289c9446c WC_INSTALLING constant - don't create options for any gateways/shipping methods during install. 2015-01-23 13:05:38 +00:00
Mike Jolley 50c6e1e4a0 select2 settings 2015-01-12 16:29:01 +00:00
shivapoudel ab52b93592 Absolute path and Indentation fix for includes/admin/settings/*.php :) 2014-09-21 01:40:47 +05:45
Mike Jolley aee2b62c85 Added woocommerce_get_settings_ID filters.
Closes #6231
2014-09-12 12:20:06 +01:00
Tamara Zuk a0ce139f7d Coding Standards: Admin - Settings
* fixed indentation - swapped spaces for tabs at start of line, swapped
tabs for spaces min-line for alignment
* removed instances of `@return void` and `@access public`
* improved readability

@see http://make.wordpress.org/core/handbook/coding-standards/php/
2014-08-31 04:22:03 -04:00
Mike Jolley 6bd38b5ce0 Tweak display order text 2014-08-15 11:50:53 +01:00
Mike Jolley 0dd8dcba2e Update label for force http option Closes #5474 2014-05-15 12:40:08 +01:00
Remi Corson 7e955ba1f9 fixed incorrect order received endpoit tooltip 2014-04-17 11:03:47 +02:00
Mike Jolley 31ee45cf5c Add context to strings #4986 2014-03-03 14:47:19 +00:00
Mike Jolley f9251084d9 woocommerce_get_sections_{id} filters Closes #4817 2014-02-17 14:30:42 +00:00
Mike Jolley 2dd73acb9d Context for checkout string Closes #4646 2014-02-06 15:46:18 +00:00