WordPress.org

Make WordPress Core

Ticket #31151: 31151.diff

File 31151.diff, 690 bytes (added by ninnypants, 4 years ago)

Add changelogs

  • wp-includes/media.php

    diff --git wp-includes/media.php wp-includes/media.php
    index 1fe74b0..b97fc6c 100644
    function gallery_shortcode( $attr ) { 
    938938         * the default gallery template.
    939939         *
    940940         * @since 2.5.0
     941         * @since 4.2.0 Added shortcode instance as a param
    941942         *
    942943         * @see gallery_shortcode()
    943944         *
    function wp_playlist_shortcode( $attr ) { 
    12141215         * of the default playlist output, returning the passed value instead.
    12151216         *
    12161217         * @since 3.9.0
     1218         * @since 4.2.0 Added shortcode instance as a param
    12171219         *
    12181220         * @param string $output   Playlist output. Default empty.
    12191221         * @param array  $attr     An array of shortcode attributes.