We have a few reports that the admin is receiving multiple copies of the admin activity email for each site in their network.
We are investigating this further, but it appears this is an issue and should be fixed in the Add On.
- If a user is running a multisite with 3 unrelated sites all running PMPro, you would want an admin activity emails for each separate site.
- If a user is running a multisite with this Add On (shared DB), the user only wants the admin activity email from the main network site.
@dparker1005 suggests the following code:
function pmpro_multisite_membership_remove_cron_admin_activity_email() { remove_action( 'pmpro_cron_admin_activity_email', 'pmpro_cron_admin_activity_email' ); } add_action( 'pmpro_cron_admin_activity_email', 'pmpro_multisite_membership_remove_cron_admin_activity_email', 9 );
I am also suggesting an improvement to the core plugin so that separate admin emails from separate sites on the network are more clearly labeled. We mark the subject line with the site name BUT nothing in the email is super obvious. We should update core to add their site's name as the first thing in the email.
Hey, SITE TITLE HERE
This issue is related to #13 which addresses how crons are handled in subsites when using this Add On.