Commit Graph

151 Commits

Author SHA1 Message Date
IanDelMar 860d8c123a Fix WPCS errors and warnings + escaping
Fixes many WPCS errors and warnings

Also:
* Partly removes excessive php opening/closing tags.
* Uses printf for better readability in loop-templates/content-none.php.
* Adds understrap_kses_title() to escape post titles.
* Adds understrap_escape_the_archive_description() to escape the archive description.
* Fixes missing '__' after esc_html in author.php.
* Updates the phpcs.xml to reflect all the changes.
* Updates composer dependencies and scripts.
2020-04-19 12:08:39 +02:00
Noel Springer 954dd9d3bc Update Woocommerce templates for 3.7.0
* Update woocommerce mini-cart template (3.6.1 => 3.7.0)
* Update woocommerce myaccount/orders template (3.6.1 => 3.7.0)
2019-12-13 23:23:37 +10:00
Noel Springer 59ec5c4a43 Update Woocommerce cart template for WC 3.8.0
* cart.php (3.7.0=>3.8.0)
2019-11-06 18:25:28 +10:00
Gary Kealy afca2ffb56 Remove closing php tags at end of files 2019-07-04 15:58:08 +01:00
Gary Kealy 327e0ddb59 Fix some minor phpcs errors 2019-07-04 15:53:03 +01:00
Gary Kealy 600eb39883 Use shorter ABSPATH check 2019-06-20 09:57:12 +01:00
Thomas A. Reinert cd49f5adfc
Deleted due to #956 2019-06-09 01:11:44 +02:00
Holger c293c82d7d
Merge branch 'master' into woocommerce-3.6.1-updates 2019-04-28 15:27:12 +02:00
Holger Koenemann cac4962ddb Update Woocommerce version info 2019-04-22 18:38:43 +02:00
Chris Bibby 1fe315cfa2 Woocommerce 3.6.1 updates 2019-04-20 09:45:02 +08:00
KoenemannH fa0bef5e72 Fixing problem with tiny col on mobile 2019-03-20 16:20:23 +01:00
Noel Springer 85ef63cec4 Update form-reset-password template for Woocommerce 3.5.5 2019-02-23 00:04:46 +10:00
Noel Springer 3effcb7399 Update template to 3.5.3 2019-01-23 12:35:41 +10:00
Davor Lonzaric bd659d9456
WooCommerce 3.5.2 update
Added do_action( 'woocommerce_before_lost_password_form' ); and do_action( 'woocommerce_after_lost_password_form' );
2018-12-11 02:11:25 +01:00
Holger Könemann 4060ecd88b WooCommerce 3.5.1 update 2018-11-01 13:05:54 +01:00
Noel Springer acaaefcb21 Update Woocommerce templates for WC 3.5.0 2018-10-30 10:19:44 +10:00
Noel Springer 14f199b250 Update form-coupon template to 3.4.4 2018-08-05 02:51:37 +10:00
KoenemannH abb2af1d9c Fixing text domain 2018-07-06 09:38:09 +02:00
Unknown 8255b9eeae single-product/add-to-cart/variation-add-to-cart-button.php
- Remove globals/add woocommerce_add_to_cart_form_action filter
- Update action placement so all product types are consistent

Reference:
90717295cfa9445e202c5528f19c2c408a79ef41
2983753809f45694af2365b6ea099e2840ccf8be
2018-06-05 20:31:16 -06:00
Unknown ef15c4fc50 single-product/add-to-cart/simple.php
- Remove globals/add woocommerce_add_to_cart_form_action filter
- Update action placement so all product types are consistent

Reference:
90717295cfa9445e202c5528f19c2c408a79ef41
2983753809f45694af2365b6ea099e2840ccf8be
2018-06-05 20:30:08 -06:00
Unknown 4d76d4d389 myaccount/form-reset-password.php
- Add names to nonces in template files
- Add autocomplete attributes to reset password form
- Use nbsp to separate * denoting required fields

Reference:
9d10d107e20e20b20719236bfbfd123f15667a3d
cef2b1ee131c3edbf4f22c8da6a5206ec39dcf87
80dc183880ba0ee3c95c85d8a91630e4f8fe1bc3
2018-06-05 20:28:18 -06:00
Unknown 05ab7ca736 myaccount/form-lost-password.php
- Add names to nonces in template files
- Add autocomplete attributes to lost password form

Reference:
9d10d107e20e20b20719236bfbfd123f15667a3d
cc742b908a643b794711b92802deaa7b3df41c42
2018-06-05 20:26:18 -06:00
Unknown 465511c27c myaccount/form-login.php
- Grammar fix to login button
- add autocomplete attributes to account and register forms
- Revert "add autocomplete attributes to account and register forms"
- accout login autocomplete - commit with correct user account
- Add classes to register form
- Use nbsp to separate * denoting required fields.

Reference:
cc6149d08a015d71b0719ee9e9cf5edd61b5963c
555d680f6e45ae70dab2ccbdfb01205af8c84bd4
6a29551979d474203a5ee9176f23811743caff76
5a19f00c5a3532843b6bbca2142d378d317d27b8
7897c7b6926d1b7cbaa1ffc8d3b68f3c0be743e1
80dc183880ba0ee3c95c85d8a91630e4f8fe1bc3
2018-06-05 20:24:16 -06:00
Unknown 18e352dc07 myaccount/form-edit-address.php
- Add names to nonces in template files

Reference:
9d10d107e20e20b20719236bfbfd123f15667a3d
2018-06-05 20:18:51 -06:00
Unknown c1ed7effe9 myaccount/form-edit-account.php
- Add names to nonces in template files.
- Add autocomplete attributes to account edit form
- account edit form disble autocomplete for password fields
- Use nbsp to separate * denoting required fields

