Changeset 19275
- Timestamp:
- 11/14/2011 07:35:32 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r19268 r19275 1498 1498 html = '<img alt="'+alt+'" src="'+f.src.value+'"'+title+cls+' width="'+t.width+'" height="'+t.height+'" />'; 1499 1499 1500 if ( f.url.value ) 1501 html = '<a href="'+f.url.value+'">'+html+'</a>'; 1500 if ( f.url.value ) { 1501 url = f.url.value.replace(/'/g, ''').replace(/"/g, '"').replace(/</g, '<').replace(/>/g, '>'); 1502 html = '<a href="'+url+'">'+html+'</a>'; 1503 } 1502 1504 1503 1505 if ( caption )
Note: See TracChangeset
for help on using the changeset viewer.