WordPress.org

Make WordPress Core

Changeset 38597


Ignore:
Timestamp:
09/13/16 13:44:33 (6 months ago)
Author:
SergeyBiryukov
Message:

Media: Remove an extra space in style attribute in wp_video_shortcode() after [30082].

Props danielpietrasik.
Fixes #38040.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/media.php

    r38470 r38597  
    26042604    $width_rule = ''; 
    26052605    if ( ! empty( $atts['width'] ) ) { 
    2606         $width_rule = sprintf( 'width: %dpx; ', $atts['width'] ); 
     2606        $width_rule = sprintf( 'width: %dpx;', $atts['width'] ); 
    26072607    } 
    26082608    $output = sprintf( '<div style="%s" class="wp-video">%s</div>', $width_rule, $html ); 
Note: See TracChangeset for help on using the changeset viewer.