-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XML Sitemap - Add filter to disable images in sitemap #1192
Comments
The filter is aioseo_include_images_in_sitemap, just __return_false on it. |
@michaeltorbert I tested PR #1194 and got two errors in the debug log which resulted in a broken sitemap: PHP Warning: Missing argument 2 for apply_filters(), called in /wp-content/plugins/all-in-one-seo-pack-issue-1192/modules/aioseop_sitemap.php on line 2663 and defined in /wp-includes/plugin.php on line 176 PHP Notice: Undefined variable: value in /wp-includes/plugin.php on line 191 |
Fixed. |
As discussed today, we should add a filter so that users can disable the images in XML Sitemap we added in Issue #386.
The text was updated successfully, but these errors were encountered: