[wp-trac] [WordPress Trac] #54887: Enhancement when filter returns an empty url

WordPress Trac noreply at wordpress.org
Sun Jan 23 16:58:18 UTC 2022


#54887: Enhancement when filter returns an empty url
--------------------------------+------------------------------
 Reporter:  kybernetikservices  |       Owner:  (none)
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Sitemaps            |     Version:  5.8.3
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:
--------------------------------+------------------------------

Comment (by swissspidy):

 This filter is not meant for removing URLs.

 You should modify the query args to do so, see
 https://make.wordpress.org/core/2020/07/22/new-xml-sitemaps-functionality-
 in-wordpress-5-5/

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


More information about the wp-trac mailing list