Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#36611 closed defect (bug) (fixed)

Field declared dynamically in unit test

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

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 10 years ago.
patch for unit test

Download all attachments as: .zip

Change History (4)

@pbearne
10 years ago

patch for unit test

#1 @pbearne
10 years ago

  • Keywords has-patch dev-feedback added
  • Resolution → invalid
  • Status new → closed

#2 @DrewAPicture
10 years ago

  • Owner set to DrewAPicture
  • Resolution invalid → fixed

In 37271:

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

Props pbearne.
Fixes #36611.

#3 @DrewAPicture
10 years ago

  • Milestone Awaiting Review → 4.6
Note: See TracTickets for help on using tickets.