v1.8.1
This commit is contained in:
parent
7b7fff5246
commit
b6a55a7f04
27 changed files with 2221 additions and 45 deletions
|
|
@ -159,6 +159,10 @@ class AttachmentIndexer {
|
|||
public static function process_scheduled_batch(): void {
|
||||
self::index_batch();
|
||||
|
||||
if ( is_multisite() && 'central' === get_site_option( 'robotstxt_mediaaudit_network_mode', 'per_site' ) ) {
|
||||
\MediaRightsAudit\Core\NetworkDatabase::sync_site( get_current_blog_id() );
|
||||
}
|
||||
|
||||
if ( self::get_pending_count() > 0 ) {
|
||||
Scheduler::schedule_single( self::AS_HOOK );
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue