From 6c4c867b897c5ca5c22178300b88f58a15a687ba Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 21 Apr 2016 02:55:52 +0000 Subject: [PATCH] Tests: Pre-declare the `$year_url` property before initialization in `Tests_Get_Archives::setUp()`. Props pbearne. Fixes #36611. git-svn-id: https://develop.svn.wordpress.org/trunk@37271 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/functions/getArchives.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/tests/functions/getArchives.php b/tests/phpunit/tests/functions/getArchives.php index 2d70387b0b..35c01da7da 100644 --- a/tests/phpunit/tests/functions/getArchives.php +++ b/tests/phpunit/tests/functions/getArchives.php @@ -10,6 +10,7 @@ $defaults = array( class Tests_Get_Archives extends WP_UnitTestCase { protected static $post_ids; protected $month_url; + protected $year_url; function setUp() { parent::setUp();