Commit Graph

27 Commits

Author SHA1 Message Date
Brian Coords 8d6e4bcb7e
Merge pull request #1966 from IanDelMar/since-v1
Add since tag for changes from v1.0.0
2022-11-05 09:34:23 -07:00
IanDelMar 194b508d3b Add since tag for changes from v1.0.0 2022-10-18 08:39:49 +02:00
IanDelMar fa6abc791a Fix understrap_adjust_body_class() not returning $classes 2022-10-18 07:50:56 +02:00
IanDelMar 3a44c0b1d1 Revert "Fix understrap_adjust_body_class() not returning $classes"
This reverts commit bd87530ea5.
2022-10-18 07:49:30 +02:00
IanDelMar bd87530ea5 Fix understrap_adjust_body_class() not returning $classes 2022-10-18 07:48:51 +02:00
IanDelMar 91730f9efe Remove deprecated translations 2022-10-12 17:19:45 +02:00
IanDelMar d83aafb1ee Remove position specifier from placeholder 2022-09-30 19:21:59 +02:00
IanDelMar dfa4bca874 Add gettext context 2022-09-30 19:06:46 +02:00
IanDelMar cc92a9e953 Fix typo 2022-09-30 19:03:57 +02:00
IanDelMar db7c5da3be Remove escaping from deprecated translations 2022-09-30 19:02:58 +02:00
IanDelMar 2d788a4651 Remove redundant translations 2022-08-12 09:37:10 +02:00
IanDelMar ba10cb9c0f rename understrap_theme_slug_sanitize_select() 2022-07-27 09:04:27 +02:00
IanDelMar 644cf1e392 add deprecation notices 2022-07-24 14:07:07 +02:00
IanDelMar c5f1952079 Keep old translations for child themes 2021-08-01 23:14:57 +02:00
IanDelMar 0ba77d0692 Switch to lowercase s in Understrap 2021-07-28 17:38:12 +02:00
Ben Hickson 08576cf1e5
docs: change $classes type to array in understrap_adjust_body_class()
Per docs at https://developer.wordpress.org/reference/hooks/body_class/, the body_class hook provides $classes as an array, not a string. Intelephense also complains that a string is not iterable with foreach.
2020-10-30 13:06:00 -04:00
UnderstrapFramework 894bdc0cee
Merge pull request #1153 from IanDelMar/deprecate-tag
Deprecate understrap_adjust_body_class()
2020-10-15 20:16:50 +01:00
IanDelMar 3fb7e1501b Switch to case-sensitiv @package tag 2020-06-04 11:46:15 +02:00
IanDelMar e88dc0e003
Merge branch 'master' into deprecate-tag 2020-04-28 14:42:48 +02:00
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 5be575c83b Deprecate understrap_adjust_body_class()
As of v4 Alpha 6 Bootstrap no longer styles the .tag CSS class.

See shiplist: https://github.com/twbs/bootstrap/issues/20939
2020-04-17 10:11:22 +02:00
UnderstrapFramework 2f752095a6
Merge pull request #1009 from ylkyrg/yoda-conditions
Yoda conditions
2019-12-13 11:57:53 +00: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 bc3c4cb375 Yoda conditions 2019-07-18 16:48:04 +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
IanDelMar 89464f0d4f
Add deprecated.php 2019-01-29 00:02:25 +01:00