[wp-hackers] Ticket #3100

Chris Poteet cpoteet at siolon.com
Sun Jan 21 03:47:56 GMT 2007


I've been trying to fix ticket #3100 which should be easy, but I'm having
some issues.  It concerns the alt attribute being filled with the file name
when no title is put in.  The behavior should be that nothing is put in
there, but I don't understand how it's being truncated to fill in the title.
I know the title is being set on line 49 on upload-js.php:

this.currentImage.title = ( 0 == id ? '' : $('attachment-title-' + id).value
);

http://trac.wordpress.org/ticket/3100

Thoughts?  Thanks, Chris



More information about the wp-hackers mailing list