What is the purpose of this line of code in wp_trim_excerpt? [closed]

The replacement string contains a HTML entity which when displayed on a browser, looks like the needle string. It’s converting > to a HTML entity.

Reference: http://core.trac.wordpress.org/browser/tags/3.4.1/wp-includes/formatting.php#L2119

Leave a Comment