[wp-trac] [WordPress Trac] #33728: Rewrite endpoints cannot be added to custom taxonomies with public rewrites
WordPress Trac
noreply at wordpress.org
Fri Sep 4 14:42:50 UTC 2015
#33728: Rewrite endpoints cannot be added to custom taxonomies with public rewrites
---------------------------+------------------------------
Reporter: mordauk | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Rewrite Rules | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by mordauk):
Another example to illustrate that this is incorrect.
If a custom taxonomy is registered with `'rewrite' => false`, the rewrite
rule created by `add_rewrite_endpoint()` '''does''' get registered for the
taxonomy, which is rather illogical since the taxonomy doesn't even
support rewrites.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33728#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list