Make WordPress Core

Changeset 23921


Ignore:
Timestamp:
04/05/2013 05:46:31 PM (12 years ago)
Author:
nacin
Message:

Third parameter for shortcode_atts() for audio and video shortcodes. props obenland, see #23282.

File:
1 edited

Legend:

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

    r23899 r23921  
    855855        $defaults_atts[$type] = '';
    856856
    857     $atts = shortcode_atts( $defaults_atts, $attr );
     857    $atts = shortcode_atts( $defaults_atts, $attr, 'audio' );
    858858    extract( $atts );
    859859
     
    962962        $defaults_atts[$type] = '';
    963963
    964     $atts = shortcode_atts( $defaults_atts, $attr );
     964    $atts = shortcode_atts( $defaults_atts, $attr, 'video' );
    965965    extract( $atts );
    966966
Note: See TracChangeset for help on using the changeset viewer.