[wp-trac] Re: [WordPress Trac] #3841: Wordpress 2.1.1 - Image Upload bug

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 22 15:54:18 GMT 2007

#3841: Wordpress 2.1.1 - Image Upload bug
 Reporter:  dannyfoo        |        Owner:  anonymous
     Type:  defect          |       Status:  closed   
 Priority:  normal          |    Milestone:           
Component:  Administration  |      Version:  2.1.1    
 Severity:  trivial         |   Resolution:  wontfix  
 Keywords:                  |  
Changes (by rob1n):

  * status:  reopened => closed
  * resolution:  => wontfix


 Replying to [comment:3 majelbstoat]:
 > However, consider the fact that this particular attribute is an alt - I
 could see lots of people wanting to use an apostrophe there, which could
 conceivably cause minor problems. ie:
 > {{{
 > <a href='http://mysite.com/wp-content/uploads/2006/11/scooter.jpg'
 title='Jamie's Scooter'><img src='http://mysite.com/wp-
 content/uploads/2006/11/scooter.jpg' alt='Jamie's Scooter' /></a>
 > }}}
 > No longer valid with who knows what results.  Either way, it's a minor
 fix, so it might be worth doing...

 I believe wptexturize() is applied to the ALT attribute's value, so the
 apostrophe would become &#8220; or something like that. Single quotes are
 *perfectly valid*, and it is often easier to code in PHP. I see no issue,
 other than the fact that this isn't how people learn how to code HTML.

Ticket URL: <http://trac.wordpress.org/ticket/3841#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list