[wp-trac] [WordPress Trac] #31130: WP_INSTALLING causes leakage between unit tests

WordPress Trac noreply at wordpress.org
Fri Sep 25 13:54:04 UTC 2015


#31130: WP_INSTALLING causes leakage between unit tests
------------------------------------+-----------------------------
 Reporter:  boonebgorges            |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  Build/Test Tools        |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+-----------------------------

Comment (by boonebgorges):

 In [changeset:"34540"]:
 {{{
 #!CommitTicketReference repository="" revision="34540"
 Don't run `get_page_of_comment()` cache test on Multisite.

 `get_page_of_comment()` uses `get_option()`, and WP_INSTALLING earlier in
 the
 test suite causes `get_option()` to miss the cache. See #31130.

 See #11334.
 }}}

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


More information about the wp-trac mailing list