[wp-trac] [WordPress Trac] #20431: add_feed() - Warning

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 12 19:59:36 UTC 2012


#20431: add_feed() - Warning
--------------------------+------------------------------
 Reporter:  pavelevap     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Since `$wp_rewrite` is set after plugins are loaded, `add_feed()` needs to
 be hooked to the `init` action.

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


More information about the wp-trac mailing list