Make WordPress Core

Changeset 3726


Ignore:
Timestamp:
04/19/2006 09:13:47 AM (18 years ago)
Author:
matt
Message:

Show message on publish rather than sitting dumbly. Link to site like we do for posts

File:
1 edited

Legend:

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

    r3566 r3726  
    77?>
    88
    9 <?php if ( isset($_GET['saved']) ) : ?>
    10 <div id="message" class="updated fade"><p><strong><?php _e('Page saved.') ?> <a href="edit-pages.php"><?php _e('Manage pages &raquo;'); ?></a></strong></p></div>
     9<?php if ( isset($_GET['saved']) || isset($_GET['posted'])  ) : ?>
     10<div id="message" class="updated fade"><p><strong><?php _e('Page saved.') ?> <a href="edit-pages.php"><?php _e('Manage pages'); ?></a> | <a href="<?php echo get_bloginfo('home') . '/'; ?>"><?php _e('View site') ; ?> &raquo;</a></strong></p></div>
    1111<?php endif; ?>
    1212
Note: See TracChangeset for help on using the changeset viewer.