Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Markus Hermann
wp-polls
Commits
6c5b8679
Unverified
Commit
6c5b8679
authored
May 22, 2018
by
Lester Chan
Browse files
Remove Outdated Translation
parent
d0d0056c
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
6c5b8679
...
...
@@ -17,9 +17,6 @@ WP-Polls is extremely customizable via templates and css styles and there are to
### Development
[
https://github.com/lesterchan/wp-polls
](
https://github.com/lesterchan/wp-polls
"https://github.com/lesterchan/wp-polls"
)
### Translations
[
http://dev.wp-plugins.org/browser/wp-polls/i18n/
](
http://dev.wp-plugins.org/browser/wp-polls/i18n/
"http://dev.wp-plugins.org/browser/wp-polls/i18n/"
)
### Credits
*
Plugin icon by
[
Freepik
](
http://www.freepik.com
)
from
[
Flaticon
](
http://www.flaticon.com
)
...
...
wp-polls.php
View file @
6c5b8679
...
...
@@ -719,7 +719,7 @@ function display_pollresult($poll_id, $user_voted = array(), $display_loading =
### Function: Get IP Address
if
(
!
function_exists
(
'get_ipaddress'
)
)
{
if
(
!
function_exists
(
'get_ipaddress'
)
)
{
function
get_ipaddress
()
{
foreach
(
array
(
'HTTP_CF_CONNECTING_IP'
,
'HTTP_CLIENT_IP'
,
'HTTP_X_FORWARDED_FOR'
,
'HTTP_X_FORWARDED'
,
'HTTP_X_CLUSTER_CLIENT_IP'
,
'HTTP_FORWARDED_FOR'
,
'HTTP_FORWARDED'
,
'REMOTE_ADDR'
)
as
$key
)
{
if
(
array_key_exists
(
$key
,
$_SERVER
)
===
true
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment