diff --git src/wp-includes/default-widgets.php src/wp-includes/default-widgets.php
index 7ad17f3..17d2232 100644
|
|
class WP_Widget_Tag_Cloud extends WP_Widget { |
1323 | 1323 | if ( !empty($instance['title']) ) |
1324 | 1324 | echo $args['before_title'] . $instance['title'] . $args['after_title']; |
1325 | 1325 | |
1326 | | wp_nav_menu( array( 'fallback_cb' => '', 'menu' => $nav_menu ) ); |
| 1326 | /** |
| 1327 | * Filter the arguments for the Custom Menu widget. |
| 1328 | * |
| 1329 | * @since 4.1.0 |
| 1330 | * |
| 1331 | * @see wp_nav_menu() |
| 1332 | * |
| 1333 | * @param array $args An array of arguments to retrieve the custom menu. |
| 1334 | */ |
| 1335 | wp_nav_menu( apply_filters( 'widget_nav_menu_args', array( |
| 1336 | 'fallback_cb' => '', |
| 1337 | 'menu' => $nav_menu |
| 1338 | ) ) ); |
1327 | 1339 | |
1328 | 1340 | echo $args['after_widget']; |
1329 | 1341 | } |