WordPress.org

Make WordPress Core

Changeset 9533


Ignore:
Timestamp:
11/05/2008 08:30:26 PM (10 years ago)
Author:
ryan
Message:

Move notices below h2

Location:
trunk/wp-admin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-link-categories.php

    r9526 r9533  
    6363<?php screen_options('link-category') ?>
    6464
     65<div class="wrap nosubsub">
     66<h2><?php echo wp_specialchars( $title ); ?></h2>
     67
    6568<?php if ( isset($_GET['message']) && ( $msg = (int) $_GET['message'] ) ) : ?>
    6669<div id="message" class="updated fade"><p><?php echo $messages[$msg]; ?></p></div>
    6770<?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('message'), $_SERVER['REQUEST_URI']);
    6871endif; ?>
    69 
    70 <div class="wrap nosubsub">
    71 <h2><?php echo wp_specialchars( $title ); ?></h2>
    7272
    7373<form class="search-form" action="" method="get">
  • trunk/wp-admin/edit.php

    r9414 r9533  
    9393<?php screen_options('post') ?>
    9494
     95<div class="wrap">
     96<h2><?php echo wp_specialchars( $title ); ?></h2>
     97
    9598<?php
    9699if ( isset($_GET['posted']) && $_GET['posted'] ) : $_GET['posted'] = (int) $_GET['posted']; ?>
     
    115118</p></div>
    116119<?php } ?>
    117 
    118 <div class="wrap">
    119 <h2><?php echo wp_specialchars( $title ); ?></h2>
    120120
    121121<form id="posts-filter" action="" method="get">
  • trunk/wp-admin/link-manager.php

    r9363 r9533  
    7777<?php screen_options('link') ?>
    7878
     79<div class="wrap nosubsub">
     80<h2><?php echo wp_specialchars( $title ); ?></h2>
     81
    7982<?php
    8083if ( isset($_GET['deleted']) ) {
     
    8689}
    8790?>
    88 
    89 <div class="wrap nosubsub">
    90 <h2><?php echo wp_specialchars( $title ); ?></h2>
    9191
    9292<form class="search-form" action="" method="get">
  • trunk/wp-admin/upload.php

    r9506 r9533  
    164164$messages[3] = __('Error saving media attachment.');
    165165
    166 if ( isset($_GET['message']) && (int) $_GET['message'] )
     166if ( isset($_GET['message']) && (int) $_GET['message'] ) {
    167167    $message = $messages[$_GET['message']];
    168 
     168    $_SERVER['REQUEST_URI'] = remove_query_arg(array('message'), $_SERVER['REQUEST_URI']);
     169}
     170?>
     171
     172<?php do_action('restrict_manage_posts'); ?>
     173
     174<div class="wrap">
     175<h2><?php echo wp_specialchars( $title ); ?></h2>
     176
     177<?php
    169178if ( isset($message) ) { ?>
    170179<div id="message" class="updated fade"><p><?php echo $message; ?></p></div>
    171 <?php $_SERVER['REQUEST_URI'] = remove_query_arg(array('message'), $_SERVER['REQUEST_URI']);
    172 }
    173 ?>
    174 
    175 <?php do_action('restrict_manage_posts'); ?>
    176 
    177 <div class="wrap">
    178 <h2><?php echo wp_specialchars( $title ); ?></h2>
     180<?php
     181}
     182?>
    179183
    180184<ul class="subsubsub">
Note: See TracChangeset for help on using the changeset viewer.