Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#41723 closed enhancement (fixed)

Remove duplicate row in /wp-includes/default-widgets.php

Reported by: thingsym's profile thingsym Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.9 Priority: normal
Severity: normal Version: 4.9
Component: Widgets Keywords: has-patch
Focuses: Cc:


require_once( ABSPATH . WPINC . '/widgets/class-wp-widget-meta.php' ); has two lines. described in duplicate.

In the patch, delete duplicate row.

Attachments (1)

patch.diff (606 bytes) - added by thingsym 7 years ago.

Download all attachments as: .zip

Change History (3)

7 years ago

#1 @SergeyBiryukov
7 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 4.9

Hi @thingsym, welcome to WordPress Trac!

Good catch, introduced in [40640].

#2 @SergeyBiryukov
7 years ago

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

In 41312:

Widgets: Remove a duplicate require_once() for class-wp-widget-meta.php added in [40640].

Props thingsym.
Fixes #41723.

Note: See TracTickets for help on using tickets.