diff --git a/wp-admin/categories.php b/wp-admin/categories.php index 091c580173..2d30360edf 100644 --- a/wp-admin/categories.php +++ b/wp-admin/categories.php @@ -117,17 +117,8 @@ $messages[2] = __('Category deleted.'); $messages[3] = __('Category updated.'); $messages[4] = __('Category not added.'); $messages[5] = __('Category not updated.'); -?> -
- -
- - +if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?>

diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index e582bd0127..cd368ea82c 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -67,17 +67,7 @@ $comment_status = isset($_GET['comment_status']) ? attribute_escape($_GET['comme $search_dirty = ( isset($_GET['s']) ) ? $_GET['s'] : ''; $search = attribute_escape( $search_dirty ); -?> -
- -
- - -
- -
- -

- -
- -
- - +if ( isset($_GET['upd']) && (int) $_GET['upd'] ) { ?>

-

- -
- - +if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?>

diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 0583782847..e507392333 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -89,17 +89,8 @@ if ( empty($_GET['mode']) ) $mode = 'list'; else $mode = attribute_escape($_GET['mode']); -?> -
-

- - - -

-
- - +if ( isset($_GET['posted']) && $_GET['posted'] ) : $_GET['posted'] = (int) $_GET['posted']; ?>

|

diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php index 7c5fe9c80b..65a9f73ee9 100644 --- a/wp-admin/link-manager.php +++ b/wp-admin/link-manager.php @@ -72,17 +72,7 @@ switch ($order_by) { $sqlorderby = 'name'; break; } -?> -
- -
- -

'; $deleted = (int) $_GET['deleted']; diff --git a/wp-admin/menu-header.php b/wp-admin/menu-header.php index bb784eccf5..a5d7df3bcb 100644 --- a/wp-admin/menu-header.php +++ b/wp-admin/menu-header.php @@ -123,8 +123,8 @@ do_action( 'adminmenu' );

  • diff --git a/wp-admin/upload.php b/wp-admin/upload.php index 6f10c6704a..f694ffa6d9 100644 --- a/wp-admin/upload.php +++ b/wp-admin/upload.php @@ -137,14 +137,6 @@ if ( is_singular() ) { require_once('admin-header.php'); ?> -
    - -
    -