• I’m hoping you can help me with the exclude sites option under Behavior when adding or editing an alert.
    My main site is example.com and my multisite sub-sites are example.com/subsite, example.com/subsite1, example.com/subsite2, etc..
    On my site admin on the checkbox list of sites to exclude I see a list that just has example, example, example, but would rather see something that indicated subsite, subsite1, subsite2. Is there a good way to do that?

    I found the code that displays the sites to exclude on site-alert-admin-manage.php starting at line 271
    `<?PHP
    foreach ($sites as $site) {
    $site_name = explode(“.”, $site->domain)[0];
    $site_id = $site->blog_id;
    if(($action != “” && $action != “add”) && in_array($site_id, $excluded_sites)){
    $checked = ‘checked’;
    }else{
    $checked = ”;
    }
    print “

    • <span class=’name’><input type=’checkbox’ name=’exclude-“.esc_attr($site_name).”‘ data-name='”.esc_attr($site_name).”‘ value='”.esc_attr($site_id).”‘ “.esc_attr($checked).”/> $site_name </span>
    • “;
      }
      ?>

  • The topic ‘Add/Edit Alert -> Behavior -> Exclude Sites’ is closed to new replies.