Make WordPress Core

Changeset 44328

Timestamp:
12/19/2018 07:22:02 AM (6 years ago)
Author:
DrewAPicture
Message:

Customizer: Remove a line of commented-out code in WP_Customize_Nav_Menus::customize_register().

Retains a more explicit future-compat version of the todo notation that used to accompany the commented-out code.

Props harsh175, dlh.
Fixes #44633.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-nav-menus.php

    r43571 r44328  
    596596            $description .= '<p>' . __( 'Menus can be displayed in locations defined by your theme.' ) . '</p>';
    597597        }
     598
     599
     600
     601
     602
    598603        $this->manager->add_panel(
    599604            new WP_Customize_Nav_Menus_Panel(
     
    604609                    'description' => $description,
    605610                    'priority'    => 100,
    606                 // 'theme_supports' => 'menus|widgets', @todo allow multiple theme supports
    607611                )
    608612            )
Note: See TracChangeset for help on using the changeset viewer.