diff --git a/src/wp-includes/shortcodes.php b/src/wp-includes/shortcodes.php
index 86976a2..fbabc1c 100644
a
|
b
|
function shortcode_atts( $pairs, $atts, $shortcode = '' ) { |
510 | 510 | * The third parameter, $shortcode, is the name of the shortcode. |
511 | 511 | * |
512 | 512 | * @since 3.6.0 |
| 513 | * @since 4.4.0 Added shortcode name. |
513 | 514 | * |
514 | 515 | * @param array $out The output array of shortcode attributes. |
515 | 516 | * @param array $pairs The supported attributes and their defaults. |
516 | 517 | * @param array $atts The user defined shortcode attributes. |
| 518 | * @param array $atts The shortcode name. |
517 | 519 | */ |
518 | | if ( $shortcode ) |
519 | | $out = apply_filters( "shortcode_atts_{$shortcode}", $out, $pairs, $atts ); |
| 520 | if ( $shortcode ) { |
| 521 | $out = apply_filters( "shortcode_atts_{$shortcode}", $out, $pairs, $atts, $shortcode ); |
| 522 | } |
520 | 523 | |
521 | 524 | return $out; |
522 | 525 | } |