﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
10972	Improve sanitize_post() calling	johanee		"http://core.trac.wordpress.org/changeset/11282 resulted in a 5% performance regression.

sanitize_post() is called on every get_post(), which is used almost everywhere such as in commonly-called template functions (the_title, get_permalink, etc.).

A better solution than reverting the commit is to call sanitize_post() once only for a post: before storing in wp_cache_add() and for wp_query->posts. Instead of for example 16 times for each post in default theme.

This patch restores the performance lost by changeset 11282.
"	enhancement	closed	normal	2.9	Performance	2.9	normal	fixed	has-patch	