Reference:
9d10d107e20e20b20719236bfbfd123f15667a3d
4283804f38057468b89506ffd00ee3ff74104e45
8d3c76d980db2962b86070120a354d17bc780c18
80dc183880ba0ee3c95c85d8a91630e4f8fe1bc3
2018-06-05 20:17:57 -06:00
Unknown fe6394870e global/quantity-input.php
- escape and strip tags in the quantity template

Reference:
7acb475c59c0666f21ffe24eb3558df857237dc1
ffcfbd2108387e4e7034e52a4a9ae1fc0551dac3
2018-06-05 20:11:55 -06:00
Unknown fb89febaba global/form-login.php
- template global form-login autocomplete attributes
- Use nbsp to separate * denoting required fields

Reference:
7145b8f7291e94965b8692a485aab9ee356a0005
80dc183880ba0ee3c95c85d8a91630e4f8fe1bc3
2018-06-05 20:11:39 -06:00
Unknown 3973182b88 checkout/payment.php
- Add names to nonces in template files.

Reference:
9d10d107e20e20b20719236bfbfd123f15667a3d
2018-06-05 20:08:00 -06:00
Unknown 8192e8cb7a checkout/form-pay.php
- Add names to nonces in template files

Reference:
9d10d107e20e20b20719236bfbfd123f15667a3d
2018-06-05 20:06:47 -06:00
Unknown c02c44cf4e checkout/form-coupon.php
- Use no-js class to hide JS only forms/content
- Other changes in syntax

Reference:
9b6f3f6f9b1a299157c4b5ba3b31843fc78b8d08
2018-06-05 20:04:30 -06:00
Unknown ce9f8dc8bd cart/mini-cart.php
- change checked value to `$product_permalink`
- Add protocol to URLs for thumbnails in cart

Reference:
79fa19251e06c146390018984034b5a1981a78e2
8789642fb9f98466ac0729e3d9e0285e42dbb852
2018-06-05 20:02:35 -06:00
Unknown b5ecffa380 cart/cart.php
- `wp_kses_post` added by Woo

Reference:
bac2bf7b91ac36f114c16850e6a0118c2aa1c7ca
077eebbf9818aeecdaed53e1066b15bab35fa533
1fa62f83a868fe103d09c3e17c1352784ef7a6ef
9d10d107e20e20b20719236bfbfd123f15667a3d
4f69eced88fe2117cb030e5b2b109861ce9ac478
ffcce0bc772b70e6b9d75184914629e70b4ee4ed
2018-06-05 19:59:33 -06:00
Holger Könemann 1c46992923 Fixing text domain - changed from woo commerce to understrap 2018-04-11 11:55:35 +02:00
Unknown ae5790b844 Revert "Update add-to-cart"
This reverts commit 9a2d8f1753.
2018-03-23 13:50:12 -06:00
Unknown 1467ffcd6e Remove identical files
Remove files identical to Woo source files;

Files are not needed for Bootstrap implementation.
2018-03-23 12:43:29 -06:00
Unknown 395c4da9f7 Add Bootstrap button classes to simple.php
Replace Woo classes with Bootstrap classes;

*Understrap edit
2018-03-23 12:42:33 -06:00
Unknown 306c647e0b Change register button to Bootstrap classes
This button had Woo classes, which I have now changed to Bootstrap;

*Understrap edit
2018-03-23 12:33:30 -06:00
Unknown 9a2d8f1753 Update add-to-cart
Updates to current Woo source template;

I thought these were Understrap edits, but when looking through file history on Woo repo I dicovered these changes were made by Woo.
2018-03-23 12:32:37 -06:00
Unknown 0f5e9b67da Change screen reader to Bootstrap class
Use Bootstrap "sr-only" class instead of Wordpress class;
2018-03-23 12:30:48 -06:00
Unknown c015927740 Fixing versions
Fix versions which had been changed;
Current with Woo 3.3.4 release templates;
Fixes header formatting to be identical with Woo source files;
2018-03-23 12:30:05 -06:00
Unknown b3e835b002 Add more esc_html
Add esc_html;
Add @codingStandardsIgnoreLine;

Per new Woo template files;
2018-03-22 16:01:06 -06:00
Unknown 0ee0b8a44f short-description check
Apply woocommerce_short_description filter before check if excerpt is empty;

Per new Woo template files;
2018-03-22 16:01:06 -06:00
Unknown da3cdfa847 product-thumbnails fixes
"wc_get_gallery_image_html" checks;
Use helper function which has more filters and moves logic out of template files "wc_get_gallery_image_html";
^ This also called for some more changes to the rest of the code. Woo introduced this to be compatible with 3.3.2

Per new Woo template files;
2018-03-22 16:01:06 -06:00
Unknown 54dc0b5450 Add-to-cart add action url
Per new Woo template files;
2018-03-22 16:01:06 -06:00
Unknown 2b178a5d67 my-orders add new Woo function
Replaces code with "wc_get_account_orders_actions" function;
Formatting;

Per new Woo template files;
2018-03-22 16:01:06 -06:00
Unknown bd3928f396 my-account change strintf to printf
Add translators comment

Per new Woo template files;
2018-03-22 16:01:06 -06:00
Unknown ff5dbf64e2 my-orders add esc_html
Per new Woo template files;
2018-03-22 16:01:06 -06:00
Unknown 3484c13ea0 my-account replace template usage of dates
Per new Woo template files;
2018-03-22 16:01:06 -06:00
Unknown abf4d75e8e Add comma
Per new Woo template files;
2018-03-22 16:01:06 -06:00
Unknown 5e74771858 my-address fix conditional statement
Improves formatting for "if" statement;

Per new Woo template files;
2018-03-22 16:01:06 -06:00