Commit Graph

52 Commits

Author SHA1 Message Date
Mike Jolley 04d7e54d42 Set country value when loading fields rather than in template files 2019-01-07 16:04:01 +00:00
Mike Jolley 9d10d107e2 Add names to nonces in template files. 2018-03-13 14:15:41 +00:00
Gerhard Potgieter 10f13c45fc input to button for submit in myaccount/form-edit-address.php template 2017-11-07 12:15:00 +02:00
Gerhard Potgieter a6a63ad939 PHPCS fixes for myaccount/form-edit-address.php template 2017-11-07 12:14:05 +02:00
Mike Jolley b6929a8abb Template version bumps 2017-06-20 15:49:02 +01:00
Mike Jolley ccad987bac Allow state field to have the correct country set by passing it through
Fixes #15632
2017-06-16 11:45:53 +01:00
rafsuntaskin d2287521df several other templates version bump those have labels milestone 2.7 and 3.0 2017-04-10 21:34:35 +06:00
Mike Jolley 31b10d861e Add wrappers around sortable checkout fields
Fixes #13432
Fixes #13434
2017-03-02 15:08:02 +00:00
Mike Jolley 74f3972e26 Add sort parameter to checkout fields to aid with sorting per locale. 2016-12-12 15:23:28 +00:00
Gabe Shackle f161278254 Add $load_address to 'woocommerce_my_account_edit_address_title'
Add $load_address to the 'woocommerce_my_account_edit_address_title' filter so that scripts can determine which address is being edited. Currently there is no obvious way to determine what address is being edited if it is not the 'billing' or 'shipping' built-in addresses. By adding $load_address we can use that to detect the name of the address being edited and display the corresponding title.
2016-10-27 19:39:56 -05: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
Aristeides Stathopoulos 9668247b95 WordPress.PHP.YodaConditions.NotYoda 2016-09-09 03:14:28 +03:00
Claudio Sanches 14eeee15ee Welcome to docs.woocommerce.com 2016-07-19 07:30:31 -03:00
Mike Jolley b96451e808 Remove navigation actions and content wrappers 2016-06-06 12:05:37 +01:00
Antonino Scarfì c8527468c5 Use hook to include navigation.php template 2016-05-30 15:16:26 +02:00
Claudio Sanches e39274e753 HTTPS for everybody 2016-05-26 22:48:49 -03:00
Tamara Zuk c6b74b433c [2.6] My Account forms: add before/after actions
These additional actions allow third-party code to add content to the
tab without adding inside the `<form></form>` element.
2016-05-23 15:47:50 -04:00
James Koster 9e65542d98 Apply Suit CSS naming conventions to classes in account area. closes #10660 2016-04-15 15:11:14 +01:00
Claudio Sanches c60722f65c Updated header text of my account templates 2016-02-16 14:11:50 -02:00
Claudio Sanches 211c379af6 My account initial navigation 2016-02-16 13:50:06 -02:00
Mike Jolley bd4c90dbec Docblocks
Fixes #10336
2016-02-12 11:28:44 +00:00
Mike Jolley 0049415797 [2.5] get_currentuserinfo() is deprecated in WP 4.5 2016-01-18 14:42:01 +00: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
Caleb Burks ee2757c08f Specific template override paths 2015-10-03 02:58:08 -05:00
Mike Jolley de4a80f950 Add disclaimer to template files
Closes #8942
2015-10-01 16:07:35 +02:00
George Stephanis c7ee929325 Partial _e() => esc_attr_e() changeover.
There’s a lot of them, so I’m breaking them into multiple commits.

This is safeguarding stuff in case some translation uses a double
quote, it will no longer risk breaking out of the attribute.
2015-08-05 14:10:09 -04:00
shivapoudel fbf0314bb6 Absolute path should have curly braces - part 1 2014-09-22 22:16:03 +05:45
Tamara Zuk 6da6a6357f Separate edit address forms for billing and shipping 2014-08-08 20:35:12 -04:00
Tamara Zuk cc7e64c139 Add before/after edit address form actions
Introduce woocommerce_before_edit_address_form' and
'woocommerce_after_edit_address_form' actions
2014-08-08 20:23:55 -04:00
Mike Jolley c24ca386cc Template cleanup 2014-04-23 11:37:05 +01:00
splashingpixels 1e998f776e template coding standard fixes 2014-04-07 19:29:39 -07:00
Roy Ho 2dcd0149db missing ending semicolons on wp_nonce_field() 2013-12-07 10:49:53 -08:00
Coen Jacobs c1a439eb99 Formatting functions woocommerce to wc refactor 2013-11-25 14:34:21 +01:00
Coen Jacobs aaa14894ca Core functions woocommerce to wc refactor 2013-11-25 13:45:04 +01:00
thenbrent 2fcd615f88 Update calls to wc_print_messages() function
Part of #4034
2013-11-12 20:59:40 -08:00
Mike Jolley 3ee6e2fa22 Validate rules, instead of doing it by key. Closes #3792. 2013-09-19 14:39:53 +01:00
Illimar Tambek c599c5ecbe Add 'woocommerce_my_account_edit_address_title' filter 2013-09-17 12:14:48 +03:00
Mike Jolley 725cb7714b More endpoints for myaccount pages, and endpoint options so they can be modified. Closes #3170. 2013-07-23 17:05:01 +01:00
Mike Jolley c72ae714f7 Removed nonce helper
@coe
2013-06-11 17:55:55 +01:00
Mike Jolley 646a8a008c Make use of new functions 2013-06-11 15:59:54 +01:00
Coen Jacobs e6bea70f62 Abstracted messages helper to class 2013-06-06 15:56:24 +02:00
Coen Jacobs 88a7f0f720 Abstracted nonce helper to class #3282 2013-06-05 15:43:24 +02:00
Mike Jolley 0fb50856b9 Account page tweaks for #2027 2012-12-23 12:19:56 +00:00
Mike Jolley 8c3ad31c07 Localisation spacing. 2012-10-16 10:45:33 +01:00
Coen Jacobs 943091d2ca [3.1.4] Prevent direct access to files #1575 2012-10-15 12:57:58 +02:00
Mike Jolley ef7ec98f2e templates 2012-08-14 23:43:54 +01:00
Mike Jolley 02fe1b5889 Default values for my account 2012-02-29 10:07:53 +00:00
Mike Jolley 59c7ca1189 My account remembers post data upon error 2012-02-27 18:47:31 +00:00
Mike Jolley 04fde0a603 Improved edit address. Closes #689. 2012-02-22 21:06:08 +00:00