summaryrefslogtreecommitdiffstats
path: root/wp-includes
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes')
-rw-r--r--wp-includes/functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/wp-includes/functions.php b/wp-includes/functions.php
index 4ae978a..9155b9b 100644
--- a/wp-includes/functions.php
+++ b/wp-includes/functions.php
@@ -956,6 +956,7 @@ function bool_from_yn($yn) {
}
function do_feed() {
+ global $wp_query;
$feed = get_query_var('feed');
// Remove the pad, if present.