Make WordPress Core


Ignore:
Timestamp:
10/04/2006 01:16:07 PM (18 years ago)
Author:
markjaquith
Message:

Publishing of blank pages or posts now kicks you back to the appropriate Write screen without an errant message. Props majelbstoat. fixes #3198

File:
1 edited

Legend:

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

    r4317 r4338  
    2020}
    2121
    22 if ( isset($_GET['posted']) ) : ?>
     22if ( isset($_GET['posted']) && $_GET['posted'] ) : ?>
    2323<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>
    2424<?php
Note: See TracChangeset for help on using the changeset viewer.