diff --git a/src/wp-includes/rss-functions.php b/src/wp-includes/rss-functions.php index 40749db8bf..370960cecb 100644 --- a/src/wp-includes/rss-functions.php +++ b/src/wp-includes/rss-functions.php @@ -6,5 +6,9 @@ * @deprecated 2.1.0 */ +if ( ! defined( 'ABSPATH' ) ) { + exit(); +} + _deprecated_file( basename( __FILE__ ), '2.1.0', WPINC . '/rss.php' ); require_once ABSPATH . WPINC . '/rss.php';