[wp-trac] [WordPress Trac] #41415: Possible typo in unit test?

WordPress Trac noreply at wordpress.org
Mon Jul 24 09:58:57 UTC 2017


#41415: Possible typo in unit test?
--------------------------+------------------
 Reporter:  redrambles    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.9
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------
Changes (by SergeyBiryukov):

 * milestone:  Awaiting Review => 4.9


Comment:

 Good catch! It's a test for `wp_allowed_protocols()`, so the URL is not
 actually used there, only the protocol is, that's why the typo didn't
 cause the test to fail. Introduced in [38685].

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


More information about the wp-trac mailing list