diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index 8ceec9e27d..1ca75dd9fe 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -326,19 +326,43 @@ function wp_get_widget_defaults() { /* Default Widgets */ -function wp_widget_pages($args) { - extract($args); - $options = get_option('widget_pages'); - $title = empty($options['title']) ? __('Pages') : $options['title']; - echo $before_widget . $before_title . $title . $after_title . "