Make [18456] more obvious. Fixes #16432.

git-svn-id: https://develop.svn.wordpress.org/trunk@18465 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood 2011-07-25 13:20:07 +00:00
parent 06f33f29ba
commit fe2dc7c083

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(