Commit Graph

41 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
IanDelMar 628601415b No period for summary in file headers
According to WP's PHP documentation standards on file headers. See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#6-file-headers.
2019-11-14 18:16:31 +01: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
IanDelMar 59407d69ef Remove superfluous space 2018-11-19 00:48:38 +01:00
IanDelMar 47b5893376 Fix identation 2018-11-19 00:47:07 +01:00
IanDelMar 97cde9c3c5 Fix indentation 2018-11-19 00:46:30 +01:00
gillespieza ece6f9373f
Tidy up left sidebar check
Removed all the unnecessary code to explicitly set the primary column's width. This is handled by Bootstrap 4's auto-layout. If we just provide it a column and its breakpoint, then as long as the sidebars have an explicit column width, the main will auto-fill.
2018-10-15 15:48:12 +02:00
IanDelMar 45c9d1adb7 Prevent direct access 2018-09-10 23:59:04 +02:00
Benjamin PONGY 7d4f3304a6
Delete .DS_Store 2018-08-07 16:40:19 +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
Holger Könemann bf6dfb6046 Adding the herocanvas widget position 2018-04-13 20:19:33 +02:00
Holger Könemann 548f4f04c1 Moving closing primary </div> into right-sidebar-check.php for more clearness - Thx @jack-fdrv 2018-04-12 20:35:08 +02:00
Unknown a068183c08 Left-sidebar-check improvement
Make php logic more fail-proof.
2018-03-28 11:50:47 -06:00
0dp 33183a3481 new pagination 2018-03-24 14:18:00 +01:00
Vishal Deshpande a647e54bd2
Update right-sidebar-check.php 2017-11-27 09:03:41 +05:30
Vishal Deshpande bd4c012053
Update right-sidebar-check.php 2017-11-27 09:01:27 +05:30
Vishal Deshpande 37690fac6b
Create right-sidebar-check.php 2017-11-27 08:57:36 +05:30
Vishal Deshpande b04d318494 curlybraces removed 2017-10-23 07:51:31 +05:30
koenemann 5ac4257c00 adding image optimization task 2017-03-21 14:53:51 +01:00
Holger Könemann f112fa0d17 fixing sidebar check 2017-02-11 09:08:53 +01:00
Holger Könemann d583e3487d remove custom woo commerce integration and replace with default 2017-02-11 09:07:52 +01:00
koenemann 246cfb4a26 adding some code standard exceptions 2017-02-02 12:30:26 +01:00
koenemann 9717e451cf again... 2017-02-02 12:27:45 +01:00
koenemann 3545003b14 fixing some more 2017-02-02 12:23:26 +01:00
koenemann a9aecfb68f its okay WPCS, really... 2017-02-02 12:20:03 +01:00
koenemann 1fe4be6667 WPCS: XSS OK. 2017-02-02 12:16:24 +01:00
koenemann 883c25fb88 output html via _e 2017-02-02 12:14:15 +01:00
koenemann 7c4f217ca9 fixing some escaping problems 2017-02-02 09:35:37 +01:00
koenemann 6bd57dd4ca fixing some more PHPCBF issues 2017-01-27 13:22:02 +01:00
koenemann c8743002be adding empty line to hero.php 2017-01-27 13:16:14 +01:00
koenemann b0fcba1829 fixing some PHPCBF issues 2017-01-27 08:15:34 +01:00
koenemann 61948a6d15 adding col-md-12 main container if no sidebar is used 2017-01-10 15:00:19 +01:00
koenemann e99b210c39 rearrange hero area 2017-01-09 16:08:01 +01:00
koenemann c90f428bf1 capsulate hero area 2017-01-09 15:55:51 +01:00
koenemann a38a20c3da Removing the vertical one page template and function 2016-12-23 11:20:56 +01:00
Stef Kariotidis 5244de420b pagination proposal 2016-11-22 13:05:34 +02:00
Stef Kariotidis b41729840f code formatting 2016-11-21 18:25:56 +02:00
Stef Kariotidis 89bb11b0ea do not show sidebars on WooCommerce pages 2016-11-19 13:05:37 +02:00
koenemann c9787c436a Align all templates to do the same left/rigth sidebar check 2016-11-14 15:16:24 +01:00