Make WordPress Core


Ignore:
Timestamp:
11/09/2006 07:02:40 PM (20 years ago)
Author:
markjaquith
Message:

valid XHTML for uploader. props tassoman and mdawaffe. fixes #3340

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upload-js.php

    r4424 r4461  
    222222
    223223                        if ( 'none' != link )
    224                                 h += "<a href='" + ( 'file' == link ? ( this.currentImage.srcBase + this.currentImage.src ) : ( this.currentImage.page + "' rel='attachment wp-att-" + this.currentImage.ID + "'" ) ) + "' title='" + this.currentImage.title + "'>";
     224                                h += "<a href='" + ( 'file' == link ? ( this.currentImage.srcBase + this.currentImage.src ) : ( this.currentImage.page + "' rel='attachment wp-att-" + this.currentImage.ID ) ) + "' title='" + this.currentImage.title + "'>";
    225225                        if ( display )
    226226                                h += "<img src='" + ( 'thumb' == display ? ( this.currentImage.thumbBase + this.currentImage.thumb ) : ( this.currentImage.srcBase + this.currentImage.src ) ) + "' alt='" + this.currentImage.title + "' />";
Note: See TracChangeset for help on using the changeset viewer.