|
@@ 79-81 (lines=3) @@
|
| 76 |
|
<h1> |
| 77 |
|
<?php |
| 78 |
|
echo esc_html( $title ); |
| 79 |
|
if ( current_user_can( 'upload_files' ) ) { ?> |
| 80 |
|
<a href="<?php echo admin_url( 'media-new.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'file' ); ?></a><?php |
| 81 |
|
} |
| 82 |
|
?> |
| 83 |
|
</h1> |
| 84 |
|
<div class="error hide-if-js"> |
|
@@ 224-226 (lines=3) @@
|
| 221 |
|
<h1> |
| 222 |
|
<?php |
| 223 |
|
echo esc_html( $title ); |
| 224 |
|
if ( current_user_can( 'upload_files' ) ) { ?> |
| 225 |
|
<a href="<?php echo admin_url( 'media-new.php' ); ?>" class="page-title-action"><?php echo esc_html_x('Add New', 'file'); ?></a><?php |
| 226 |
|
} |
| 227 |
|
if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) { |
| 228 |
|
/* translators: %s: search keywords */ |
| 229 |
|
printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', get_search_query() ); |