We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9e4e0e commit d386016Copy full SHA for d386016
src/Url/Rewrite.php
@@ -73,7 +73,7 @@ public function sf_add_custom_query_vars( $vars ) {
73
public function sf_parse_request() {
74
global $wp;
75
if ( isset( $wp->query_vars[ self::FEED_QUERY_VAR ] ) ) {
76
- $lang = $wp->query_vars[ self::FEED_LANG_QUERY_VAR ] ?? null;
+ $lang = ! empty( $wp->query_vars[ self::FEED_LANG_QUERY_VAR ] ) ? $wp->query_vars[ self::FEED_LANG_QUERY_VAR ] : null;
77
ShoppingFeedHelper::get_feedbuilder_manager()->render_feed( $lang );
78
}
79
0 commit comments