[wp-trac] [WordPress Trac] #34504: get_blogaddress_by_name() does not reflect scheme of the blog

WordPress Trac noreply at wordpress.org
Mon Dec 14 03:57:47 UTC 2015


#34504: get_blogaddress_by_name() does not reflect scheme of the blog
----------------------------------------------+----------------------------
 Reporter:  johnbillion                       |       Owner:
     Type:  defect (bug)                      |      Status:  new
 Priority:  normal                            |   Milestone:  Awaiting
Component:  Networks and Sites                |  Review
 Severity:  normal                            |     Version:
 Keywords:  needs-patch has-unit-tests https  |  Resolution:
                                              |     Focuses:  multisite
----------------------------------------------+----------------------------
Changes (by jeremyfelt):

 * keywords:  needs-patch, has-unit-tests, https => needs-patch has-unit-
     tests https


Comment:

 It seems like the only context this is used in is `wp-signup.php` as a way
 to display what a new site's address would be if it was created. In that
 case, using the scheme of `network_home_url()` may still make sense.

 I could also see finding a way to deprecate `get_blogaddress_by_name()`.

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


More information about the wp-trac mailing list