Make [18456] more obvious. Fixes #16432.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2011-07-25 13:20:07 +00:00
parent 21058cf460
commit 009b264271

View File

@ -1876,7 +1876,9 @@ function wp_trim_excerpt($text) {
*/
function ent2ncr($text) {
if( null !== $filtered = apply_filters( 'pre_ent2ncr', null, $text ) )
// Allow a plugin to short-circuit and override the mappings.
$filtered = apply_filters( 'pre_ent2ncr', null, $text );
if( null !== $filtered )
return $filtered;
$to_ncr = array(