Ticket #11980: 11980.patch
File 11980.patch, 664 bytes (added by , 15 years ago) |
---|
-
wp-includes/media.php
1245 1245 1246 1246 $width = get_option('embed_size_w'); 1247 1247 1248 if ( !$width&& !empty($theme_width) )1248 if ( empty($width) && !empty($theme_width) ) 1249 1249 $width = $theme_width; 1250 1250 1251 if ( !$width)1251 if ( empty($width) ) 1252 1252 $width = 500; 1253 1253 1254 $height = get_option('embed_size_h'); 1255 1256 if ( empty($height) ) 1257 $height = 700; 1258 1254 1259 return apply_filters( 'embed_defaults', array( 1255 'width' => $width,1256 'height' => 700,1260 'width' => $width, 1261 'height' => $height, 1257 1262 ) ); 1258 1263 } 1259 1264