| @@ -175,8 +175,9 @@ | ||
| 175 | 175 | require_once dirname( __FILE__ ) . '/recover.php'; |
| 176 | 176 | $bvnonce = wp_create_nonce("bvnonce"); |
| 177 | 177 | $public = WPRAccount::getApiPublicKey($this->settings); |
| 178 | 178 | $secret = WPRRecover::defaultSecret($this->settings); |
| 179 | + $ctag = WPRRecover::connectionTag($this->settings); | |
| 179 | 180 | $server_ip = WPRHelper::getStringParamEscaped('SERVER', 'SERVER_ADDR', 'attr'); |
| 180 | 181 | $tags = "<input type='hidden' name='url' value='".esc_attr($this->siteinfo->wpurl())."'/>\n". |
| 181 | 182 | "<input type='hidden' name='homeurl' value='".esc_attr($this->siteinfo->homeurl())."'/>\n". |
| 182 | 183 | "<input type='hidden' name='siteurl' value='".esc_attr($this->siteinfo->siteurl())."'/>\n". |
| @@ -186,8 +187,9 @@ | ||
| 186 | 187 | "<input type='hidden' name='bvversion' value='".esc_attr($this->bvinfo->version)."'/>\n". |
| 187 | 188 | "<input type='hidden' name='serverip' value='".$server_ip."'/>\n". |
| 188 | 189 | "<input type='hidden' name='abspath' value='".esc_attr(ABSPATH)."'/>\n". |
| 189 | 190 | "<input type='hidden' name='secret' value='".esc_attr($secret)."'/>\n". |
| 191 | + "<input type='hidden' name='bvctag' value='".esc_attr($ctag)."'/>\n". | |
| 190 | 192 | "<input type='hidden' name='public' value='".esc_attr($public)."'/>\n". |
| 191 | 193 | "<input type='hidden' name='bvnonce' value='".esc_attr($bvnonce)."'/>\n"; |
| 192 | 194 | return $tags; |
| 193 | 195 | } |