[wp-trac] [WordPress Trac] #37215: Pass correct params to get_site_by_path

WordPress Trac noreply at wordpress.org
Tue Jun 28 21:16:48 UTC 2016


#37215: Pass correct params to get_site_by_path
--------------------------------+-----------------------------
 Reporter:  spacedmonkey        |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Networks and Sites  |    Version:  trunk
 Severity:  normal              |   Keywords:
  Focuses:  multisite           |
--------------------------------+-----------------------------
 In get_site_by_path it uses the get_sites function to get the a site
 object. However, the params that are passed to the function are incorrect.
 The order param in the case of multiple paths and domains, is correctly
 incorrect and only works by luck of default ordering being the same.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37215>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list