Changeset 12875
- Timestamp:
- 01/27/2010 02:38:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/media.php
r12823 r12875 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 }
Note: See TracChangeset
for help on using the changeset viewer.