chore: uuid string guard in revoke, docblock placement, stricter schedule warning test
This commit is contained in:
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user