You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the same problem, I will try to apply this fix, thank you very much @Christian-Roth!
When I run backup manually, there is only one backup archive, but when triggered by cron, then there are each backup archive for each site (only one of them is working and without problems).
My WP Multisite creates multiple backups since the following change:
a4fb0a2#diff-29b55d7c830b04ca5f3b553cfcd9f78a
And as far as I can see it: is_main_network() is always true for every site of my multisite. And so the backup cron is executed by every subpage.
This should work:
if ( ! is_main_site() || ( ! is_main_network() && ! is_main_site() ) ) { return; }
Or:
if ( ! is_main_network() ) { return; }
if ( ! is_main_site() ) { return; }
The text was updated successfully, but these errors were encountered: