Skip to content
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.

Commit

Permalink
Merge pull request #99 from Codeinwp/development
Browse files Browse the repository at this point in the history
Fixed php strict standards error
Update tags
Tested up to WordPress 4.6
  • Loading branch information
rodica-andronache authored Nov 7, 2016
2 parents 888e4ed + 2279903 commit 6c21ff3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions pirate-forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Free & Simple Contact Form Plugin - PirateForms
Plugin URI: http://themeisle.com/plugins/pirate-forms/
Description: Easily creates a nice looking, simple contact form on your WP site.
Version: 1.0.17
Version: 1.0.18
Author: Themeisle
Author URI: http://themeisle.com
Text Domain: pirate-forms
Expand Down Expand Up @@ -586,7 +586,12 @@ function pirate_forms_process_contact() {

/* for the case of a Web server behind a reverse proxy */
if (array_key_exists('HTTP_X_FORWARDED_FOR', $_SERVER)) {
$contact_ip = array_pop(explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']));

$contact_ip_tmp = explode(',', $_SERVER['HTTP_X_FORWARDED_FOR']);
if( !empty( $contact_ip_tmp ) ) {
$contact_ip = array_pop( $contact_ip_tmp );
}

}

// If valid and present, create a link to an IP search
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
=== Simple Contact Form Plugin - PirateForms ===
Contributors: themeisle, codeinwp, rodicaelena, alexandrastan001, gouravwptech, hardeepasrani
Tags: contact form 7,Attachment, cnotact, conact, contact, contact button, contact form, contact form plugin, contact me, contacts, contacts form plugin, contatc, copy, email submit form, email subscription, feedback, feedback form, form, insert the shortcode, message form, post feedback, request, send, send copy, send messages, shortcode, text, web-page feedback,smtp,recaptcha,admin, advanced form, best contact form plugin, contact, contact button, contact form, contact form builder, Contact Form Builder with recaptcha, contact form plugin, contact forms, contact forms plugin, contact manager, contact us, contact us form, contacts form plugin, custom form, feedback, feedback form, feedback forms, form, forms, forms plugin, post feedback, web form, web forms, wordpress contact form
Tags: contact forms plugin, contact form, contact us, contact us form, contacts form plugin, custom form, subscribe form, feedback form, wordpress contact form
Requires at least: 3.0
Tested up to: 4.5.2
Tested up to: 4.6
Stable tag: trunk
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down

0 comments on commit 6c21ff3

Please sign in to comment.