diff --git a/php/class-coauthors-guest-authors.php b/php/class-coauthors-guest-authors.php index f59fa2e4..0c6d351c 100644 --- a/php/class-coauthors-guest-authors.php +++ b/php/class-coauthors-guest-authors.php @@ -491,8 +491,7 @@ function view_guest_authors_list() { $count = $coauthors_plus->get_guest_author_post_count( $guest_author ); echo '
'; - echo '

'; - echo '

' . esc_html__( 'Delete Guest Authors', 'co-authors-plus' ) . '

'; + echo '

' . esc_html__( 'Delete Guest Authors', 'co-authors-plus' ) . '

'; echo '

' . esc_html__( 'You have specified this guest author for deletion:', 'co-authors-plus' ) . '

'; echo '

#' . esc_html( $guest_author->ID . ': ' . $guest_author->display_name ) . '

'; // display wording differently per post count @@ -555,20 +554,21 @@ function view_guest_authors_list() { echo ''; echo '
'; } else { - echo '
'; - echo '

'; - echo '

' . esc_html( $this->labels['plural'] ); // @todo caps check for creating a new user - $add_new_link = admin_url( "post-new.php?post_type=$this->post_type" ); - echo '' . esc_html__( 'Add New', 'co-authors-plus' ) . ''; - echo '

'; - $cap_list_table = new CoAuthors_WP_List_Table(); - $cap_list_table->prepare_items(); - echo '
'; - echo ''; - $cap_list_table->display(); - echo '
'; - echo '
'; + ?> +
+

+ post_type}" ) ); ?>" class="page-title-action"> +
+ + prepare_items(); + $cap_list_table->display(); + ?> +
+
+