Changeset 41234 for trunk/src/wp-includes/media.php
- Timestamp:
- 08/05/2017 04:41:39 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r41206 r41234 2314 2314 * 2315 2315 * @since 3.6.0 2316 * @since 4.9.0 The `$atts` parameter was added. 2316 2317 * 2317 2318 * @param string $class CSS class or list of space-separated classes. 2318 */ 2319 $atts['class'] = apply_filters( 'wp_audio_shortcode_class', $atts['class'] ); 2319 * @param array $atts Array of audio shortcode attributes. 2320 */ 2321 $atts['class'] = apply_filters( 'wp_audio_shortcode_class', $atts['class'], $atts ); 2320 2322 2321 2323 $html_atts = array( … … 2444 2446 * 2445 2447 * @param string $html Empty variable to be replaced with shortcode markup. 2446 * @param array $attr Attributes of the video shortcode.2448 * @param array $attr Attributes of the shortcode. @see wp_video_shortcode() 2447 2449 * @param string $content Video shortcode content. 2448 2450 * @param int $instance Unique numeric ID of this video shortcode instance. … … 2570 2572 * 2571 2573 * @since 3.6.0 2574 * @since 4.9.0 The `$atts` parameter was added. 2572 2575 * 2573 2576 * @param string $class CSS class or list of space-separated classes. 2574 */ 2575 $atts['class'] = apply_filters( 'wp_video_shortcode_class', $atts['class'] ); 2577 * @param array $atts Array of video shortcode attributes. 2578 */ 2579 $atts['class'] = apply_filters( 'wp_video_shortcode_class', $atts['class'], $atts ); 2576 2580 2577 2581 $html_atts = array(
Note: See TracChangeset
for help on using the changeset viewer.