WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#25121 closed defect (bug) (fixed)

Unused local variable $indent in Walker_Nav_Menu_Edit

Reported by: jeremyfelt Owned by: SergeyBiryukov
Milestone: 3.7 Priority: normal
Severity: normal Version: 3.0
Component: Menus Keywords: has-patch
Focuses: Cc:
PR Number:

Description

start_el() assigns a value to a local variable $indent, but then doesn't do much with it. Seems to be a leftover of another start_el() method when [14248] hit.

Attachments (1)

25121.diff (512 bytes) - added by jeremyfelt 6 years ago.

Download all attachments as: .zip

Change History (2)

@jeremyfelt
6 years ago

#1 @SergeyBiryukov
6 years ago

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

In 25098:

Remove unused variable. props jeremyfelt. fixes #25121.

Note: See TracTickets for help on using tickets.