Changeset 46688
- Timestamp:
- 11/09/2019 01:41:29 PM (6 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.wp-styles.php
r46660 r46688 44 44 $handles = false; 45 45 } 46 /** 47 * Fires before styles in the $handles queue are printed. 48 * 49 * @since 2.6.0 50 */ 46 51 47 if ( ! $handles ) { 48 /** 49 * Fires before styles in the $handles queue are printed. 50 * 51 * @since 2.6.0 52 */ 52 53 do_action( 'wp_print_styles' ); 53 54 } -
trunk/src/wp-includes/shortcodes.php
r46554 r46688 559 559 } 560 560 } 561 /** 562 * Filters a shortcode's default attributes. 563 * 564 * If the third parameter of the shortcode_atts() function is present then this filter is available. 565 * The third parameter, $shortcode, is the name of the shortcode. 566 * 567 * @since 3.6.0 568 * @since 4.4.0 Added the `$shortcode` parameter. 569 * 570 * @param array $out The output array of shortcode attributes. 571 * @param array $pairs The supported attributes and their defaults. 572 * @param array $atts The user defined shortcode attributes. 573 * @param string $shortcode The shortcode name. 574 */ 561 575 562 if ( $shortcode ) { 563 /** 564 * Filters a shortcode's default attributes. 565 * 566 * If the third parameter of the shortcode_atts() function is present then this filter is available. 567 * The third parameter, $shortcode, is the name of the shortcode. 568 * 569 * @since 3.6.0 570 * @since 4.4.0 Added the `$shortcode` parameter. 571 * 572 * @param array $out The output array of shortcode attributes. 573 * @param array $pairs The supported attributes and their defaults. 574 * @param array $atts The user defined shortcode attributes. 575 * @param string $shortcode The shortcode name. 576 */ 576 577 $out = apply_filters( "shortcode_atts_{$shortcode}", $out, $pairs, $atts, $shortcode ); 577 578 }
Note: See TracChangeset
for help on using the changeset viewer.