[wp-trac] [WordPress Trac] #16626: get_post_archive_link() includes /blog/, when it shouldn't
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 24 01:18:42 UTC 2011
#16626: get_post_archive_link() includes /blog/, when it shouldn't
--------------------------+-------------------
Reporter: scribu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.1.1
Component: Post Types | Version: 3.1
Severity: normal | Keywords:
--------------------------+-------------------
0. Have WP MS activated, with subdirectories, not subdomains.
1. Register a custom post type, with has_archive => true.
2. On the main blog, call get_post_archive_link().
The URL will include the /blog/ prefix, which will lead to a 404.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16626>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list