Multiple Backups on WP Multisites
Open
@Dinamiko is already working on this.
Since Jan 28, 2019.
need: tests
- Dominant language
- PHP
- Stars
- 95
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
My WP Multisite creates multiple backups since the following change:
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;
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.