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:
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user