in_comic_category creating a phenomenal amount of extra query calls per page #32
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
wp_get_post_categories($post->ID) in in_comic_category() is adding a large amount of SQL queries to the page, is there a way we can do this in_comic_category() without so many sql queries for it?
setting a var in display_post to capture the in_comic_cat() then passing it to each sub function so that it's not overused all over the place.
Fixed, reduced 60 queries per page load by passing arguments instead of using in_comic_category()
In what commit was this change made?
e2fa538ee4