CS: Fix code layout of nested function calls with associative arrays.
This commit is contained in:
parent
8cefd8f258
commit
a65be48368
4 changed files with 41 additions and 7 deletions
|
@ -19,8 +19,18 @@
|
|||
if ( is_home() && current_user_can( 'publish_posts' ) ) : ?>
|
||||
|
||||
<p><?php
|
||||
/* translators: 1: link to WP admin new post page. */
|
||||
printf( wp_kses( __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', '_s' ), array( 'a' => array( 'href' => array() ) ) ), esc_url( admin_url( 'post-new.php' ) ) );
|
||||
printf(
|
||||
wp_kses(
|
||||
/* translators: 1: link to WP admin new post page. */
|
||||
__( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', '_s' ),
|
||||
array(
|
||||
'a' => array(
|
||||
'href' => array(),
|
||||
),
|
||||
)
|
||||
),
|
||||
esc_url( admin_url( 'post-new.php' ) )
|
||||
);
|
||||
?></p>
|
||||
|
||||
<?php elseif ( is_search() ) : ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue