WordPress.org

Make WordPress Core

Opened 5 months ago

Closed 2 months ago

#47074 closed defect (bug) (fixed)

Commented out code in upgrade.php

Reported by: rahulvaza Owned by: SergeyBiryukov
Milestone: 5.3 Priority: normal
Severity: normal Version: 1.2
Component: Upgrade/Install Keywords: has-patch
Focuses: docs, coding-standards Cc:

Description

I found commented out code in upgrade.php.

As consider coding standards we should remove the unused code from the file.

Attachments (1)

47074.patch (698 bytes) - added by rahulvaza 5 months ago.

Download all attachments as: .zip

Change History (6)

@rahulvaza
5 months ago

#1 @SergeyBiryukov
5 months ago

  • Milestone changed from Awaiting Review to 5.3

Hi @rahulvaza, welcome to WordPress Trac! Thanks for the ticket.

Appears to be some debug cruft from [1229].

#2 @SergeyBiryukov
5 months ago

  • Version changed from trunk to 1.2

#3 @SergeyBiryukov
4 months ago

  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#4 @SergeyBiryukov
2 months ago

#47696 was marked as a duplicate.

#5 @SergeyBiryukov
2 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 45633:

Upgrade/Install: Remove debugging artifacts from wp-admin/upgrade.php added in [1229].

Props rahulvaza.
Fixes #47074.

Note: See TracTickets for help on using tickets.