Plugin Directory

Changeset 1442964


Ignore:
Timestamp:
06/24/2016 01:36:50 PM (10 years ago)
Author:
esiteq
Message:

Screenshots + small bugfix

Location:
wp-report-post
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wp-report-post/trunk/wp-report-post.php

    r1442721 r1442964  
    146146        if ($this->get_option('use_captcha') == '1')
    147147        {
    148             wp_enqueue_script('recaptcha', $this->proto. '://www.google.com/recaptcha/api.js', array('jquery'));
     148            wp_enqueue_script('recaptcha', $this->proto. '://www.google.com/recaptcha/api.js');
    149149        }
    150150    }
     
    222222?>
    223223            <p>&nbsp;</p>
    224             <h1 class="report-post-ip"><?php echo $this->get_option('text_your_ip'); ?> <?php echo $_SERVER['REMOTE_ADDR']; ?></h1>
     224            <h1 class="report-post-ip"><?php echo $this->get_option('text_your_ip'); ?> <?php echo $this->get_user_ip(); ?></h1>
    225225<?php
    226226    }
     
    228228    {
    229229?>
    230             <p class="report-post-ip"><?php echo $this->get_option('text_your_ip'); ?> <?php echo $_SERVER['REMOTE_ADDR']; ?></p>
     230            <p class="report-post-ip"><?php echo $this->get_option('text_your_ip'); ?> <?php echo $this->get_user_ip(); ?></p>
    231231<?php
    232232    }
Note: See TracChangeset for help on using the changeset viewer.