[wp-trac] [WordPress Trac] #23302: Feeds or Feed - add_permastruct missunderstanding.

WordPress Trac noreply at wordpress.org
Sun Jan 27 16:00:59 UTC 2013


#23302: Feeds or Feed - add_permastruct missunderstanding.
-----------------------------+--------------------------
 Reporter:  butuzov          |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Permalinks
  Version:  3.5.1            |   Severity:  normal
 Keywords:  has-patch        |
-----------------------------+--------------------------
 In case of register_post_type you "can" specify to add feeds to permalink
 structure or not. You actualy
 [http://codex.wordpress.org/Function_Reference/register_post_type 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23302>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list