Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#36611 closed defect (bug) (fixed)

Field declared dynamically in unit test

Reported by: pbearne's profile pbearne Owned by: drewapicture's profile DrewAPicture
Milestone: 4.6 Priority: normal
Severity: normal Version: 4.6
Component: Date/Time Keywords: has-patch dev-feedback
Focuses: Cc:

Description

Only a small fix but needed

$this->year_url wasn't declared before use

Attachments (1)

getArchives.php.patch (448 bytes) - added by pbearne 9 years ago.
patch for unit test

Download all attachments as: .zip

Change History (4)

@pbearne
9 years ago

patch for unit test

#1 @pbearne
9 years ago

  • Keywords has-patch dev-feedback added
  • Resolution set to invalid
  • Status changed from new to closed

#2 @DrewAPicture
9 years ago

  • Owner set to DrewAPicture
  • Resolution changed from invalid to fixed

In 37271:

Tests: Pre-declare the $year_url property before initialization in Tests_Get_Archives::setUp().

Props pbearne.
Fixes #36611.

#3 @DrewAPicture
9 years ago

  • Milestone changed from Awaiting Review to 4.6
Note: See TracTickets for help on using tickets.