Skip to content

Commit

Permalink
Updating inline docs; see: wpsharks/comet-cache#781
Browse files Browse the repository at this point in the history
  • Loading branch information
renzms committed Jun 4, 2016
1 parent 263f884 commit 8865257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/includes/classes/MenuPageOptions.php
Expand Up @@ -434,7 +434,7 @@ public function __construct()
echo ' <hr />'."\n";
echo ' <h3 class="'.(!IS_PRO ? 'pro-preview-feature' : '').'">'.__('Misc. Auto-Clear Options', SLUG_TD).'</h3>'."\n";
echo '<h4 style="margin-bottom:0;">'.__('Auto-Clear a List of Custom URLs Too?', SLUG_TD).'</h4>'."\n";
echo '<p style="margin-top:2px;">'.sprintf(__('When you update a Post/Page, approve a Comment, or make other changes where %1$s can detect that a Post/Page cache should be cleared to keep your site up-to-date; then %1$s will also clear a list of custom URLs that you list here. <strong>Please list one URL per line.</strong> For <strong>individual specific URLs</strong> to a post/page, if you wish to clear the cache for a specifc scheme(e.g., to only clear the <code>https://</code> cache or to only clear the cache for a particular domain that you are using) you can use the full URL including domain name and <code>http://</code> or <code>https://</code>. A wildcard <code>*</code> character can also be used when necessary; e.g., <code>*/category/abc-followed-by-*</code> works without needing to enter the full URL (where <code>*</code> = 0 or more characters that are NOT a slash <code>/</code>). Other special characters include: <code>**</code> = 0 or more characters of any kind, including <code>/</code> slashes; <code>^</code> = beginning of the string; <code>$</code> = end of the string. To learn more about this syntax, please see <a href ="http://cometcache.com/r/watered-down-regex-syntax/" target="_blank">this KB article</a>.', SLUG_TD), esc_html(NAME)).'</p>'."\n";
echo '<p style="margin-top:2px;">'.sprintf(__('When you update a Post/Page, approve a Comment, or make other changes where %1$s can detect that a Post/Page cache should be cleared to keep your site up-to-date; then %1$s will also clear a list of custom URLs that you list here. <strong>Please list one URL per line.</strong> For <strong>individual specific URLs</strong> to a post/page, if you wish to clear the cache for a specifc scheme (e.g., to only clear the <code>https://</code> cache or to only clear the cache for a particular domain that you are using) you can use the full URL including domain name and <code>http://</code> or <code>https://</code>. Relative links for specific URLs should not be used; e.g., <code>/name-of-post</code>. A wildcard <code>*</code> character can also be used when necessary; e.g., <code>https://example.com/category/abc-followed-by-*</code>, (where <code>*</code> = 0 or more characters that are NOT a slash <code>/</code>). Other special characters include: <code>**</code> = 0 or more characters of any kind, including <code>/</code> slashes; <code>^</code> = beginning of the string; <code>$</code> = end of the string. To learn more about this syntax, please see <a href ="http://cometcache.com/r/watered-down-regex-syntax/" target="_blank">this KB article</a>.', SLUG_TD), esc_html(NAME)).'</p>'."\n";
echo '<p><textarea name="'.esc_attr(GLOBAL_NS).'[saveOptions][cache_clear_urls]" spellcheck="false" wrap="off" rows="5">'.format_to_edit($this->plugin->options['cache_clear_urls']).'</textarea></p>'."\n";
}
echo ' </div>'."\n";
Expand Down

0 comments on commit 8865257

Please sign in to comment.