root/trunk/wp-commentsrss2.php
| Revision 1328, 0.6 kB (checked in by donncha, 3 months ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | <?php |
| 2 | /** |
| 3 | * Outputs the RSS2 XML format comment feed using the feed-rss2.php file in |
| 4 | * wp-includes folder. This file only sets the feed format and includes the |
| 5 | * feed-rss2-comments.php. |
| 6 | * |
| 7 | * This file is no longer used in WordPress and while it is not deprecated now. |
| 8 | * This file will most likely be deprecated or removed in a later version. |
| 9 | * |
| 10 | * The link for the rss2 comment feed is /index.php?feed=rss2&withcomments=1 |
| 11 | * with permalinks off. |
| 12 | * |
| 13 | * @package WordPress |
| 14 | */ |
| 15 | |
| 16 | if (empty($wp)) { |
| 17 | require_once('./wp-load.php'); |
| 18 | wp('feed=rss2&withcomments=1'); |
| 19 | } |
| 20 | |
| 21 | require (ABSPATH . WPINC . '/feed-rss2-comments.php'); |
| 22 | |
| 23 | ?> |
| 24 |
Note: See TracBrowser for help on using the browser.
