Re-add type=array

This commit is contained in:
Jb 2019-11-23 19:10:47 +01:00
parent 120b1975d2
commit 1979aa220e
2 changed files with 2 additions and 2 deletions

View file

@ -143,7 +143,7 @@
provided as a comma-delimited list. -->
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" value="wporg-5ftf" />
<property name="text_domain" type="array" value="wporg-5ftf" />
</properties>
</rule>
</ruleset>

View file

@ -26,7 +26,7 @@ $allowed_html = array_merge(
);
$more = sprintf(
__( '&hellip; <a href="%s">continue reading <span class="screen-reader-text">%s</span></a>', 'wporg-5ftf' ),
__( '&hellip; <a href="%1$s">continue reading <span class="screen-reader-text">%2$s</span></a>', 'wporg-5ftf' ),
esc_url( get_permalink() ),
esc_html( get_the_title() )
);