Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#37035 closed enhancement (fixed)

Move Walker_Nav_Menu class into its own file

Reported by: ocean90 Owned by: DrewAPicture
Milestone: 4.6 Priority: normal
Severity: normal Version:
Component: Menus Keywords: has-patch
Focuses: Cc:


Walker_Nav_Menu is the only subclass of Walker which is not in its own file. Let's change that.

Attachments (2)

37035.diff (28.0 KB) - added by DrewAPicture 4 years ago.
37035.2.diff (27.5 KB) - added by DrewAPicture 4 years ago.

Download all attachments as: .zip

Change History (4)

4 years ago

#1 @DrewAPicture
4 years ago

  • Keywords has-patch added

4 years ago

#2 @DrewAPicture
4 years ago

  • Owner set to DrewAPicture
  • Resolution set to fixed
  • Status changed from new to closed

In 37640:

Nav Menus: Move the Walker_Nav_Menu class to its own file.

The new class-walker-nav-menu.php file is loaded in nav-menu-template.php for backward compatibility purposes.

Fixes #37035. See #33413.

Note: See TracTickets for help on using tickets.