[wp-trac] [WordPress Trac] #40836: add_rewrite_endpoint() creates sub directories after endpoint

WordPress Trac noreply at wordpress.org
Thu May 25 09:09:08 UTC 2017


#40836: add_rewrite_endpoint() creates sub directories after endpoint
---------------------------+------------------------------
 Reporter:  henry.wright   |       Owner:
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Rewrite Rules  |     Version:
 Severity:  normal         |  Resolution:  invalid
 Keywords:                 |     Focuses:
---------------------------+------------------------------
Changes (by henry.wright):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 After researching this issue some more I see this is how
 {{{add_rewrite_endpoint()}}} is intended to work.

 Anything after my-endpoint/ is matched by the rewrite rule and is
 therefore used in the query string.

 Closing.

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


More information about the wp-trac mailing list