Skip to content

Commit d4e89c4

Browse files
authored
Merge pull request #209 from devgeniem/TMS-1202
TMS-1202: Allow type mistmatch for radio-button active check
2 parents 7299445 + 9124d9e commit d4e89c4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.MD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
- TMS-1202: Allow type mistmatch for radio-button active check
11+
1012
## [1.12.0] - 2025-10-22
1113

1214
- TMS-1202:

models/page-program.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ public function apply_method_radio_buttons() {
331331

332332
$active_term = $this->get_apply_method_query_var();
333333

334-
if ( ! empty( $active_term ) && is_array( $active_term ) && in_array( $term->term_id, $active_term, true ) ) { // phpcs:ignore
334+
if ( ! empty( $active_term ) && is_array( $active_term ) && in_array( $term->term_id, $active_term ) ) { // phpcs:ignore
335335
$is_active = true;
336336
}
337337
else {

0 commit comments

Comments
 (0)