Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 13
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2/**
3 * Template for displaying a message that posts cannot be found.
4 *
5 * @package automattic/jetpack-mu-wpcom
6 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
7 */
8
9?>
10
11<p><?php esc_html_e( 'There are currently no posts to display.', 'jetpack-mu-wpcom' ); ?></p>
12<?php
13if ( current_user_can( 'publish_posts' ) ) :
14    printf(
15        '<p>' . wp_kses(
16            /* translators: 1: link to WP admin new post page. */
17            __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'jetpack-mu-wpcom' ),
18            array(
19                'a' => array(
20                    'href' => array(),
21                ),
22            )
23        ) . '</p>',
24        esc_url( admin_url( 'post-new.php' ) )
25    );
26endif;