Ticket #34264: 34264.diff
| File 34264.diff, 707 bytes (added by , 10 years ago) |
|---|
-
src/wp-includes/functions.php
1160 1160 /** 1161 1161 * Fires once the given feed is loaded. 1162 1162 * 1163 * The dynamic hook name, $hook, refers to the feed name. 1163 * The dynamic portion of the hook name, $hook, refers to the feed name. Possible values 1164 * include: 'rdf', 'rss', 'rss2', and 'atom'. 1164 1165 * 1165 1166 * @since 2.1.0 1166 1167 * 1167 1168 * @param bool $is_comment_feed Whether the feed is a comment feed. 1168 1169 */ 1169 do_action( $hook, $wp_query->is_comment_feed );1170 do_action( "do_feed_{$feed}", $wp_query->is_comment_feed ); 1170 1171 } 1171 1172 1172 1173 /**