Skip to content

Commit e06ab2b

Browse files
committed
Fix typo in pattern slug (#622)
2 parents 1e1928e + f0406ca commit e06ab2b

File tree

6 files changed

+23
-2
lines changed

6 files changed

+23
-2
lines changed

.github/workflows/env-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ jobs:
3030
- REMOTE_DFOD8FOH
3131
- REMOTE_JTO6MIPZ
3232
- REMOTE_U0VS1DPC
33+
- REMOTE_GOG51KAC
3334
- REMOTE_QEQJ6OJZ
3435
- REMOTE_SIWVYQV9
3536
- REMOTE_PXW6K9EK
37+
- REMOTE_GLL0JRU4
3638
- REMOTE_DSCAUN4N
3739
- REMOTE_CTJLPQAF
3840
- REMOTE_5QCXZJSN
@@ -48,6 +50,7 @@ jobs:
4850
- REMOTE_PSH9FHC4
4951
- REMOTE_BEMEBJ0I
5052
- REMOTE_GIG4TDEB
53+
- REMOTE_IU6QM1Q9
5154
- REMOTE_W3S9N9W9
5255
- REMOTE_VYFAA1BZ
5356
- REMOTE_SUPOPLFU

.github/workflows/env-staging.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ jobs:
3131
- REMOTE_5WRJBPXY
3232
- REMOTE_6N8ZE2WT
3333
- REMOTE_AE3Y1NOK
34+
- REMOTE_MF7GTU0Q
3435
- REMOTE_SWOLCKL2
3536
- REMOTE_HEPQKMWL
3637
- REMOTE_BSNPC2YK
38+
- REMOTE_DNCBSGSN
3739
- REMOTE_Z0BKHBSA
3840
- REMOTE_DUYWZXFR
3941
- REMOTE_4QCECSET
@@ -49,5 +51,6 @@ jobs:
4951
- REMOTE_NTSDHBCJ
5052
- REMOTE_CGYVZUBX
5153
- REMOTE_SCXSE3T6
54+
- REMOTE_ZNGMBKHY
5255
- REMOTE_GI2SVBTF
5356
- REMOTE_RO2LS5IH

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
### v2.1.5
2+
Fixes:
3+
- Prevent loading of back link pattern if no category found
4+
5+
### v2.1.4
6+
Fixes:
7+
- Several issues related to loading remote data on PDF template
8+
9+
CI:
10+
- Update build targets
11+
112
### v2.1.3
213
Localisation:
314
- Update ZH translations

wp-content/themes/humanity-theme/patterns/archive-heading.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Title: Archive filters
55
* Description: Outputs filters for post type archive pages
6-
* Slug: amnesty/archive-filters
6+
* Slug: amnesty/archive-heading
77
* Inserter: no
88
*/
99

wp-content/themes/humanity-theme/patterns/attachment-back-link.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
$show_back_link = ! amnesty_validate_boolish( amnesty_get_option( '_display_category_label' ) );
2121
$main_category = amnesty_get_a_post_term( get_the_ID() );
2222

23+
if ( ! $main_category ) {
24+
return;
25+
}
26+
2327
if ( $should_switch_blog ) {
2428
restore_current_blog();
2529
}

wp-content/themes/humanity-theme/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Theme Name: Humanity Theme
33
* Theme URI: https://github.com/amnestywebsite/humanity-theme
44
* Description: The Amnesty International WordPress Humanity Theme
5-
* Version: 2.1.3
5+
* Version: 2.1.5
66
* Author: Amnesty International
77
* Author URI: https://www.amnesty.org
88
* License: GPLv2

0 commit comments

Comments
 (0)