Commit Graph

12 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 600eb39883 Use shorter ABSPATH check 2019-06-20 09:57:12 +01:00
IanDelMar d94e811686 Update content-search.php 2018-11-19 00:19:54 +01:00
IanDelMar 45c9d1adb7 Prevent direct access 2018-09-10 23:59:04 +02:00
Stef Kariotidis 68a617c0eb code formatting second batch 2016-11-21 20:12:07 +02:00
Max Myers d0c0cddfc1 Update HTML attribute order 2016-11-01 12:13:23 -04:00
Max Myers fa9f307dfe Update HTML indents to soft tabs (2 spaces) 2016-11-01 11:25:21 -04:00
Holger Könemann 677e2e15e5 Adding custom search form with Bootstrap markup 2016-03-03 20:38:28 +01:00
Holger Könemann bb6e9614d8 Some cleanup 2016-03-03 20:20:46 +01:00
Thomas A. Reinert 5189f06c6d Update content-search.php
Adding class="customclass" after post_class() inserts a _second_ class-attribute, which will neither work as expected nor validate.
Solution added.
2016-03-02 23:49:13 +01:00
koenemann 0833d2ed3e Moving Loops to subdirectory 2016-01-22 13:59:47 +01:00
Renamed from content-search.php (Browse further)