Skip to content
This repository has been archived by the owner on Jul 20, 2018. It is now read-only.

Flag custom related posts functions on VIP #77

Open
nickdaugherty opened this issue Feb 24, 2014 · 0 comments
Open

Flag custom related posts functions on VIP #77

nickdaugherty opened this issue Feb 24, 2014 · 0 comments

Comments

@nickdaugherty
Copy link
Contributor

Should be using VIP Related Posts rather than a custom implementation, which is slower and not as accurate.

A good enough implementation is to check all function names for related_posts variants, including relatedposts.

For more accurate detection, should check the body of that function for custom queries, and make sure it's not a wrapper for VIP Related Posts by checking for a WPCOM_Related_Posts()->get_related_posts() call.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant