From b46c6f5b6c2e80f5508122170604b66ae27ff628 Mon Sep 17 00:00:00 2001 From: Harold Kyle Date: Wed, 18 Mar 2015 11:27:31 -0400 Subject: [PATCH 1/2] fixing href of settings link --- wp-ffpc-class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-ffpc-class.php b/wp-ffpc-class.php index eee1ca4..f63176c 100644 --- a/wp-ffpc-class.php +++ b/wp-ffpc-class.php @@ -221,7 +221,7 @@ class WP_FFPC extends PluginAbstract { /* look for global settings array */ if ( ! $this->global_saved ) - $this->errors['no_global_saved'] = sprintf( __('This site was reached as %s ( according to PHP HTTP_HOST ) and there are no settings present for this domain in the WP-FFPC configuration yet. Please save the WP-FFPC settings for the domain or fix the webserver configuration!', $this->plugin_constant), $_SERVER['HTTP_HOST'], $settings_link); + $this->errors['no_global_saved'] = sprintf( __('This site was reached as %s ( according to PHP HTTP_HOST ) and there are no settings present for this domain in the WP-FFPC configuration yet. Please save the %s for the domain or fix the webserver configuration!', $this->plugin_constant), $_SERVER['HTTP_HOST'], $settings_link); /* look for writable acache file */ if ( file_exists ( $this->acache ) && ! is_writable ( $this->acache ) ) -- 2.46.2 From 083dee8e54ee575bd0f9db71367378c983f571ff Mon Sep 17 00:00:00 2001 From: Harold Kyle Date: Wed, 18 Mar 2015 11:31:33 -0400 Subject: [PATCH 2/2] another malformed setting link --- wp-ffpc-class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-ffpc-class.php b/wp-ffpc-class.php index f63176c..682bf5a 100644 --- a/wp-ffpc-class.php +++ b/wp-ffpc-class.php @@ -229,7 +229,7 @@ class WP_FFPC extends PluginAbstract { /* look for acache file */ if ( ! file_exists ( $this->acache ) ) - $this->errors['no_acache_saved'] = sprintf (__('Advanced cache file is yet to be generated, please save WP-FFPC settings!', $this->plugin_constant), $settings_link ); + $this->errors['no_acache_saved'] = sprintf (__('Advanced cache file is yet to be generated, please save %s', $this->plugin_constant), $settings_link ); /* look for extensions that should be available */ foreach ( $this->valid_cache_type as $backend => $status ) { -- 2.46.2