wp/wp-includes/sitemaps/providers/class-wp-sitemaps-users.php
changeset 21 48c4eec2b7e6
parent 19 3d72ae0968f4
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
   134 			array(
   134 			array(
   135 				'public' => true,
   135 				'public' => true,
   136 			)
   136 			)
   137 		);
   137 		);
   138 
   138 
   139 		// We're not supporting sitemaps for author pages for attachments.
   139 		// We're not supporting sitemaps for author pages for attachments and pages.
   140 		unset( $public_post_types['attachment'] );
   140 		unset( $public_post_types['attachment'] );
       
   141 		unset( $public_post_types['page'] );
   141 
   142 
   142 		/**
   143 		/**
   143 		 * Filters the query arguments for authors with public posts.
   144 		 * Filters the query arguments for authors with public posts.
   144 		 *
   145 		 *
   145 		 * Allows modification of the authors query arguments before querying.
   146 		 * Allows modification of the authors query arguments before querying.