Ticket #32399: 32399.patch
File 32399.patch, 824 bytes (added by , 9 years ago) |
---|
-
wp-admin/edit.php
280 280 ?> 281 281 <div class="wrap"> 282 282 <h2><?php 283 if ( ! empty( $_REQUEST['post_status'] ) ) { 284 $status = get_post_status_object( $_REQUEST['post_status'] ); 285 echo esc_html( $status->label ) . ' '; 286 } 287 283 288 echo esc_html( $post_type_object->labels->name ); 289 290 if ( ! empty( $_REQUEST['paged'] ) ) { 291 printf( ' <span class="subtitle current-page">' . __( '(page %d)' ) . '</span>', $pagenum ); 292 } 293 284 294 if ( current_user_can( $post_type_object->cap->create_posts ) ) 285 295 echo ' <a href="' . esc_url( admin_url( $post_new_file ) ) . '" class="add-new-h2">' . esc_html( $post_type_object->labels->add_new ) . '</a>'; 286 296 if ( ! empty( $_REQUEST['s'] ) )