mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 18:54:29 +00:00
Sitemaps: Correctly enforce maximum number of sitemaps in index.
Before this change, the limit of 50k entries was enforced for the number of providers, not the amount of sitemaps all providers add to the index in total. Props pbiron, swissspidy. Fixes #50666. git-svn-id: https://develop.svn.wordpress.org/trunk@48532 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -162,6 +162,7 @@ require __DIR__ . '/class-wp-rest-test-configurable-controller.php';
|
||||
require __DIR__ . '/class-wp-fake-block-type.php';
|
||||
require __DIR__ . '/class-wp-sitemaps-test-provider.php';
|
||||
require __DIR__ . '/class-wp-sitemaps-empty-test-provider.php';
|
||||
require __DIR__ . '/class-wp-sitemaps-large-test-provider.php';
|
||||
|
||||
/**
|
||||
* A class to handle additional command line arguments passed to the script.
|
||||
|
||||
Reference in New Issue
Block a user