-
-
Notifications
You must be signed in to change notification settings - Fork 21
Code Quality Fixes #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
eec0192
ba9cf2f
3aeee73
976f1cb
5daf2a4
6bf8f11
8b49e3c
fbe89be
c8b735e
979168a
2306e22
459456e
bfb4ce5
d079ed4
70cf320
9fd738f
7c23915
c7b2805
0c457dd
4b52d98
d5cc65d
7af6a78
b5d0bbd
cbce161
0eb808a
534a4e0
0fc955d
167b835
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,7 @@ | |
| /node_modules/ | ||
| /vendor/ | ||
| .DS_Store | ||
| .idea | ||
| _build | ||
| composer.lock | ||
| package-lock.json | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,4 +23,5 @@ | |
|
|
||
| </main><!-- #content --> | ||
|
|
||
| <?php get_footer(); ?> | ||
| <?php | ||
| get_footer(); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -51,4 +51,5 @@ | |
|
|
||
| </main><!-- #content --> | ||
|
|
||
| <?php get_footer(); ?> | ||
| <?php | ||
| get_footer(); | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -470,7 +470,7 @@ function autonomie_comment( $comment, $args, $depth ) { | |||||
| $GLOBALS['comment'] = $comment; | ||||||
| ?> | ||||||
| <li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>"> | ||||||
| <article id="comment-<?php comment_ID(); ?>" class="comment <?php $comment->comment_type; ?>" itemprop="comment" itemscope itemtype="https://schema.org/Comment"> | ||||||
| <article id="comment-<?php comment_ID(); ?>" class="comment <?php echo $comment->comment_type; ?>" itemprop="comment" itemscope itemtype="https://schema.org/Comment"> | ||||||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @pfefferle Review here, this
|
||||||
| <article id="comment-<?php comment_ID(); ?>" class="comment <?php echo $comment->comment_type; ?>" itemprop="comment" itemscope itemtype="https://schema.org/Comment"> | |
| <article id="comment-<?php comment_ID(); ?>" class="comment <?php echo esc_attr( $comment->comment_type ); ?>" itemprop="comment" itemscope itemtype="https://schema.org/Comment"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
phpcs: WordPress.WP.I18n.MissingSingularPlaceholder: Missing singular placeholder, needed for some languages. See https://codex.wordpress.org/I18n_for_WordPress_Developers#Plurals
The phpcs error here noted that the placeholder must be added, since slavic and some other languages have multiple singulars, I assume by adding a more precise translators comment, this should be covered.