wp_cache_edit_rejected() WPSCache 1.0
No Hooks.
Return
Null. Nothing.
Usage
wp_cache_edit_rejected();
Code of wp_cache_edit_rejected() wp cache edit rejected WPSCache 1.7.1
function wp_cache_edit_rejected() {
global $cache_rejected_uri;
$admin_url = admin_url( 'options-general.php?page=wpsupercache' );
wp_cache_update_rejected_strings();
echo '<a name="rejecturi"></a>';
echo '<form name="wp_edit_rejected" action="' . esc_url_raw( add_query_arg( 'tab', 'settings', $admin_url ) . '#rejecturi' ) . '" method="post">';
echo "<p>" . __( 'Add here strings (not a filename) that forces a page not to be cached. For example, if your URLs include year and you dont want to cache last year posts, it’s enough to specify the year, i.e. ’/2004/’. WP-Cache will search if that string is part of the URI and if so, it will not cache that page.', 'wp-super-cache' ) . "</p>\n";
echo '<textarea name="wp_rejected_uri" cols="40" rows="4" style="width: 50%; font-size: 12px;" class="code">';
foreach ($cache_rejected_uri as $file) {
echo esc_html( $file ) . "\n";
}
echo '</textarea> ';
echo '<div class="submit"><input class="button-primary" type="submit" ' . SUBMITDISABLED . 'value="' . __( 'Save Strings', 'wp-super-cache' ) . '" /></div>';
wp_nonce_field('wp-cache');
echo "</form>\n";
}