← All changes
|
includes/integrations/class-multilingual-manager.php
+1
-0
2.1.0
→
2.7.0
View file →
| @@ -670,8 +670,9 @@ | ||
| 670 | 670 | // |
| 671 | 671 | // Measured against WPML 4.9.5: setting suppress_filters => false cut the |
| 672 | 672 | // sitemap down to the active language, and a 'lang' => 'all' argument |
| 673 | 673 | // was ignored outright, so neither is used here. |
| 674 | + // phpcs:ignore WordPressVIPMinimum.Performance.WPQueryParams.SuppressFilters_suppress_filters -- Dropping it narrows the sitemap to the active language under WPML; see the note above. | |
| 674 | 675 | $args['suppress_filters'] = true; |
| 675 | 676 | |
| 676 | 677 | return $args; |
| 677 | 678 | } |