Commit Graph

47 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
Holger Koenemann cac4962ddb Update Woocommerce version info 2019-04-22 18:38:43 +02: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
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
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 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 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 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 a0c6bc127e WooCommerce update to 3.3.2 2018-03-20 18:51:20 +01:00
Johan Nielsen d1dac63120
Deprecation notices 2018-02-19 23:58:24 +01:00
Holger Könemann 7b1f482f87 Updating WooCommerce compatibility 2018-02-14 08:53:36 +01:00
koenemann ba5a30e657 Changing woo commerce text domain 2017-11-28 09:04:07 +01:00
Jason King d68baaaff7 Update for Woocommerce 3.2.1 Compatibility 2017-10-19 23:04:03 +10:30
koenemann cb9b3f110e Channing texte-main to "woocommerce" for WooCommerce templates
No need for extra translations
2017-07-20 13:28:12 +02:00
Jason King 7adab6b701 Use understrap text domain instead of woocommerce. 2017-06-29 22:25:39 +09:30
Jason King ce97bab35a Woocommerce 3.1.0 Compatability 2017-06-29 22:13:34 +09:30
Jason King 870e184c7b Woocommerce 3.1.0 Compatability 2017-06-29 22:09:46 +09:30
Jason King a43eabee36 Woocommerce 3.1.0 Compatability 2017-06-29 22:03:05 +09:30
Rami Yushuvaev 0a51b721aa Use esc_attr__() insted of __() 2017-06-08 18:22:06 +03:00
koenemann 60ed4079fd Replacing woocommerce text domain with understrap 2017-04-21 14:33:06 +02:00
Jason King e2267f9178 Woocommerce 3.0.0 Support 2017-04-14 20:19:24 +09:30
Holger Könemann 20f32ca241 keeping custom woo commerce overwrites 2017-02-11 10:44:17 +01:00
Holger Könemann 80ff0f07fd revert custom woo commerce integration to default integration 2017-02-11 10:39:09 +01:00
Evan 60b4e41932 Typo fix. Current pages creates a ton of errors when no items added to cart. 2017-02-11 01:12:51 -05:00
koenemann 068242fb11 fixing other escaping issues 2017-01-27 15:37:59 +01:00
koenemann f54acbfd96 Replacing "woo commerce" namespace with "understrap" 2016-11-24 12:01:38 +01:00
Stef Kariotidis 04f8a49195 table hover and striped 2016-11-19 13:13:31 +02:00
Stef Kariotidis 25351cee18 bootstrap cart styles 2016-11-19 01:31:13 +02:00
Stef Kariotidis 5115570ca8 bootstrap style for proceed to checkout button 2016-11-19 00:30:53 +02:00
Stef Kariotidis 31ca66b12b bootstrap coupon and update card buttons 2016-11-19 00:27:36 +02:00