[wp-trac] [WordPress Trac] #28986: Define expected hooks in WP_UnitTestCase::$hooks_saved

WordPress Trac noreply at wordpress.org
Tue Jul 22 17:21:43 UTC 2014


#28986: Define expected hooks in WP_UnitTestCase::$hooks_saved
------------------------------+-----------------------------
 Reporter:  danielbachhuber   |       Owner:  wonderboymusic
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.0
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"29267"]:
 {{{
 #!CommitTicketReference repository="" revision="29267"
 After [29251], set the array keys in `WP_UnitTestCase::$hooks_saved` to
 prevent notices in 3rd party use cases.

 Props danielbachhuber.
 Fixes #28986.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28986#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list