[wp-trac] [WordPress Trac] #50571: Homepage missing in the sitemap

WordPress Trac noreply at wordpress.org
Tue Jul 14 12:24:17 UTC 2020


#50571: Homepage missing in the sitemap
--------------------------------------+-------------------------
 Reporter:  Chouby                    |       Owner:  swissspidy
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.5
Component:  Sitemaps                  |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-------------------------
Changes (by swissspidy):

 * owner:  (none) => swissspidy
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48476" 48476]:
 {{{
 #!CommitTicketReference repository="" revision="48476"
 Sitemaps: Ensure entry for ‘page’ post type sitemap in index.

 If there are no pages and no static homepage, there will still be one
 sitemap including the homepage URL.

 This change ensures that this sitemap is correctly listed in the sitemap
 index.

 Props Chouby, pacifika, elrae.
 Fixes #50571.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50571#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list