diff --git a/plugins/awaitingmoderation.php b/plugins/awaitingmoderation.php index 34b9887516e57..1c0df32bda2e9 100644 --- a/plugins/awaitingmoderation.php +++ b/plugins/awaitingmoderation.php @@ -42,7 +42,7 @@ function wp_supercache_awaitingmoderation_admin() { $status = __( "disabled" ); echo "

" . sprintf( __( "Awaiting Moderation is now %s", 'wp-super-cache' ), $status ) . "

"; } - echo '
'; + echo '
'; wp_nonce_field('wp-cache'); ?> diff --git a/plugins/badbehaviour.php b/plugins/badbehaviour.php index 55119dccb192b..f02ba12f0fe47 100644 --- a/plugins/badbehaviour.php +++ b/plugins/badbehaviour.php @@ -73,7 +73,7 @@ function wp_supercache_badbehaviour_admin() { $status = __( "disabled" ); echo "

" . sprintf( __( "Bad Behavior support is now %s", 'wp-super-cache' ), $status ) . "

"; } - echo '
'; + echo '
'; wp_nonce_field('wp-cache'); ?> diff --git a/plugins/domain-mapping.php b/plugins/domain-mapping.php index 5f56ab7c5e8d0..8abde8e383644 100644 --- a/plugins/domain-mapping.php +++ b/plugins/domain-mapping.php @@ -83,7 +83,7 @@ function wp_supercache_domain_mapping_admin() { $status = __( "disabled" ); echo "

" . sprintf( __( "Domain Mapping support is now %s", 'wp-super-cache' ), $status ) . "

"; } - echo '
'; + echo '
'; wp_nonce_field('wp-cache'); ?> diff --git a/plugins/jetpack.php b/plugins/jetpack.php index 0691a030206ca..c1b73c1ade8da 100644 --- a/plugins/jetpack.php +++ b/plugins/jetpack.php @@ -39,7 +39,7 @@ function wp_super_cache_jetpack_admin() { $status = __( "disabled" ); echo "

" . sprintf( __( "Jetpack Mobile Theme support is now %s", 'wp-super-cache' ), $status ) . "

"; } - echo '
'; + echo '
'; wp_nonce_field('wp-cache'); ?> diff --git a/plugins/searchengine.php b/plugins/searchengine.php index 22fbd3a04a773..ca9ba8df51e7f 100644 --- a/plugins/searchengine.php +++ b/plugins/searchengine.php @@ -77,7 +77,7 @@ function wp_supercache_searchengine_admin() { $status = __( "disabled" ); echo "

" . sprintf( __( "No Adverts for Friends support is now %s", 'wp-super-cache' ), $status ) . "

"; } - echo '
'; + echo '
'; wp_nonce_field('wp-cache'); ?> diff --git a/plugins/wptouch.php b/plugins/wptouch.php index 0f5f6fa59b63e..875f764dd6bf9 100644 --- a/plugins/wptouch.php +++ b/plugins/wptouch.php @@ -30,7 +30,7 @@ function wp_super_cache_wptouch_admin() { $status = __( "disabled" ); echo "

" . sprintf( __( "WPTouch support is now %s", 'wp-super-cache' ), $status ) . "

"; } - echo '
'; + echo '
'; wp_nonce_field('wp-cache'); ?> diff --git a/wp-cache.php b/wp-cache.php index 859925f45251d..8cf5972bcd952 100644 --- a/wp-cache.php +++ b/wp-cache.php @@ -278,7 +278,7 @@ function wp_cache_manager_error_checks() { - ' /> + ' />
@@ -306,7 +306,7 @@ function wp_cache_manager_error_checks() { - ' /> + ' />
@@ -378,7 +378,7 @@ function wp_cache_manager_error_checks() { - ' /> + ' />
" . sprintf( __( "Page last cached: %s", 'wp-super-cache' ), $url ) . "

"; } } - echo '
 '; + echo '
 '; if ( $currently_preloading ) { - echo ' '; + echo ' '; } echo '
'; wp_nonce_field('wp-cache'); @@ -1023,7 +1023,7 @@ function toggleLayer( whichLayer ) { echo "
  • " . sprintf( __( 'Need help? Check the Super Cache readme file. It includes installation documentation, a FAQ and Troubleshooting tips. The support forum is also available. Your question may already have been answered.', 'wp-super-cache' ), 'http://wordpress.org/plugins/wp-super-cache/', 'http://wordpress.org/tags/wp-super-cache?forum_id=10' ) . "
  • "; echo ""; - echo "
    "; + echo "
    "; wp_nonce_field('wp-cache'); ?> " . __( 'Notice: PHP caching enabled but Supercache mod_rewrite rules detected. Cached files will be served using those rules. If your site is working ok please ignore this message or you can edit the .htaccess file in the root of your install and remove the SuperCache rules.', 'wp-super-cache' ) . '

    '; } } - echo "
    "; + echo "
    "; if ( $cache_enabled ) { echo "

    " . __( 'Cache Tester', 'wp-super-cache' ) . "

    "; echo '

    ' . __( 'Test your cached website by clicking the test button below.', 'wp-super-cache' ) . '

    '; @@ -1151,7 +1151,7 @@ function toggleLayer( whichLayer ) { echo ''; if ( isset( $_SERVER['HTTPS' ] ) && 'on' == strtolower( $_SERVER['HTTPS' ] ) ) echo " " . __( 'Send non-secure (non https) request for homepage', 'wp-super-cache' ); - echo '
    '; + echo '
    '; wp_nonce_field('wp-cache'); echo ''; } @@ -1159,14 +1159,14 @@ function toggleLayer( whichLayer ) { echo "

    " . __( "Cached pages are stored on your server as html and PHP files. If you need to delete them use the button below.", 'wp-super-cache' ) . "

    "; echo '
    '; echo ''; - echo '
    '; + echo '
    '; wp_nonce_field('wp-cache'); echo "
    \n"; if ( ( defined( 'VHOST' ) || ( defined( 'WP_ALLOW_MULTISITE' ) && constant( 'WP_ALLOW_MULTISITE' ) == true ) ) && wpsupercache_site_admin() ) { echo '
    '; echo ''; - echo '
    '; + echo '
    '; wp_nonce_field('wp-cache'); echo "
    \n"; } @@ -1382,7 +1382,7 @@ function wp_cache_restore() { echo '

    ' . __( 'Fix Configuration', 'wp-super-cache' ) . '

    '; echo '
    '; echo ''; - echo '
    '; + echo '
    '; wp_nonce_field('wp-cache'); echo "
    \n"; echo '
    '; @@ -1431,7 +1431,7 @@ function wp_lock_down() { $new_lockdown_desc = $wp_lock_down == '1' ? __( 'Disable', 'wp-super-cache' ) : __( 'Enable', 'wp-super-cache' ); echo '
    '; echo ""; - echo "
    "; + echo "
    "; wp_nonce_field('wp-cache'); echo "
    \n"; @@ -1521,7 +1521,7 @@ function wp_lock_down() { continue; $generated = ''; if( is_file( ABSPATH . $page . '/index.html' ) ) - $generated = ''; + $generated = ''; $out .= "$generated"; } if( $out != '' ) { @@ -1540,7 +1540,7 @@ function wp_lock_down() { wp_nonce_field('wp-cache'); if( $readonly != 'READONLY' ) - echo "
    "; + echo "
    "; echo "\n"; ?>"; echo "

    " . __( 'Checking for and deleting expired files is expensive, but it’s expensive leaving them there too. On a very busy site you should set the expiry time to 600 seconds. Experiment with different values and visit this page to see how many expired files remain at different times during the day. If you are using legacy caching aim to have less than 500 cached files if possible. You can have many times more cached files when using mod_rewrite or PHP caching.', 'wp-super-cache' ) . "

    "; echo "

    " . __( 'Set the expiry time to 0 seconds to disable garbage collection.', 'wp-super-cache' ) . "

    "; - echo '
    '; + echo '
    '; wp_nonce_field('wp-cache'); echo "\n"; ?> '; - echo '
    '; + echo '
    '; wp_nonce_field('wp-cache'); echo ''; echo "\n"; @@ -1785,7 +1785,7 @@ function wp_cache_edit_rejected_pages() { echo '
    '; echo '
    '; - echo '
    '; + echo '
    '; wp_nonce_field('wp-cache'); echo "\n"; @@ -1808,7 +1808,7 @@ function wp_cache_edit_rejected() { echo esc_html( $file ) . "\n"; } echo ' '; - echo '
    '; + echo '
    '; wp_nonce_field('wp-cache'); echo "\n"; } @@ -1830,7 +1830,7 @@ function wp_cache_edit_accepted() { echo esc_html($file) . "\n"; } echo ' '; - echo '
    '; + echo '
    '; wp_nonce_field('wp-cache'); echo "\n"; } @@ -1899,7 +1899,7 @@ function wp_cache_debug_settings() { echo "\n"; } - echo '
    '; + echo '
    '; wp_nonce_field('wp-cache'); echo "\n"; echo ''; @@ -2424,19 +2424,19 @@ function wp_cache_delete_buttons() { echo '
    '; echo ''; - echo '
    '; + echo '
    '; wp_nonce_field('wp-cache'); echo "
    \n"; echo '
    '; echo ''; - echo '
    '; + echo '
    '; wp_nonce_field('wp-cache'); echo "
    \n"; if ( ( defined( 'VHOST' ) || ( defined( 'WP_ALLOW_MULTISITE' ) && constant( 'WP_ALLOW_MULTISITE' ) == true ) ) && wpsupercache_site_admin() ) { echo '
    '; echo ''; - echo '
    '; + echo '
    '; wp_nonce_field('wp-cache'); echo "\n"; } @@ -2744,7 +2744,7 @@ function wpsc_update_htaccess_form( $short_form = true ) { if ( !isset( $wpmu_version ) || $wpmu_version == '' ) { echo '
    '; echo ''; - echo '
    '; + echo '
    '; wp_nonce_field('wp-cache'); echo "
    \n"; }