Make WordPress Core

Ticket #34167: 34167.diff

File 34167.diff, 724 bytes (added by mattheu, 9 years ago)
  • src/wp-includes/shortcodes.php

    diff --git a/src/wp-includes/shortcodes.php b/src/wp-includes/shortcodes.php
    index 3959818..4fa7786 100644
    a b function shortcode_atts( $pairs, $atts, $shortcode = '' ) { 
    534534         * @param array $out   The output array of shortcode attributes.
    535535         * @param array $pairs The supported attributes and their defaults.
    536536         * @param array $atts  The user defined shortcode attributes.
     537         * @param array $atts  The shortcode name.
    537538         */
    538539        if ( $shortcode )
    539                 $out = apply_filters( "shortcode_atts_{$shortcode}", $out, $pairs, $atts );
     540                $out = apply_filters( "shortcode_atts_{$shortcode}", $out, $pairs, $atts, $shortcode );
    540541
    541542        return $out;
    542543}