WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/19/2018 07:12:46 AM (3 years ago)
Author:
DrewAPicture
Message:

Docs: Remove references to the now-defunct $merged_filters global from two method DocBlocks in WP_UnitTestCase.

The $merged_filters global was removed in [38571].

Props frank-klein.
Fixes #44496.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/testcase.php

    r43005 r44327  
    274274     * Saves the action and filter-related globals so they can be restored later.
    275275     *
    276      * Stores $merged_filters, $wp_actions, $wp_current_filter, and $wp_filter
     276     * Stores $wp_actions, $wp_current_filter, and $wp_filter
    277277     * on a class variable so they can be restored on tearDown() using _restore_hooks().
    278278     *
    279      * @global array $merged_filters
    280279     * @global array $wp_actions
    281280     * @global array $wp_current_filter
     
    298297     * so that future tests aren't affected by hooks set during this last test.
    299298     *
    300      * @global array $merged_filters
    301299     * @global array $wp_actions
    302300     * @global array $wp_current_filter
Note: See TracChangeset for help on using the changeset viewer.