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

WordPress Trac noreply at wordpress.org
Mon Jan 4 22:35:05 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 dev-        |     Focuses:
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by swissspidy):

 I tend to think `get_post_type_archive_link()` should just work for posts
 too, being in line with other post types and therefore making #35306 a
 duplicate of this ticket.

 At least `get_blog_url()` (or whatever it is called) should just be a
 wrapper for that.

 Minor nitpicking: `$this->assertSame( $actual, $expected );` should be
 `$this->assertSame( $expected, $actual );`

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


More information about the wp-trac mailing list