Changeset 3921
- Timestamp:
- 06/24/2006 09:14:58 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r3907 r3921 165 165 if ( !empty($_REQUEST['popupurl']) ) 166 166 echo wp_specialchars($_REQUEST['popupurl']); 167 else if ( url_to_postid( $_SERVER['HTTP_REFERER']) == $post_ID )167 else if ( url_to_postid(wp_get_referer()) == $post_ID ) 168 168 echo 'redo'; 169 169 else 170 echo wp_specialchars( $_SERVER['HTTP_REFERER']);170 echo wp_specialchars(wp_get_referer()); 171 171 ?>" /></p> 172 172 -
trunk/wp-admin/edit-form.php
r2762 r3921 65 65 echo '<input name="advanced" type="submit" id="advancededit" tabindex="7" value="' . __('Advanced Editing »') . '" />'; 66 66 } ?> 67 <input name="referredby" type="hidden" id="referredby" value="<?php if (isset( $_SERVER['HTTP_REFERER'])) echo urlencode($_SERVER['HTTP_REFERER']); ?>" />67 <input name="referredby" type="hidden" id="referredby" value="<?php if (isset(wp_get_referer())) echo urlencode($_SERVER['HTTP_REFERER']); ?>" /> 68 68 </p> 69 69 -
trunk/wp-pass.php
r2436 r3921 8 8 setcookie('wp-postpass_' . COOKIEHASH, $_POST['post_password'], time() + 864000, COOKIEPATH); 9 9 10 wp_redirect( $_SERVER['HTTP_REFERER']);10 wp_redirect(wp_get_referer()); 11 11 ?>
Note: See TracChangeset
for help on using the changeset viewer.