[wp-trac] [WordPress Trac] #26855: get_blogaddress_by_id used in wp-activate.php limits functionality in MU Domain Mapped Sites

WordPress Trac noreply at wordpress.org
Tue Sep 27 21:35:27 UTC 2016


#26855: get_blogaddress_by_id used in wp-activate.php limits functionality in MU
Domain Mapped Sites
-------------------------------------+-------------------------
 Reporter:  boboudreau               |       Owner:  jeremyfelt
     Type:  enhancement              |      Status:  closed
 Priority:  normal                   |   Milestone:  4.7
Component:  Networks and Sites       |     Version:  3.0
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:  multisite
-------------------------------------+-------------------------
Changes (by jeremyfelt):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"38664"]:
 {{{
 #!CommitTicketReference repository="" revision="38664"
 Multisite: Use `get_home_url()` instead of `get_blogaddress_by_id()` in
 `wp-activate.php`.

 `get_home_url()` is a better fit for the "View your site" link and can be
 properly filtered. This is the last remaining use of
 `get_blogaddress_by_id()` in core.

 Props boboudreau, spacedmonkey.
 Fixes #26855.
 }}}

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


More information about the wp-trac mailing list