fix: normalize CHRNX unicode titles
This commit is contained in:
6 files changed
+67
-10
No files matched your search
+1
-1
@@ -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. */
|
||||
|
||||
Reference in new issue
Block a user