wp/wp-includes/sitemaps/providers/class-wp-sitemaps-users.php
changeset 21 48c4eec2b7e6
parent 19 3d72ae0968f4
--- a/wp/wp-includes/sitemaps/providers/class-wp-sitemaps-users.php	Thu Sep 29 08:06:27 2022 +0200
+++ b/wp/wp-includes/sitemaps/providers/class-wp-sitemaps-users.php	Fri Sep 05 18:40:08 2025 +0200
@@ -136,8 +136,9 @@
 			)
 		);
 
-		// We're not supporting sitemaps for author pages for attachments.
+		// We're not supporting sitemaps for author pages for attachments and pages.
 		unset( $public_post_types['attachment'] );
+		unset( $public_post_types['page'] );
 
 		/**
 		 * Filters the query arguments for authors with public posts.