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.
- 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
- Add names to nonces in template files
- Add autocomplete attributes to lost password form
Reference:
9d10d107e20e20b20719236bfbfd123f15667a3d
cc742b908a643b794711b92802deaa7b3df41c42
- 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
- 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
- template global form-login autocomplete attributes
- Use nbsp to separate * denoting required fields
Reference:
7145b8f7291e94965b8692a485aab9ee356a0005
80dc183880ba0ee3c95c85d8a91630e4f8fe1bc3
- change checked value to `$product_permalink`
- Add protocol to URLs for thumbnails in cart
Reference:
79fa19251e06c146390018984034b5a1981a78e2
8789642fb9f98466ac0729e3d9e0285e42dbb852
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.
"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;