[wp-trac] [WordPress Trac] #10823: Bad handling of ampersand in post titles

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 7 06:28:49 UTC 2011


#10823: Bad handling of ampersand in post titles
---------------------------+-----------------------------
 Reporter:  Commeuneimage  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Future Release
Component:  Formatting     |     Version:  2.8.4
 Severity:  minor          |  Resolution:
 Keywords:  has-patch      |
---------------------------+-----------------------------

Comment (by nacin):

 I imagine we have a regex somewhere that deals with killing entities.

 Of note I also see this regex used here:
 {{{
 ./wp-includes/formatting.php:758:       $username = preg_replace(
 '/&.+?;/', '', $username ); // Kill entities
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10823#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list