[wp-trac] [WordPress Trac] #39367: Don't no-op $user_id in test suite's wp_set_auth_cookie()

WordPress Trac noreply at wordpress.org
Fri Dec 23 19:22:47 UTC 2016


#39367: Don't no-op $user_id in test suite's wp_set_auth_cookie()
------------------------------+------------------
 Reporter:  danielbachhuber   |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  4.8
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+------------------
Changes (by johnbillion):

 * keywords:  has-patch => needs-patch


Comment:

 Overriding this function in the test suite is asking for trouble. The
 pluggable function should be refactored to make it testable.

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


More information about the wp-trac mailing list