wp-admin/edit-form-advanced.php 1 location
|
@@ 478-479 (lines=2) @@
|
475 |
|
<div class="wrap"> |
476 |
|
<h1><?php |
477 |
|
echo esc_html( $title ); |
478 |
|
if ( isset( $post_new_file ) && current_user_can( $post_type_object->cap->create_posts ) ) |
479 |
|
echo ' <a href="' . esc_url( admin_url( $post_new_file ) ) . '" class="page-title-action">' . esc_html( $post_type_object->labels->add_new ) . '</a>'; |
480 |
|
?></h1> |
481 |
|
<?php if ( $notice ) : ?> |
482 |
|
<div id="notice" class="notice notice-warning"><p id="has-newer-autosave"><?php echo $notice ?></p></div> |
wp-admin/edit.php 1 location
|
@@ 304-305 (lines=2) @@
|
301 |
|
<div class="wrap"> |
302 |
|
<h1><?php |
303 |
|
echo esc_html( $post_type_object->labels->name ); |
304 |
|
if ( current_user_can( $post_type_object->cap->create_posts ) ) |
305 |
|
echo ' <a href="' . esc_url( admin_url( $post_new_file ) ) . '" class="page-title-action">' . esc_html( $post_type_object->labels->add_new ) . '</a>'; |
306 |
|
|
307 |
|
if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) { |
308 |
|
/* translators: %s: search keywords */ |