Changeset 8625 for trunk/wp-admin/edit-form-advanced.php
- Timestamp:
- 08/12/2008 08:58:00 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r8600 r8625 77 77 <input type="hidden" id="post_type" name="post_type" value="<?php echo $post->post_type ?>" /> 78 78 <input type="hidden" id="original_post_status" name="original_post_status" value="<?php echo $post->post_status ?>" /> 79 <input name="referredby" type="hidden" id="referredby" value="<?php 80 if ( !empty($_REQUEST['popupurl']) ) 81 echo clean_url(stripslashes($_REQUEST['popupurl'])); 82 else if ( strpos( wp_get_referer(), '/wp-admin/' ) === false && $post_ID && url_to_postid(wp_get_referer()) == $post_ID ) 83 echo 'redo'; 84 else 85 echo clean_url(stripslashes(wp_get_referer())); 86 ?>" /> 79 <input name="referredby" type="hidden" id="referredby" value="<?php echo clean_url(stripslashes(wp_get_referer())); ?>" /> 87 80 <?php if ( 'draft' != $post->post_status ) wp_original_referer_field(true, 'previous'); ?> 88 81
Note: See TracChangeset
for help on using the changeset viewer.