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

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


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

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47615" 47615]:
 {{{
 #!CommitTicketReference repository="" revision="47615"
 Embeds: Fix incorrect usage of `get_home_url()` in oEmbed tests.

 Switch to `home_url()` for consistency with other tests and to avoid
 confusion.

 Props david.binda.
 Fixes #49988.
 }}}

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


More information about the wp-trac mailing list