[wp-trac] [WordPress Trac] #21219: get_post_type_archive_link in multisite context: struct issue
WordPress Trac
wp-trac at lists.automattic.com
Thu Jul 12 08:50:58 UTC 2012
#21219: get_post_type_archive_link in multisite context: struct issue
--------------------------+------------------------------
Reporter: michelwppi | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Post Types | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by michelwppi):
This issue is the same in '''get_post_permalink''' function (''called by
get_blog_permalink via get_permalink'') which uses the '''global'''
'''$wp_rewrite''' of the caller site and not this of the target site.
today the workaround is to use the filter ''post_type_link''.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21219#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list