[wp-trac] [WordPress Trac] #10886: WordPress should not unnecessarily query posts at page load
WordPress Trac
wp-trac at lists.automattic.com
Sat Oct 3 17:18:59 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
--------------------------+-------------------------------------------------
Changes (by sivel):
* keywords: has-patch, tested, needs-testing => has-patch, needs-testing
Comment:
The patch as it stands now causes the admin to say there are the correct
number of posts/pages/attachments but "hides" them from view in the edit
lists. I'm not saying this is bad or good. Just wondering what everyone
else has to say about it. Should it be up to the developer to make sure
they only filter for the front end by checking if is_admin() is true? Or
do we want to assume that we always want to be able to see this in the
admin? Or should we add a second filter for the admin? So we would have
run_wp_main_front and run_wp_main_admin or something like that.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10886#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list