ideasonpurpose / wp-related-posts

Library for gathering related posts based on various weightings
0 stars 0 forks source link

Get post_parent for revisions #3

Closed joemaller closed 4 months ago

joemaller commented 4 months ago

If the editor returns a revision instead of the actual post, normalizeArgs should return the post_parent ID instead of the revision's ID.