WordPress.org

Make WordPress Core

Ticket #37329: 37329.diff

File 37329.diff, 599 bytes (added by sathyapulse, 4 years ago)
  • wp-includes/media.php

     
    25702570         * @since 3.6.0
    25712571         *
    25722572         * @param string $class CSS class or list of space-separated classes.
     2573         * @param array  $atts  Array of attributes for the video shortcode.
    25732574         */
    2574         $atts['class'] = apply_filters( 'wp_video_shortcode_class', $atts['class'] );
     2575        $atts['class'] = apply_filters( 'wp_video_shortcode_class', $atts['class'], $atts );
    25752576
    25762577        $html_atts = array(
    25772578                'class'    => $atts['class'],