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;
Adds "@codingStandardsIgnoreLine" when nothing else has been changed in line;
This is a Woo change, adding to better sync files with standard Woo templates.
Adds new classes that Woo has added to their files;
global/form-login.php Line 50 removes "for" attribute, this has been changed in Woo files from 3.0;
Add "form-control" class to missed inputs;
May add "@codingStandarsIgnoreLine" where it has been added to Woo templates on same line;
myaccount/form-login.php Line 45 changes an esc_attr, this is to reflect update from Woo files;
This can be changed to "sr-only" class for Bootstrap later. For now this adds it as it is in the Woo files, using the WordPress "screen-reader-text" class.
Fix class names to reflect Woo changes;
These are identical to new Woo files, meaning the class names have changed or been fixed. Change was double checked with old to new Woo templates.
Making identical to Woo files;
Add spaces;
Formatting;
Add period to exit text;
loop/orderby.php removes exit text, this is identical to Woo files and we should keep it unless they change. This will make it easier to compare templates;
Change to esc_html_e where changed on Woo files;
Change capitalization to be identical with Woo;
May contain other small changes when on same line as main change;
Formatting;
global/form-login.php Line 51 adds class;
Set templates to most updated version from Woo, the version they are based on;
Adjust formatting to be identical to Woo;
Not all versions are 3.3.0, we should reflect the WooCommerce templates so that we know which version they are based on. There are instances where seemingly older versions are the most current.