fix: stop accepting chrnx_project as a journal query param

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
chrnxandClaude Opus 5 committed 2026-08-15 14:25:04 -05:00
1 parent 7b69f2e519
commit 1e9e5cb07d
1 file changed
+1 -1
+1 -1
View File
@@ -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;