[wp-trac] [WordPress Trac] #21219: get_post_type_archive_link in multisite context: struct issue

WordPress Trac noreply at wordpress.org
Sat Feb 14 03:41:01 UTC 2015


#21219: get_post_type_archive_link in multisite context: struct issue
-------------------------------+------------------------
 Reporter:  michelwppi         |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:  wontfix
 Keywords:                     |     Focuses:  multisite
-------------------------------+------------------------
Changes (by jeremyfelt):

 * status:  new => closed
 * focuses:   => multisite
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 I think a custom workaround here is the right solution. Generating rewrite
 rules for a site on `switch_to_blog()` would involve too much overhead,
 though it is appealing. See also #20861, which is very related.

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


More information about the wp-trac mailing list