Skip to content

Commit

Permalink
Add special Multisite Network note; See: wpsharks/comet-cache#754
Browse files Browse the repository at this point in the history
  • Loading branch information
kristineds committed Jun 8, 2016
1 parent 7bce007 commit 93e48bf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/includes/classes/MenuPageOptions.php
Expand Up @@ -730,8 +730,12 @@ public function __construct()
echo ' <p><textarea name="'.esc_attr(GLOBAL_NS).'[saveOptions][exclude_hosts]" rows="5" spellcheck="false" class="monospace">'.format_to_edit($this->plugin->options['exclude_hosts']).'</textarea></p>'."\n";

echo ' <p class="info">'.__('<strong>Note:</strong> please remember that your entries here should be formatted as a line-delimited list; e.g., one exclusion pattern per line.', SLUG_TD).'</p>'."\n";
echo ' </div>'."\n";

if (is_multisite() && define('SUBDOMAIN_INSTALL', false)) {
echo ' <p class="info">'.__('<strong>Multisite Networks w/ Sub-Directories:</strong> You could also use URI Exclusion Patterns to exclude specific sites from being cached, e.g., <code>/site1/*</code>.', SLUG_TD).'</p>'."\n";
}

echo ' </div>'."\n";
echo '</div>'."\n";
}

Expand Down

0 comments on commit 93e48bf

Please sign in to comment.