Skip to content

Commit

Permalink
SyndicationDataQueries: remove public access to guid=... query variab…
Browse files Browse the repository at this point in the history
…le. Needed only for internal syndicated-item freshness queries, and public exposure can have unwanted side-effects.
  • Loading branch information
radgeek committed Mar 14, 2024
1 parent 3315157 commit 3bdcfa7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions syndicationdataqueries.class.php
Expand Up @@ -11,8 +11,7 @@ public function __construct () {
}

function init () {
global $wp;
$wp->add_query_var('guid');
// NOOP
}

function parse_query ($q) {
Expand Down

0 comments on commit 3bdcfa7

Please sign in to comment.