From 635409844ee0369db58a19eb94793f2d3d912214 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 24 Feb 2010 19:25:13 +0000 Subject: [PATCH] Rename nav menu widget. see #11817 git-svn-id: http://svn.automattic.com/wordpress/trunk@13378 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/default-widgets.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-includes/default-widgets.php b/wp-includes/default-widgets.php index 43dc90777..96b06fb52 100644 --- a/wp-includes/default-widgets.php +++ b/wp-includes/default-widgets.php @@ -1037,15 +1037,15 @@ class WP_Widget_Tag_Cloud extends WP_Widget { } /** - * Custom Navigation widget class + * Navigation Menu widget class * * @since 3.0.0 */ - class WP_CustomNavWidget extends WP_Widget { + class WP_Nav_Menu_Widget extends WP_Widget { - function WP_CustomNavWidget() { - $widget_ops = array('description' => __('Use this widget to add one of your Custom Navigation Menus as a widget.') ); - parent::WP_Widget(false, __('Custom Navigation Menu'), $widget_ops); + function WP_Nav_Menu_Widget() { + $widget_ops = array('description' => __('Use this widget to add one of your navigation menus as a widget.') ); + parent::WP_Widget(false, __('Navigation Menu'), $widget_ops); } function widget($args, $instance) { @@ -1387,7 +1387,7 @@ function wp_widgets_init() { register_widget('WP_Widget_Tag_Cloud'); - register_widget('WP_CustomNavWidget'); + register_widget('WP_Nav_Menu_Widget'); do_action('widgets_init'); }