WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#36611 closed defect (bug) (fixed)

Field declared dynamically in unit test

Reported by: pbearne Owned by: 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 4 years ago.
patch for unit test

Download all attachments as: .zip

Change History (4)

@pbearne
4 years ago

patch for unit test

#1 @pbearne
4 years ago

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

#2 @DrewAPicture
4 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
4 years ago

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