Wordpress/tests/phpunit/includes
Pascal Birchler b58973554d Sitemaps: Add XML sitemaps functionality to WordPress.
While web crawlers are able to discover pages from links within the site and from other sites, XML sitemaps supplement this approach by allowing crawlers to quickly and comprehensively identify all URLs included in the sitemap and learn other signals about those URLs using the associated metadata.

See https://make.wordpress.org/core/2020/06/10/merge-announcement-extensible-core-sitemaps/ for more details.

This feature exposes the sitemap index via `/wp-sitemap.xml` and exposes a variety of new filters and hooks for developers to modify the behavior. Users can disable sitemaps completely by turning off search engine visibility in WordPress admin.

This change also introduces a new `esc_xml()` function to escape strings for output in XML, as well as XML support to `wp_kses_normalize_entities()`.

Props Adrian McShane, afragen, adamsilverstein, casiepa, flixos90, garrett-eclipse, joemcgill, kburgoine, kraftbj, milana_cap, pacifika, pbiron, pfefferle, Ruxandra Gradina, swissspidy, szepeviktor, tangrufus, tweetythierry.
Fixes #50117.
See #3670. See #19998.


git-svn-id: https://develop.svn.wordpress.org/trunk@48072 602fd350-edb4-49c9-b593-d223f7449a82
2020-06-17 15:22:49 +00:00
..
factory
phpunit6
phpunit7
abstract-testcase.php
bootstrap.php Sitemaps: Add XML sitemaps functionality to WordPress. 2020-06-17 15:22:49 +00:00
class-basic-object.php
class-basic-subclass.php
class-jsonserializable-object.php
class-wp-fake-block-type.php
class-wp-rest-test-configurable-controller.php
class-wp-rest-test-search-handler.php
class-wp-sitemaps-empty-test-provider.php Sitemaps: Add XML sitemaps functionality to WordPress. 2020-06-17 15:22:49 +00:00
class-wp-sitemaps-test-provider.php Sitemaps: Add XML sitemaps functionality to WordPress. 2020-06-17 15:22:49 +00:00
exceptions.php
factory.php
functions.php
install.php
listener-loader.php
mock-fs.php
mock-image-editor.php
mock-mailer.php
normalize-xml.xsl Sitemaps: Add XML sitemaps functionality to WordPress. 2020-06-17 15:22:49 +00:00
object-cache.php
plural-form-function.php
speed-trap-listener.php
spy-rest-server.php
testcase-ajax.php
testcase-canonical.php
testcase-rest-api.php
testcase-rest-controller.php
testcase-rest-post-type-controller.php
testcase-xml.php Sitemaps: Add XML sitemaps functionality to WordPress. 2020-06-17 15:22:49 +00:00
testcase-xmlrpc.php
testcase.php
trac.php
utils.php
wp-profiler.php