You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The top term metabox does not handle this case; it does not check if the saved term ID is in the IDs of the terms on the post or display the assigned top term if that term is not in the list of the post's terms.
Similarly, the largo_top_term() output function does not check whether the saved term ID is one that applies to the post; we've been assuming that it is.
Initially reported in INN/umbrella-sfpublicpress#109 (comment), where a post had a saved top_term ID that was a term that did not match any of the terms that were assigned to the post.
The text was updated successfully, but these errors were encountered:
The top term metabox does not handle this case; it does not check if the saved term ID is in the IDs of the terms on the post or display the assigned top term if that term is not in the list of the post's terms.
https://github.com/INN/largo/blob/590181982d22a5444eb3c5ccca58ea8b56db12f7/inc/post-metaboxes.php#L284-L325
Similarly, the
largo_top_term()
output function does not check whether the saved term ID is one that applies to the post; we've been assuming that it is.Initially reported in INN/umbrella-sfpublicpress#109 (comment), where a post had a saved
top_term
ID that was a term that did not match any of the terms that were assigned to the post.The text was updated successfully, but these errors were encountered: