Changeset 31681 for trunk/src/wp-admin/edit-form-comment.php
- Timestamp:
- 03/09/2015 02:10:36 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-comment.php
r31641 r31681 169 169 do_meta_boxes(null, 'normal', $comment); 170 170 171 $referer = wp_get_referer(); 171 172 ?> 172 173 </div> … … 174 175 <input type="hidden" name="c" value="<?php echo esc_attr($comment->comment_ID) ?>" /> 175 176 <input type="hidden" name="p" value="<?php echo esc_attr($comment->comment_post_ID) ?>" /> 176 <input name="referredby" type="hidden" id="referredby" value="<?php echo esc_url( wp_get_referer() ); ?>" />177 <input name="referredby" type="hidden" id="referredby" value="<?php echo $referer ? esc_url( $referer ) : ''; ?>" /> 177 178 <?php wp_original_referer_field(true, 'previous'); ?> 178 179 <input type="hidden" name="noredir" value="1" />
Note: See TracChangeset
for help on using the changeset viewer.