Make WordPress Core


Ignore:
Timestamp:
11/15/2008 07:27:48 AM (17 years ago)
Author:
azaozz
Message:

Fix position of the confirmation message in QuickPress, fixes #8218

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/dashboard.php

    r9699 r9709  
    290290        $edit = clean_url( get_edit_post_link( $_POST['post_ID'] ) );
    291291        if ( 'post-quickpress-publish' == $_POST['action'] ) {
    292             printf( __( 'Post Published. <a href="%s">View post</a> | <a href="%s">Edit post</a>' ), clean_url( $view ), $edit );
     292            printf( '<div class="message"><p>' . __( 'Post Published. <a href="%s">View post</a> | <a href="%s">Edit post</a>' ) . '</p></div>', clean_url( $view ), $edit );
    293293        } else {
    294             printf( __( 'Draft Saved. <a href="%s">Preview post</a> | <a href="%s">Edit post</a>' ), clean_url( add_query_arg( 'preview', 1, $view ) ), $edit );
     294            printf( '<div class="message"><p>' . __( 'Draft Saved. <a href="%s">Preview post</a> | <a href="%s">Edit post</a>' ) . '</p></div>', clean_url( add_query_arg( 'preview', 1, $view ) ), $edit );
    295295            $drafts_query = new WP_Query( array(
    296296                'post_type' => 'post',
Note: See TracChangeset for help on using the changeset viewer.