Changeset 13378
- Timestamp:
- 02/24/2010 07:25:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/default-widgets.php
r13375 r13378 1038 1038 1039 1039 /** 1040 * Custom Navigationwidget class1040 * Navigation Menu widget class 1041 1041 * 1042 1042 * @since 3.0.0 1043 1043 */ 1044 class WP_ CustomNavWidget extends WP_Widget {1045 1046 function WP_ CustomNavWidget() {1047 $widget_ops = array('description' => __('Use this widget to add one of your Custom Navigation Menus as a widget.') );1048 parent::WP_Widget(false, __(' CustomNavigation Menu'), $widget_ops);1044 class WP_Nav_Menu_Widget extends WP_Widget { 1045 1046 function WP_Nav_Menu_Widget() { 1047 $widget_ops = array('description' => __('Use this widget to add one of your navigation menus as a widget.') ); 1048 parent::WP_Widget(false, __('Navigation Menu'), $widget_ops); 1049 1049 } 1050 1050 … … 1388 1388 register_widget('WP_Widget_Tag_Cloud'); 1389 1389 1390 register_widget('WP_ CustomNavWidget');1390 register_widget('WP_Nav_Menu_Widget'); 1391 1391 1392 1392 do_action('widgets_init');
Note: See TracChangeset
for help on using the changeset viewer.