Ticket #48033: widgets.2.diff
File widgets.2.diff, 788 bytes (added by , 5 years ago) |
---|
-
wp-includes/widgets.php
263 263 'after_title' => "</h2>\n", 264 264 ); 265 265 266 /** 267 * Filters the sidebar default arguments. 268 * 269 * @since 5.2.3 270 * @param array $defaults default arguments passed for the registered sidebar. 271 */ 272 $defaults = apply_filters( 'register_sidebar_defaults', $defaults ); 273 274 /** 275 * Filters the sidebar default arguments. 276 * 277 * @since 5.2.3 278 * @param array $defaults default arguments passed for the registered sidebar. 279 */ 280 $defaults = apply_filters( 'register_sidebar_defaults', $defaults ); 281 266 282 $sidebar = wp_parse_args( $args, $defaults ); 267 283 268 284 if ( $id_is_empty ) {