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
There is a missing P2P properties in WP_Post Object for parent, next and previous item connected when using a filter 'post_type_link' but other connected items have the P2P properties on the said filter.
Updated: Or is this how it works?
There is a missing P2P properties in WP_Post Object for parent, next and previous item connected when using a filter 'post_type_link' but other connected items have the P2P properties on the said filter.
1st item:
2nd item: (Previous - Missing P2P properties)
3rd item: (Parent - Currently in this single post query - Missing P2P properties)
4th item: (Next - Missing P2P properties)
I've noticed that when going to every connected item, the missing P2P type in Post object behaves on this format: Previous, Parent and Next items.
Example No. 1:
1st item | 2nd item - Previous (Missing) | 3rd item - Parent (Missing) | 4th item - Next (Missing)
Example No. 2:
1st item - Previous (Missing) | 2nd item - Parent (Missing) | 3rd item - Next (Missing) | 4th item
To recreate this scenerio:
Using the query code snippet above and you are on single 'video' page.
I'm still on the verge of looking at the core files which is responsible for this.
Thanks
The text was updated successfully, but these errors were encountered: