[wp-trac] [WordPress Trac] #23336: Sticky Posts lack sanity bounding. If used too much, can severely degrade performance.
WordPress Trac
noreply at wordpress.org
Thu May 23 21:47:11 UTC 2013
#23336: Sticky Posts lack sanity bounding. If used too much, can severely degrade
performance.
-----------------------------------------+------------------
Reporter: markjaquith | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Query | Version:
Severity: normal | Resolution:
Keywords: has-patch reporter-feedback |
-----------------------------------------+------------------
Changes (by mbijon):
* cc: mike@… (added)
Comment:
Odds are you and Mark are right that a default limit is OK. Stickies have
always had no limit, so most themes or sites are already managing them
manually ... or have just gotten used to things being slow & ugly.
At least this is a filter & will get documented. With 3.6 launch docs,
people will be able to find it easier than Mark was able to track down his
performance issue.
Is it worth making this filter homepage-specific though? A bit long, but
unless other things get the same filter, this is more of a
'sticky_posts_is_home_query_limit'
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23336#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list