WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#23789 closed defect (bug) (fixed)

Redundant variables for menu custom link meta box callback

Reported by: GaryJ Owned by: SergeyBiryukov
Milestone: 3.6 Priority: normal
Severity: normal Version:
Component: Menus Keywords: has-patch commit
Focuses: Cc:

Description

A couple of non-global variables defined at the beginning of wp_nav_menu_item_link_meta_box() appear to be unused within the rest of the function.

Attachments (1)

23789.patch (877 bytes) - added by GaryJ 2 years ago.

Download all attachments as: .zip

Change History (3)

@GaryJ2 years ago

comment:1 @SergeyBiryukov2 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.6

Unused since [14292].

comment:2 @SergeyBiryukov2 years ago

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

In 23712:

Remove unused variables. props GaryJ. fixes #23789.

Note: See TracTickets for help on using tickets.