[wp-trac] [WordPress Trac] #44496: Correct documentation of hook back and restore methods in the main test case

WordPress Trac noreply at wordpress.org
Tue Jul 3 09:41:35 UTC 2018


#44496: Correct documentation of hook back and restore methods in the main test
case
------------------------------+-----------------------------
 Reporter:  Frank Klein       |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:  has-patch
  Focuses:  docs              |
------------------------------+-----------------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44496>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list