WordPress.org

Make WordPress Core

Ticket #40442: ––enhancement-40442.diff

File ––enhancement-40442.diff, 854 bytes (added by gk.loveweb, 3 years ago)

Changed the text "Custom Menu" To "Menu"

  • src/wp-includes/widgets/class-wp-nav-menu-widget.php

    diff --git src/wp-includes/widgets/class-wp-nav-menu-widget.php src/wp-includes/widgets/class-wp-nav-menu-widget.php
    index d7ad82b7e8..bde7e8223c 100644
     
    1717class WP_Nav_Menu_Widget extends WP_Widget {
    1818
    1919        /**
    20          * Sets up a new Custom Menu widget instance.
     20         * Sets up a new Menu widget instance.
    2121         *
    2222         * @since 3.0.0
    2323         * @access public
    2424         */
    2525        public function __construct() {
    2626                $widget_ops = array(
    27                         'description' => __( 'Add a custom menu to your sidebar.' ),
     27                        'description' => __( 'Add a menu to your sidebar.' ),
    2828                        'customize_selective_refresh' => true,
    2929                );
    30                 parent::__construct( 'nav_menu', __('Custom Menu'), $widget_ops );
     30                parent::__construct( 'nav_menu', __('Menu'), $widget_ops );
    3131        }
    3232
    3333        /**