[wp-trac] [WordPress Trac] #19902: blog_url() and get_blog_url() template tags

WordPress Trac noreply at wordpress.org
Mon Jan 4 21:06:22 UTC 2016


#19902: blog_url() and get_blog_url() template tags
--------------------------------------+------------------------
 Reporter:  johnjamesjacoby           |       Owner:  chriscct7
     Type:  feature request           |      Status:  assigned
 Priority:  normal                    |   Milestone:  4.5
Component:  Permalinks                |     Version:  3.3.1
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------
Changes (by ericlewis):

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


Comment:

 In attachment:19902.2.diff,

 * Removing `the_blog_url()` for the moment, which echoes the URL. Do we
 want this? `get_site_url()` and `get_home_url()` don't have echoing
 equivalents.
 * Added two unit tests.
 * Fixed up docs.

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


More information about the wp-trac mailing list