Ticket #34259: 34259.diff
| File 34259.diff, 888 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, $feed, refers to the feed name. Possible values 1164 * include: 'rdf', 'rss', 'rss2', and 'atom'. 1164 1165 * 1165 1166 * @since 2.1.0 1167 * @since 4.4.0 The `$feed` parameter was added. 1166 1168 * 1167 * @param bool $is_comment_feed Whether the feed is a comment feed. 1169 * @param bool $is_comment_feed Whether the feed is a comment feed. 1170 * @param string $feed The feed name. 1168 1171 */ 1169 do_action( $hook, $wp_query->is_comment_feed );1172 do_action( "do_feed_{$feed}", $wp_query->is_comment_feed, $feed ); 1170 1173 } 1171 1174 1172 1175 /**