[wp-trac] [WordPress Trac] #51860: wp-sitemap includes empty post entries returned by filters

WordPress Trac noreply at wordpress.org
Tue Nov 24 05:32:50 UTC 2020


#51860: wp-sitemap includes empty post entries returned by filters
--------------------------+------------------------------
 Reporter:  jsmoriss      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Sitemaps      |     Version:  5.5
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by jsmoriss):

 * Attachment "class-wp-sitemaps-posts.php.diff" added.

 Diff to test $sitemap_entry returned by filters and skip empty values
 (false and empty array).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51860>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list