2
0
Fork 0
mirror of https://github.com/discourse/wp-discourse.git synced 2025-10-03 08:59:21 +08:00

Changes for the codesniffer

This commit is contained in:
scossar 2017-10-13 14:41:25 -07:00
parent ab817832c8
commit 560a041f5e
2 changed files with 19 additions and 19 deletions

View file

@ -33,14 +33,14 @@ class HTMLTemplates {

/**
* Sets the target attribute.
*
* @return void
*
* @return void
*/
protected static function target() {
if ( ! empty( DiscourseUtilities::get_options()['discourse-new-tab'] ) ) {
echo 'target="_blank"';
}
}
if ( ! empty( DiscourseUtilities::get_options()['discourse-new-tab'] ) ) {
echo 'target="_blank"';
}
}

/**
* HTML template for replies.
@ -155,10 +155,10 @@ class HTMLTemplates {
<footer class="comment-meta">
<div class="comment-author vcard">
<img alt="" src="{avatar_url}" class="avatar avatar-64 photo avatar-default"
height="64"
width="64">
height="64"
width="64">
<b class="fn"><a href="{topic_url}" rel="external"
class="url">{username}</a></b>
class="url">{username}</a></b>
<span class="says screen-reader-text"><?php esc_html_e( 'says:', 'wp-discourse' ); ?></span><!-- screen reader text -->
</div>
<!-- .comment-author -->
@ -195,7 +195,7 @@ class HTMLTemplates {
ob_start();
?>
<img alt="" src="{avatar_url}" class="avatar avatar-25 photo avatar-default" height="25"
width="25">
width="25">
<?php
$output = ob_get_clean();