[wp-trac] [WordPress Trac] #10886: WordPress should not unnecessarily query posts at page load
WordPress Trac
wp-trac at lists.automattic.com
Thu Oct 15 21:51:13 UTC 2009
#10886: WordPress should not unnecessarily query posts at page load
--------------------------+-------------------------------------------------
Reporter: junsuijin | Owner: junsuijin
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Optimization | Version: 2.8.4
Severity: normal | Keywords: has-patch, needs-testing
--------------------------+-------------------------------------------------
Comment(by westi):
I don't know what BuddyPress uses the wp hook for but I think the
following is what we should achieve.
* We are trying to stop something running so we should just stop that.
* We should not duplicate do_actions or expect plugins to run them if
they use the new hook - If we do this I think we have failed.
Therefore it looks like we need to understand if wp is the hook BuddyPress
should be using on these pages and we need to move the new filter into the
wp.main() function or whether BuddyPress should be hooked in to something
else.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10886#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list