Feeds or Feed - add_permastruct missunderstanding.
|Reported by:||butuzov||Owned by:||nacin|
|Component:||Posts, Post Types||Keywords:||has-patch|
In case of register_post_type you "can" specify to add feeds to permalink structure or not. You actualy can do that by specifing a 'feeds' element to false in rewrite array.
But add_permastruct doesn't accept feeds element of rewrite argument. Its accept 'feed' element which default is true. So in this case its not posible to disable feeds for any post type via register_post_type API.
Change History (10)
- Owner set to nacin
- Resolution set to fixed
- Status changed from new to closed