| 开发者 | pablodiloreto |
|---|---|
| 更新时间 | 2026年10月9日 05:52 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wpmus_excluded_site_ids (sites the sync never writes to), wpmus_should_sync_user (skip one user on one site), wpmus_replicate_role (which roles the role trigger copies), wpmus_sync_inline_limit, wpmus_sync_batch_size and wpmus_sync_time_limit (how big syncs are split). The source, its tests and the whole list are on GitHub: https://github.com/DiluxOne/diluxone-multisite-user-sync-wordpress
No. A WordPress network has one list of accounts; the plugin adds the same account to more sites, with a role on each.
The site's own default role (Settings › General › New User Default Role on that site), or subscriber when the site's default role does not exist. The role a user holds on another site is never carried over by the new-user and new-site triggers or the manual actions.
No. The plugin remembers who was removed from which site and no trigger adds them back. The manual actions only do so when you tick "Also add back people who were removed from a site". Adding someone back yourself clears the record.
Yes. Leave the three triggers off and run the actions when you want.
Nothing: site administrators do not see the plugin. From a site's dashboard, a super admin can add every network user to that one site.
The three trigger settings and the progress of syncs running in the background, as network options, and the list of sites each person was removed from, as user meta. Nothing else, and nothing leaves your server: the plugin connects to no external service.
The plugin's own data is removed (the settings, any sync still queued with its scheduled event, and the record of removals). Users, roles and memberships stay exactly as they are.
Translations for Spanish (Argentina, Spain, Mexico), Portuguese (Brazil, Portugal), French, German and Italian are written with the plugin and contributed to translate.wordpress.org. WordPress installs a language from there once it is approved; the plugin itself carries no translation files.
wpmus_replicate_role filter), leaves super admins alone and ignores changes that change nothing.wp_initialize_site instead of the deprecated wpmu_new_blog, and the new-user trigger also covers accounts created with wp_insert_user() alone (some registration plugins), once per account.wpmus_excluded_site_ids, wpmus_should_sync_user, wpmus_replicate_role, wpmus_sync_inline_limit, wpmus_sync_batch_size, wpmus_sync_time_limit and wpmus_sync_group_writes.manage_network_options (network forms) or manage_options (site form) on top of the existing nonce check. Previously only nonces were enforced.esc_html, esc_attr, esc_url, or wp_kses with explicit allow-lists.$_GET / $_POST access now goes through wp_unslash + the appropriate sanitize_* (with absint() on blog IDs).add_user_to_blog no longer cascades through set_user_role → on_role_changed → add_user_to_blog, which previously could mass-reset roles across the network.wp_die shown when activated on single-site or below the minimum WP version is now translatable and clearer.WPMUS\ namespace with PSR-4 autoloading. Legacy wpmus_* functions retained as @deprecated 1.5.0 thin wrappers for back-compat.