[wp-trac] [WordPress Trac] #59601: Infinte loop in Spy_REST_Server

WordPress Trac noreply at wordpress.org
Wed Oct 11 19:07:06 UTC 2023


#59601: Infinte loop in Spy_REST_Server
------------------------------+-----------------------------
 Reporter:  xknown            |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 The `Spy_REST_Server` class is used to mock the REST API related unit
 tests. If for some random reason an undefined method is used on the
 `rest_get_server()` object (i.e. `rest_get_server()->does_not_exist()`),
 this results in a OOM error when running the WP unit tests.

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


More information about the wp-trac mailing list