Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#12283 closed defect (bug) (fixed)

Tests do warnings on unset variables

Reported by: hakre's profile hakre Owned by: westi's profile westi
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Warnings/Notices Keywords: has-patch
Focuses: Cc:

Description

Just a small warning / unset variable. Experienced that in running tests.

Attachments (5)

12283.patch (635 bytes) - added by hakre 15 years ago.
12283.2.patch (1.2 KB) - added by hakre 15 years ago.
Second patch incl. some $_SERVER defaults in case those are not set (some environments do not set them)
12283.3.patch (1.1 KB) - added by hakre 15 years ago.
12283.4.patch (476 bytes) - added by hakre 15 years ago.
theme.php only
12283.testsuite.patch (568 bytes) - added by hakre 15 years ago.
Patch for the testuite / wp-test.php

Download all attachments as: .zip

Change History (12)

@hakre
15 years ago

@hakre
15 years ago

Second patch incl. some $_SERVER defaults in case those are not set (some environments do not set them)

#1 @hakre
15 years ago

  • Summary changed from get_theme_root warns to Tests do warnings on unset variables

Changed the title to better reflect the case. Related: My Testrun/TODO.

#2 @nacin
15 years ago

The wp-settings.php should be moved into wp_fix_server_vars(). Is this ready to go in, or is this a catch-all ticket?

@hakre
15 years ago

#3 @hakre
15 years ago

wp-settings.php moved into wp_fix_server_vars(). This is ready to go on then.

@hakre
15 years ago

theme.php only

#4 @nacin
15 years ago

(In [13225]) Fix potential notice. props hakre, see #12283

#5 @hakre
15 years ago

I put the leftover changes into wp-test.php now, so this is in here for westi.

@hakre
15 years ago

Patch for the testuite / wp-test.php

#7 @nacin
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.