From 1e9e5cb07d43f6b37bb9a5e9f3c7a0e4beeee4f3 Mon Sep 17 00:00:00 2001 From: Diego Resendez Date: Sat, 15 Aug 2026 14:25:04 -0500 Subject: [PATCH] fix: stop accepting chrnx_project as a journal query param Co-Authored-By: Claude Opus 5 (1M context) --- inc/queries.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/queries.php b/inc/queries.php index ad4f110..9cbdf65 100644 --- a/inc/queries.php +++ b/inc/queries.php @@ -401,7 +401,7 @@ function chrnx_get_journal_request_context( array $request, $queried_object = nu $context = array( 'paged' => chrnx_parse_journal_page( $request['paged'] ?? null ), ); - foreach ( array( 'chrnx_topic', 'chrnx_language', 'chrnx_project' ) as $taxonomy ) { + foreach ( array( 'chrnx_topic', 'chrnx_language' ) as $taxonomy ) { $slug = chrnx_validate_editorial_term_slug( $request[ $taxonomy ] ?? '', $taxonomy ); if ( '' !== $slug ) { $context[ $taxonomy ] = $slug;