Commit Graph

15 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
Gary Kealy afca2ffb56 Remove closing php tags at end of files 2019-07-04 15:58:08 +01:00
Gary Kealy 600eb39883 Use shorter ABSPATH check 2019-06-20 09:57:12 +01:00
Stefan Grassberger f47ade3038
Update both-sidebarspage.php 2019-02-11 17:47:02 +01:00
IanDelMar 4bbad708f4 Update both-sidebarspage.php 2018-11-19 00:10:04 +01:00
IanDelMar 45c9d1adb7 Prevent direct access 2018-09-10 23:59:04 +02:00
Alex Wright 363e8a7d00 Move sidebar template parts from loop-templates to new sidebar-templates directory 2018-06-25 10:11:20 -05:00
Alex Wright 942c3fe8f5 Organize sidebar files into loop-templates directory 2018-06-11 22:32:20 -05:00
Rami Yushuvaev 57478f20b1 Fix wrong escaping functions - replacing esc_html() with esc_attr() 2017-06-08 17:54:29 +03:00
Evan 97a90995a9 Duplicate div `<div class="wrapper" id="page-wrapper">` 2017-02-11 14:04:23 -05:00
Luke 161657be32 fixed content col on both sidebars template for single active sidebar and added RH sidebar template 2017-01-20 11:05:41 +11:00
Stef Kariotidis 92f662269c code format page templates 2016-11-21 20:19:15 +02:00
Stef Kariotidis a8e1e8007e escape variables from potential unsecure input 2016-11-19 19:43:22 +02:00
Stef Kariotidis 247f77ff17 add customizer container option 2016-11-07 20:09:11 +02:00
Stef Kariotidis 1ea15d4682 template with left and right sidebars 2016-11-05 19:44:29 +02:00