Commit Graph

1413 Commits

Author SHA1 Message Date
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
Unknown 80624cf4ff my-address change to new function
Replaces code with new Woo function "wc_get_account_formatted_address";
2018-03-22 16:01:06 -06:00
Unknown 6d5ae3976e my-address conditional statement fix
Formatting for "if" statement;

Per new Woo template files.
2018-03-22 16:01:06 -06:00
Unknown a2c4a4665c Orderby edits, replace with new function
Replaces code with new Woo function;

Per new Woo template files.
2018-03-22 16:01:06 -06:00
Unknown 6e90bab3df Add-to-cart edits
Remove some data attributes;
Add comment on line 25;
Remove ID and SKU esc_attr;
Add $args;
Formatting;

Per new Woo template files.
2018-03-22 16:01:06 -06:00
Unknown 2d5581d0dd Add aria-labelledby to quantity input
Per new Woo template files.
2018-03-22 16:01:06 -06:00
Unknown 8266c636ef Add parameter to wp_nonce_field
Per new Woo template files.
2018-03-22 16:01:06 -06:00
Unknown 183dce2744 Remove "if"
Add "@codingStandardsIgnoreLine;

Per new Woo template files.
2018-03-22 16:01:06 -06:00
Unknown e254b1400f Add class to login form
Also, formatting;

Per new Woo template files.
2018-03-22 16:01:06 -06:00
Unknown ffd04f2f51 Add Woo notice class
Add class to "li";
Add "@codingStandardsIgnoreLine";
Formatting;

Per new Woo template files.
2018-03-22 16:01:06 -06:00
Unknown f2bbfa8f3d Add "get_quantity"
Also add's "@codingStandardsIgnoreLine"

Per new Woo template files.
2018-03-22 16:01:06 -06:00
Unknown 25efb36719 Add "false" to Woo order item actions
Also add's formatting;

Per new Woo template files.
2018-03-22 16:01:06 -06:00
Unknown b02fe37749 Add "get_name"
Per new Woo template files.

Also add's "@codingStandardsIgnoreLine"
2018-03-22 16:01:06 -06:00
Unknown cceb400c5f Remove "sizeof"
Per new Woo template files.
2018-03-22 16:01:06 -06:00
Unknown 5726d56bcf Remove "sizeof"
Per new Woo template files. Add's "get_checkout_fields".
2018-03-22 16:01:06 -06:00
Unknown 98570c67dd Change registration check
Updated to reflect new Woo files.
2018-03-22 16:01:06 -06:00
Unknown 347cd43793 New Woo function
Change to use new Woo function, per new Woo templates;
2018-03-22 16:01:05 -06:00
Unknown 273c936fb3 More formatting
Identical to Woo files. Again, this is important to better sync with standard Woo files, making future updates easier.
2018-03-22 16:01:05 -06:00
Unknown 4fd0028cc6 More formatting
Identical to Woo files.
2018-03-22 16:01:05 -06:00
Unknown 025222ac18 Add product_name
Add product_name to array, as per new Woo files;
2018-03-22 16:01:05 -06:00
Unknown 84df459b29 Change Cart Collaterals hook comment
Identical to Woo files.
2018-03-22 16:01:05 -06:00
Unknown 89a7860da0 More formatting
Identical to Woo files;
2018-03-22 16:01:05 -06:00
Unknown 8a733f4837 Remove esc_attr
Identical to new Woo files.
2018-03-22 16:01:05 -06:00
Unknown 14676bb3f3 More Formatting
Make formatting identical with Woo files, for easier syncing later;
More capitalization fixes on text, making identical to Woo files;
2018-03-22 16:01:05 -06:00
Unknown 1eed4183b2 Add @codingStandardsIgnoreLine
Adds "@codingStandardsIgnoreLine" when nothing else has been changed in line;

This is a Woo change, adding to better sync files with standard Woo templates.
2018-03-22 16:01:05 -06:00
Unknown 6be1654da7 Add esc_html
Reflecting changes made by Woo;
May also add "@codingStandardsIgnoreLine" when on the same line;
2018-03-22 16:01:05 -06:00
Unknown 93bea8863c Adding new classes
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;
2018-03-22 16:01:05 -06:00
Unknown 7ea4ba781d Add form-control to inputs
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;
2018-03-22 16:01:05 -06:00
Unknown 091eacef15 Add screen reader text label
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.
2018-03-22 16:01:05 -06:00
Unknown 824b1e8dcc Update classes
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.
2018-03-22 16:01:05 -06:00
Unknown 76e8875ef4 Formatting and remove capitalization
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;
2018-03-22 16:01:05 -06:00
Unknown 7963db2c8f Change input to button
Also adds @codingStandardsIgnoreLine when on the same line (this is an addition by Woo);
2018-03-22 16:01:05 -06:00
Unknown 43e14cf989 Change _e to esc_html_e
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;
2018-03-22 16:01:05 -06:00
Unknown f3b09b7955 Header fixes
Formatting;
Removing outdated Understrap comments;
Making identical to Woo;
2018-03-22 16:01:05 -06:00
Unknown 3fb28d3f64 Change version of templates to correct version
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.
2018-03-22 16:00:16 -06:00
Holger Könemann a2fa9e56ba Remove woocommerce.php and replace it with hooked version
See
https://github.com/understrap/understrap/issues/606#issuecomment-3753920
87

Thx @ZacharyElkins !
2018-03-22 18:47:51 +01:00
Holger 6fc18522f7
Merge pull request #609 from 0dp/patch-5
include minified css - 👍  @0dp
2018-03-22 13:55:00 +01:00
Johan Nielsen da311e953e
include minified css
The gulp fix for minify also minifies custom-editor-style.css.
Fixed to include the minified version
2018-03-21 20:08:02 +01:00
Holger Könemann b47d327882 See https://github.com/understrap/understrap/issues/604 2018-03-21 19:38:32 +01:00
Thomas A. Reinert a16346ee8e
Update ISSUE_TEMPLATE.md 2018-03-21 14:12:29 +01:00
Holger f9eb7f4804
Merge pull request #608 from alex-wright-net/master-wrapperclasses
Remove unnecessary wrapper classes from #608 
👍  @axlright: It was an old relic from the time when Bootstrap did not have a fluid navbar by default.
2018-03-21 12:18:13 +01:00