Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20431, comment 1


Ignore:
Timestamp:
04/12/2012 08:01:52 PM (13 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20431, comment 1

    initial v1  
    1 Since `$wp_rewrite` is set after plugins are loaded, `add_feed()` needs to be hooked to the `init` action.
     1Since `$wp_rewrite` is set after plugins are loaded, the function that calls `add_feed()` needs to be hooked to the `init` action.