chore: uuid string guard in revoke, docblock placement, stricter schedule warning test

This commit is contained in:
2026-09-26 05:07:35 +02:00
parent 6ed63ec008
commit 50f0f98c8e
5 changed files with 22 additions and 6 deletions
+3 -3
View File
@@ -60,12 +60,12 @@ class MediaUsageFinder
private const EXCLUDED_STATUSES = "'auto-draft', 'trash', 'inherit'";
/**
* @param Closure(): list<string> $mediaMetaKeys Keys of file/image fields (ContentSchema::mediaFieldKeys()).
*/
/** Set by results() when a query of the current collect() run failed. */
private bool $queryFailed = false;
/**
* @param Closure(): list<string> $mediaMetaKeys Keys of file/image fields (ContentSchema::mediaFieldKeys()).
*/
public function __construct(private Closure $mediaMetaKeys, private ?\wpdb $db = null)
{
}