Make WordPress Core

Opened 3 weeks ago

Last modified 3 weeks ago

#44496 new defect (bug)

Correct documentation of hook back and restore methods in the main test case

Reported by: Frank Klein Owned by:
Milestone: 5.0 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch commit
Focuses: docs Cc:


r38571 modified the way that WordPress handles hooks. As a part of this, the $merged_filters global was removed.

The attached patch updates the method documentation of _backup_hooks() and _restore_hooks() inside of WP_UnitTestCase to reflect this change.

Attachments (1)

44496.patch (1.1 KB) - added by Frank Klein 3 weeks ago.

Download all attachments as: .zip

Change History (2)

@Frank Klein
3 weeks ago

#1 @netweb
3 weeks ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 5.0
Note: See TracTickets for help on using tickets.