Remove extra space. props danielbachhuber.
git-svn-id: https://develop.svn.wordpress.org/trunk@19317 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5c6cebe6a4
commit
9eef9937ee
|
@ -522,7 +522,7 @@ function wp_media_upload_handler() {
|
||||||
$title = esc_html( basename( $src ) );
|
$title = esc_html( basename( $src ) );
|
||||||
|
|
||||||
if ( $title && $src )
|
if ( $title && $src )
|
||||||
$html = "<a href='" . esc_url($src) . "' >$title</a>";
|
$html = "<a href='" . esc_url($src) . "'>$title</a>";
|
||||||
|
|
||||||
$type = 'file';
|
$type = 'file';
|
||||||
if ( ( $ext = preg_replace( '/^.+?\.([^.]+)$/', '$1', $src ) ) && ( $ext_type = wp_ext2type( $ext ) )
|
if ( ( $ext = preg_replace( '/^.+?\.([^.]+)$/', '$1', $src ) ) && ( $ext_type = wp_ext2type( $ext ) )
|
||||||
|
|
Loading…
Reference in New Issue