Commit Graph

18 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 45c9d1adb7 Prevent direct access 2018-09-10 23:59:04 +02:00
Jason King e81713e7a0 phpcs fixes. 2017-04-15 21:44:32 +09:30
koenemann 6d8cd47de8 fixing translator issues 2017-03-21 15:07:42 +01:00
koenemann 5ac4257c00 adding image optimization task 2017-03-21 14:53:51 +01:00
koenemann 17f33d77ab cleanup 2017-02-09 15:55:27 +01:00
koenemann 59540bf938 implement back _s best practices 2017-02-02 09:17:24 +01:00
Holger Könemann 0238a60390 fixing some more 2017-02-01 17:10:32 +01:00
Holger Könemann 9112bc49df Replacing h2 with h1 on single content items for SEO 2016-12-10 10:07:59 +01: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 962eb1850f Using hardcoded classes for not found loop template 2016-03-03 20:04:32 +01:00
koenemann 7431d7cb6a Adding manual picked changes from @Thomas-A-Reinert 2016-03-03 11:39:40 +01:00
Thomas A. Reinert bb229380ab Update content-none.php
Adding class="customclass" after post_class() inserts a _second_ class-attribute, which will neither work as expected nor validate.
For multiple classes, an array with the classes needs to be constructed.
Solution added.
2016-03-02 23:50:57 +01:00
koenemann 0833d2ed3e Moving Loops to subdirectory 2016-01-22 13:59:47 +01:00
Renamed from content-none.php (Browse further)