Make WordPress Core

Changeset 30001


Ignore:
Timestamp:
10/24/2014 12:58:35 AM (10 years ago)
Author:
boonebgorges
Message:

Set current user to 0 after each unit test.

This prevents $current_user, $userdata, and other user-related globals from
being polluted if a previous test does not properly reset the current user.

Props nacin, mnelson4.
Fixes #29712.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.