[wp-trac] [WordPress Trac] #35287: get_site_url does not accept path parameter

WordPress Trac noreply at wordpress.org
Sun Jan 3 11:56:56 UTC 2016


#35287: get_site_url does not accept path parameter
--------------------------+----------------------
 Reporter:  WebDevDLo     |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------

Comment (by WebDevDLo):

 Ah, it's the order of parameters. I get it now. What was really throwing
 me off was how site_url() worked without anything specified, but I see now
 in @swissspidy's response that blog_id is automatically passed with null
 in that wrapper function.

 Thank you @dd32 and @swissspidy for the detailed answer!

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


More information about the wp-trac mailing list