[wp-trac] [WordPress Trac] #10972: Improve sanitize_post() calling
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 19 05:34:52 UTC 2009
#10972: Improve sanitize_post() calling
-------------------------+--------------------------------------------------
Reporter: johanee | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.9
Component: Performance | Version: 2.9
Severity: normal | Keywords: has-patch
-------------------------+--------------------------------------------------
Comment(by johanee):
Updated patch:
- Call sanitize_post directly from WP_Query::get_posts() instead
- Also need to call it from get_pages()
- Included sanitize_post check from #10801 to avoid double filtering
Did not include get_post() part of #10801 which looked strange and
probably buggy. :)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10972#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list