Changeset 30082 for trunk/src/wp-includes/media.php
- Timestamp:
- 10/29/2014 12:46:15 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/media.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r30068 r30082 1856 1856 $html .= '</video>'; 1857 1857 1858 $width_rule = $height_rule ='';1858 $width_rule = ''; 1859 1859 if ( ! empty( $atts['width'] ) ) { 1860 1860 $width_rule = sprintf( 'width: %dpx; ', $atts['width'] ); 1861 1861 } 1862 if ( ! empty( $atts['height'] ) ) { 1863 $height_rule = sprintf( 'height: %dpx; ', $atts['height'] ); 1864 } 1865 $output = sprintf( '<div style="%s%s" class="wp-video">%s</div>', $width_rule, $height_rule, $html ); 1862 $output = sprintf( '<div style="%s" class="wp-video">%s</div>', $width_rule, $html ); 1866 1863 1867 1864 /**
Note: See TracChangeset
for help on using the changeset viewer.