[wp-trac] [WordPress Trac] #21335: add_rewrite_endpoint() malfunction

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 22 05:47:48 UTC 2012


#21335: add_rewrite_endpoint() malfunction
---------------------------+------------------------------
 Reporter:  Fike           |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Rewrite Rules  |     Version:  3.4.1
 Severity:  minor          |  Resolution:
 Keywords:                 |
---------------------------+------------------------------

Comment (by Fike):

 Looks like point 2 is resolved - that's more codex problem than core
 problem.
 Calling $wp_rewrite->flush_rules() after adding new endpoint did the job
 (saving new permalinks in settings didn't). Now i'm completely lost - why
 add_rewrite_endpoint() should be called during each request, while it is
 added once and forever after flush_rules()?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21335#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list