WordPress.org

Make WordPress Core

Changeset 13378


Ignore:
Timestamp:
02/24/10 19:25:13 (4 years ago)
Author:
ryan
Message:

Rename nav menu widget. see #11817

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/default-widgets.php

    r13375 r13378  
    10381038 
    10391039/** 
    1040  * Custom Navigation widget class 
     1040 * Navigation Menu widget class 
    10411041 * 
    10421042 * @since 3.0.0 
    10431043 */ 
    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, __('Custom Navigation 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); 
    10491049    } 
    10501050 
     
    13881388    register_widget('WP_Widget_Tag_Cloud'); 
    13891389 
    1390     register_widget('WP_CustomNavWidget'); 
     1390    register_widget('WP_Nav_Menu_Widget'); 
    13911391 
    13921392    do_action('widgets_init'); 
Note: See TracChangeset for help on using the changeset viewer.