minor changes
git-svn-id: http://plugins.svn.wordpress.org/wp-ffpc/trunk@677982 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
3c193b2523
commit
c41f847093
2 changed files with 5 additions and 4 deletions
|
@ -62,6 +62,7 @@ You have to remove the default yum package, named `php-pecl-memcache` and instal
|
||||||
* true WordPress Network support:
|
* true WordPress Network support:
|
||||||
* if enabled network-wide, settings will be the same for every site
|
* if enabled network-wide, settings will be the same for every site
|
||||||
* if enabled only per site settings could vary from site to site and cache could be active or disabled on a per site basis without interfering other sites
|
* if enabled only per site settings could vary from site to site and cache could be active or disabled on a per site basis without interfering other sites
|
||||||
|
* delete options button to help solving problems
|
||||||
|
|
||||||
= 0.5.1 =
|
= 0.5.1 =
|
||||||
*2013.03.07*
|
*2013.03.07*
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
Plugin Name: WP-FFPC
|
Plugin Name: WP-FFPC
|
||||||
Version: 0.5.1
|
Version: 0.6
|
||||||
Plugin URI: http://petermolnar.eu/wordpress/wp-ffpc
|
Plugin URI: http://petermolnar.eu/wordpress/wp-ffpc
|
||||||
Description: Fast Full Page Cache, backend can be memcached or APC
|
Description: Fast Full Page Cache, backend can be memcached or APC
|
||||||
Author: Peter Molnar
|
Author: Peter Molnar
|
||||||
|
@ -66,7 +66,7 @@ define ( 'WP_FFPC_SERVER_SEPARATOR', ':' );
|
||||||
define ( 'WP_FFPC_DONATION_LINK', 'https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XU3DG7LLA76WC' );
|
define ( 'WP_FFPC_DONATION_LINK', 'https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XU3DG7LLA76WC' );
|
||||||
define ( 'WP_FFPC_FILE' , plugin_basename(__FILE__) );
|
define ( 'WP_FFPC_FILE' , plugin_basename(__FILE__) );
|
||||||
define ( 'WP_FFPC_PLUGIN' , 'wp-ffpc/wp-ffpc.php' );
|
define ( 'WP_FFPC_PLUGIN' , 'wp-ffpc/wp-ffpc.php' );
|
||||||
define ( 'WP_FFPC_VERSION' , '0.5' );
|
define ( 'WP_FFPC_VERSION' , '0.6' );
|
||||||
|
|
||||||
if ( ! function_exists( 'is_plugin_active_for_network' ) )
|
if ( ! function_exists( 'is_plugin_active_for_network' ) )
|
||||||
require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
||||||
|
@ -190,7 +190,7 @@ if (!class_exists('WPFFPC')) {
|
||||||
|
|
||||||
header( "Location: ". $this->settingslink ."&saved=true" );
|
header( "Location: ". $this->settingslink ."&saved=true" );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* save parameter updates, if there are any */
|
/* save parameter updates, if there are any */
|
||||||
if ( isset($_POST[WP_FFPC_PARAM . '-delete']) )
|
if ( isset($_POST[WP_FFPC_PARAM . '-delete']) )
|
||||||
{
|
{
|
||||||
|
@ -595,7 +595,7 @@ if (!class_exists('WPFFPC')) {
|
||||||
$this->save_settings( false, true );
|
$this->save_settings( false, true );
|
||||||
//$this->generate_config ( true );
|
//$this->generate_config ( true );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* delete options from database
|
* delete options from database
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue