Make WordPress Core


Ignore:
Timestamp:
01/23/2006 11:39:56 PM (19 years ago)
Author:
ryan
Message:

is_preview() fixes from David House. fixes #2188

File:
1 edited

Legend:

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

    r3428 r3473  
    8181    <div id='preview' class='wrap'>
    8282    <h2 id="preview-post"><?php _e('Post Preview (updated when post is saved)'); ?> <small class="quickjump"><a href="#write-post"><?php _e('edit &uarr;'); ?></a></small></h2>
    83         <iframe src="<?php the_permalink(); ?>" width="100%" height="600" ></iframe>
     83        <iframe src="<?php echo add_query_arg('preview', 'true', get_permalink($post->ID)); ?>" width="100%" height="600" ></iframe>
    8484    </div>
    8585    <?php
Note: See TracChangeset for help on using the changeset viewer.