WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/09/2008 11:21:27 AM (14 years ago)
Author:
matt
Message:

Redirect to edit page with posted blurb as default.

File:
1 edited

Legend:

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

    r6579 r6581  
    2323}
    2424
    25 if ( isset($_GET['posted']) && $_GET['posted'] ) : ?>
     25if ( isset($_GET['posted']) && $_GET['posted'] ) : $_GET['posted'] = (int) $_GET['posted']; ?>
    2626<div id="message" class="updated fade"><p><strong><?php _e('Post saved.'); ?></strong> <a href="<?php echo get_permalink( $_GET['posted'] ); ?>"><?php _e('View post &raquo;'); ?></a></p></div>
    2727<?php
Note: See TracChangeset for help on using the changeset viewer.