diff --git tests/phpunit/includes/testcase.php tests/phpunit/includes/testcase.php
index db3f0b9fb6..619264e3f4 100644
|
|
|
class WP_UnitTestCase extends PHPUnit_Framework_TestCase { |
| 273 | 273 | /** |
| 274 | 274 | * Saves the action and filter-related globals so they can be restored later. |
| 275 | 275 | * |
| 276 | | * Stores $merged_filters, $wp_actions, $wp_current_filter, and $wp_filter |
| | 276 | * Stores $wp_actions, $wp_current_filter, and $wp_filter |
| 277 | 277 | * on a class variable so they can be restored on tearDown() using _restore_hooks(). |
| 278 | 278 | * |
| 279 | | * @global array $merged_filters |
| 280 | 279 | * @global array $wp_actions |
| 281 | 280 | * @global array $wp_current_filter |
| 282 | 281 | * @global array $wp_filter |
| … |
… |
class WP_UnitTestCase extends PHPUnit_Framework_TestCase { |
| 297 | 296 | * Restores the hook-related globals to their state at setUp() |
| 298 | 297 | * so that future tests aren't affected by hooks set during this last test. |
| 299 | 298 | * |
| 300 | | * @global array $merged_filters |
| 301 | 299 | * @global array $wp_actions |
| 302 | 300 | * @global array $wp_current_filter |
| 303 | 301 | * @global array $wp_filter |