Ticket #17814: media-17814.php.patch
File media-17814.php.patch, 859 bytes (added by , 13 years ago) |
---|
-
.php
old new 246 246 if ( ! file_exists( $file ) ) 247 247 return sprintf(__('File “%s” doesn’t exist?'), $file); 248 248 249 if( ! is_file( $file ) ) 250 return sprintf(__('“%s” is not a file.'), $file); 251 249 252 if ( ! function_exists('imagecreatefromstring') ) 250 253 return __('The GD image library is not installed.'); 251 254 … … 1438 1441 return apply_filters( 'embed_googlevideo', '<embed type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docid=' . esc_attr($matches[2]) . '&hl=en&fs=true" style="width:' . esc_attr($width) . 'px;height:' . esc_attr($height) . 'px" allowFullScreen="true" allowScriptAccess="always" />', $matches, $attr, $url, $rawattr ); 1439 1442 } 1440 1443 1441 ?> 1442 No newline at end of file 1444 ?>