WordPress/wp-rss.php

10 lines
127 B
PHP

<?php
if (empty($wp)) {
require_once('./wp-config.php');
wp('feed=rss');
}
require (ABSPATH . WPINC . '/feed-rss.php');
?>