Ticket #26601: 26601.upload.patch
| File 26601.upload.patch, 1.6 KB (added by , 9 years ago) |
|---|
-
wp-admin/upload.php
73 73 require_once( ABSPATH . 'wp-admin/admin-header.php' ); 74 74 ?> 75 75 <div class="wrap" id="wp-media-grid" data-search="<?php _admin_search_query() ?>"> 76 <h1 >76 <h1 class="wp-heading-inline"> 77 77 <?php 78 78 echo esc_html( $title ); 79 ?> 80 </h1> 81 <?php 79 82 if ( current_user_can( 'upload_files' ) ) { ?> 80 83 <a href="<?php echo admin_url( 'media-new.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'file' ); ?></a><?php 81 84 } 82 85 ?> 83 < /h1>86 <hr class="wp-header-end"> 84 87 <div class="error hide-if-js"> 85 88 <p><?php printf( 86 89 /* translators: %s: list view URL */ … … 221 224 ?> 222 225 223 226 <div class="wrap"> 224 <h1 >227 <h1 class="wp-heading-inline"> 225 228 <?php 226 229 echo esc_html( $title ); 230 ?> 231 </h1> 232 <?php 227 233 if ( current_user_can( 'upload_files' ) ) { ?> 228 <a href="<?php echo admin_url( 'media-new.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'file'); ?></a><?php234 <a href="<?php echo admin_url( 'media-new.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'file' ); ?></a><?php 229 235 } 230 236 if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) { 231 237 /* translators: %s: search keywords */ … … 232 238 printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', get_search_query() ); 233 239 } 234 240 ?> 235 < /h1>241 <hr class="wp-header-end"> 236 242 243 237 244 <?php 238 245 $message = ''; 239 246 if ( ! empty( $_GET['posted'] ) ) {