[wp-trac] [WordPress Trac] #49988: Incorrect usage of `get_home_url` in PHPUnit tests

WordPress Trac noreply at wordpress.org
Thu Apr 23 18:23:44 UTC 2020


#49988: Incorrect usage of `get_home_url` in PHPUnit tests
--------------------------+---------------------
 Reporter:  david.binda   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.5
Component:  Embeds        |     Version:  4.4
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+---------------------
Changes (by SergeyBiryukov):

 * component:  General => Embeds
 * milestone:  Awaiting Review => 5.5


Comment:

 Thanks for the patch!

 It looks like the intention might have been to use `home_url()` instead.
 Introduced in [34903].

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


More information about the wp-trac mailing list