[wp-trac] [WordPress Trac] #11390: Press This entity encoding fix and blank title

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 11 00:36:24 UTC 2009


#11390: Press This entity encoding fix and blank title
--------------------------+-------------------------------------------------
 Reporter:  noel          |       Owner:  noel                 
     Type:  defect (bug)  |      Status:  new                  
 Priority:  normal        |   Milestone:  2.9                  
Component:  Press This    |     Version:  2.9                  
 Severity:  normal        |    Keywords:  press this, has-patch
--------------------------+-------------------------------------------------

Comment(by azaozz):

 Not sure about the HTML entities fix. If there's a selection we do
 stripslashes(), aposfix(), html_entity_decode(), htmlspecialchars() and
 trim() on it, then we add some <p> and then do html_entity_decode() again
 (in effect reverting htmlspecialchars)?

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


More information about the wp-trac mailing list