Ticket #37329: 37329.1.diff
File 37329.1.diff, 1017 bytes (added by , 7 years ago) |
---|
-
wp-includes/media.php
2315 2315 * @since 3.6.0 2316 2316 * 2317 2317 * @param string $class CSS class or list of space-separated classes. 2318 * @param array $atts Array of attributes for the audio shortcode. 2318 2319 */ 2319 $atts['class'] = apply_filters( 'wp_audio_shortcode_class', $atts['class'] );2320 $atts['class'] = apply_filters( 'wp_audio_shortcode_class', $atts['class'], $atts ); 2320 2321 2321 2322 $html_atts = array( 2322 2323 'class' => $atts['class'], … … 2570 2571 * @since 3.6.0 2571 2572 * 2572 2573 * @param string $class CSS class or list of space-separated classes. 2574 * @param array $atts Array of attributes for the video shortcode. 2573 2575 */ 2574 $atts['class'] = apply_filters( 'wp_video_shortcode_class', $atts['class'] );2576 $atts['class'] = apply_filters( 'wp_video_shortcode_class', $atts['class'], $atts ); 2575 2577 2576 2578 $html_atts = array( 2577 2579 'class' => $atts['class'],