[wp-trac] [WordPress Trac] #50607: Filter non-publicly_queryable from the sitemap
WordPress Trac
noreply at wordpress.org
Tue Jul 7 22:16:38 UTC 2020
#50607: Filter non-publicly_queryable from the sitemap
--------------------------+-----------------------------
Reporter: Cybr | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Sitemaps | Version: trunk
Severity: normal | Keywords: has-patch
Focuses: |
--------------------------+-----------------------------
When a post type or taxonomy has its `publicly_queryable` parameter set to
`false`, the post type's posts or taxonomy's terms are no longer visible,
even when they're `public`.
The attached patch filters those post types and taxonomies from the
sitemap.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50607>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list