fix: normalize CHRNX unicode titles

This commit is contained in:
chrnx committed 2026-08-11 16:12:36 -05:00
1 parent a769228c01
commit 0226a52119
6 files changed
+67 -10

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ function chrnx_is_eligible_editorial_post( $post ) {
return $post instanceof WP_Post
&& 'post' === $post->post_type
&& 'publish' === $post->post_status
&& 1 === preg_match( '/[^[:space:]]/', $post->post_title );
&& 1 === preg_match( '/\S/u', $post->post_title );
}
/** Clear request-local editorial query results after relevant mutations. */