Make WordPress Core

Changeset 4461


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

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

Location:
trunk
Files:
2 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 + "' />";
  • trunk/wp-includes/script-loader.php

    r4459 r4461  
    3030            $this->add( 'admin-users', '/wp-admin/users.js', array('listman'), '3684' );
    3131            $this->add( 'xfn', '/wp-admin/xfn.js', false, '3517' );
    32             $this->add( 'upload', '/wp-admin/upload-js.php', array('prototype'), '4355' );
     32            $this->add( 'upload', '/wp-admin/upload-js.php', array('prototype'), '4461' );
    3333        }
    3434    }
Note: See TracChangeset for help on using the changeset viewer.