Skip to content

Conversation

@dream-encode
Copy link
Contributor

Copy link
Contributor

@ockham ockham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this applied, the Post Editor works again 👍

Thank you @dream-encode!

$terms_with_same_title_query = $term_query->query( $args );

if ( count( $terms_with_same_title ) > 1 ) {
if ( count( $terms_with_same_title_query->terms ) > 1 ) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be needed. query returns the array of terms. But it can't hurt.

@ockham
Copy link
Contributor

ockham commented Oct 13, 2022

Merged into core by @dream-encode in https://core.trac.wordpress.org/changeset/54494.

@ockham ockham closed this Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants