Make WordPress Core

Opened 6 years ago

Closed 5 years ago

#47074 closed defect (bug) (fixed)

Commented out code in upgrade.php

Reported by: rahulvaza's profile rahulvaza Owned by: sergeybiryukov's profile 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 6 years ago.

Download all attachments as: .zip

Change History (6)

@rahulvaza
6 years ago

#1 @SergeyBiryukov
6 years 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
6 years ago

  • Version changed from trunk to 1.2

#3 @SergeyBiryukov
6 years ago

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

#4 @SergeyBiryukov
5 years ago

#47696 was marked as a duplicate.

#5 @SergeyBiryukov
5 years 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.