Changeset 1442964
- Timestamp:
- 06/24/2016 01:36:50 PM (10 years ago)
- Location:
- wp-report-post
- Files:
-
- 4 edited
-
assets/screenshot-1.png (modified) (previous)
-
assets/screenshot-3.png (modified) (previous)
-
assets/screenshot-4.png (modified) (previous)
-
trunk/wp-report-post.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-report-post/trunk/wp-report-post.php
r1442721 r1442964 146 146 if ($this->get_option('use_captcha') == '1') 147 147 { 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'); 149 149 } 150 150 } … … 222 222 ?> 223 223 <p> </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> 225 225 <?php 226 226 } … … 228 228 { 229 229 ?> 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> 231 231 <?php 232 232 }
Note: See TracChangeset
for help on using the changeset viewer.