Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#47074 closed defect (bug) (fixed)

Commented out code in upgrade.php

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

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 7 years ago.

Download all attachments as: .zip

Change History (6)

@rahulvaza
7 years ago

#1 @SergeyBiryukov
7 years ago

  • Milestone Awaiting Review → 5.3

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

Appears to be some debug cruft from [1229].

#2 @SergeyBiryukov
7 years ago

  • Version trunk → 1.2

#3 @SergeyBiryukov
7 years ago

  • Owner set to SergeyBiryukov
  • Status new → reviewing

#4 @SergeyBiryukov
7 years ago

#47696 was marked as a duplicate.

#5 @SergeyBiryukov
7 years ago

  • Resolution → fixed
  • Status reviewing → 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.