src/wp-admin/edit-form-advanced.php 1 location
|
@@ 481-482 (lines=2) @@
|
478 |
|
?></h1> |
479 |
|
|
480 |
|
<?php |
481 |
|
if ( isset( $post_new_file ) && current_user_can( $post_type_object->cap->create_posts ) ) { |
482 |
|
echo ' <a href="' . esc_url( admin_url( $post_new_file ) ) . '" class="page-title-action">' . esc_html( $post_type_object->labels->add_new ) . '</a>'; |
483 |
|
} |
484 |
|
?> |
485 |
|
|
src/wp-admin/edit.php 1 location
|
@@ 311-312 (lines=2) @@
|
308 |
|
?></h1> |
309 |
|
|
310 |
|
<?php |
311 |
|
if ( current_user_can( $post_type_object->cap->create_posts ) ) { |
312 |
|
echo ' <a href="' . esc_url( admin_url( $post_new_file ) ) . '" class="page-title-action">' . esc_html( $post_type_object->labels->add_new ) . '</a>'; |
313 |
|
} |
314 |
|
|
315 |
|
if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) { |