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

WordPress Trac noreply at wordpress.org
Sat May 21 00:51:57 UTC 2016


#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
----------------------------------------------+----------------------------

Comment (by thomaswm):

 Replying to [comment:4 flixos90]:
 > We could make a `WP_Site_Query` to get the site and then use the
 `original` URL scheme to return the original scheme.

 As jeremyfelt said, the function is only used in `wp-signup.php` to
 display the text
  'The site you were looking for, %s, does not exist, but you can create it
 now!'

 As the site does not exist yet, its scheme cannot be determined by
 querying the database for its home URL or site URL. Therefore, this ticket
 might be a ''wontfix''.

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


More information about the wp-trac mailing list