mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Media library: Unify headers between view modes.
Includes back compat for `views_upload` links. These look a little awkward, but do not appear to be commonly used. Also prevents the view mode links from being dropped on smaller screens so a user doesn't get "stuck" in the list view. This is different from other list tables, but aligns well with other uploaded content management screens (themes, plugins). props pento, helen. fixes #28946. git-svn-id: https://develop.svn.wordpress.org/trunk@29625 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -265,11 +265,9 @@ if ( !empty($message) ) { ?>
|
||||
<div id="message" class="updated"><p><?php echo $message; ?></p></div>
|
||||
<?php } ?>
|
||||
|
||||
<?php $wp_list_table->views(); ?>
|
||||
|
||||
<form id="posts-filter" action="" method="get">
|
||||
|
||||
<?php $wp_list_table->search_box( __( 'Search Media' ), 'media' ); ?>
|
||||
<?php $wp_list_table->views(); ?>
|
||||
|
||||
<?php $wp_list_table->display(); ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user