Skip to content
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

Feature/dc tx v2 #83

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Feature/dc tx v2 #83

wants to merge 2 commits into from

Conversation

khleomix
Copy link
Collaborator

@khleomix khleomix commented Apr 5, 2020

DCTx V2

@khleomix khleomix self-assigned this Apr 5, 2020
Copy link
Collaborator

@wpugphil wpugphil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

phpcs scanning turned up:

🚫 162 errors

⚠️ 38 warnings


hashes-api-scanning skipped

Posting will continue in further review(s)

@@ -0,0 +1,36 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-3rfsjx.php, but found phpcs-scan-3rfsJX.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,37 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-nyoqbf.php, but found phpcs-scan-nYOqbf.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,20 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-wpyd0w.php, but found phpcs-scan-WpyD0w.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,56 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-jklocp.php, but found phpcs-scan-JKlOcP.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,466 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-ct7mm7.php, but found phpcs-scan-cT7MM7.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,100 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-pvtrqq.php, but found phpcs-scan-pVTRQq.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,52 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-zmvkjk.php, but found phpcs-scan-zmvkjK.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,44 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-tnzka4.php, but found phpcs-scan-TnZka4.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,100 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-ssnboo.php, but found phpcs-scan-ssNboo.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,34 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-vfsyyi.php, but found phpcs-scan-vfSYYI.php (WordPress.Files.FileName.NotHyphenatedLowercase).

Copy link
Collaborator

@wpugphil wpugphil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

@@ -0,0 +1,24 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-pn9iv3.php, but found phpcs-scan-Pn9iV3.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,12 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-z7ggep.php, but found phpcs-scan-z7gGep.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,57 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-fpukvk.php, but found phpcs-scan-fPuKVK.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,30 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-onqtz6.php, but found phpcs-scan-onqTZ6.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,21 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-pxozot.php, but found phpcs-scan-pXOzot.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,45 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-trjx8p.php, but found phpcs-scan-tRJX8P.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,43 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-kiuqhd.php, but found phpcs-scan-kIuqhd.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,42 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-vpurla.php, but found phpcs-scan-VPurLA.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,16 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-dme4yy.php, but found phpcs-scan-dme4yY.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,82 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-eq6whm.php, but found phpcs-scan-eq6WHm.php (WordPress.Files.FileName.NotHyphenatedLowercase).

Copy link
Collaborator

@wpugphil wpugphil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

@@ -0,0 +1,81 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-jtc4el.php, but found phpcs-scan-Jtc4eL.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,39 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-qpdlaa.php, but found phpcs-scan-qpdLaa.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,33 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-mjvrtz.php, but found phpcs-scan-MjVrtz.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,37 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-jifr7y.php, but found phpcs-scan-jIFr7Y.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,37 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-wir96o.php, but found phpcs-scan-wiR96o.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,33 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-xxphup.php, but found phpcs-scan-xXphuP.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,43 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-nxfvdg.php, but found phpcs-scan-nxFVdg.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,77 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-ijgmkh.php, but found phpcs-scan-IjgmkH.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,62 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-n4bpn8.php, but found phpcs-scan-n4BPN8.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,33 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-efuzga.php, but found phpcs-scan-eFUZGA.php (WordPress.Files.FileName.NotHyphenatedLowercase).

Copy link
Collaborator

@wpugphil wpugphil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

@@ -0,0 +1,19 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-7uhvx2.php, but found phpcs-scan-7UHVX2.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,18 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-aie1bv.php, but found phpcs-scan-aIe1Bv.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,45 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-ofexdy.php, but found phpcs-scan-OfExDY.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,35 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-oytbbs.php, but found phpcs-scan-oytBbs.php (WordPress.Files.FileName.NotHyphenatedLowercase).

<h1 class="page-title screen-reader-text"><?php single_post_title(); ?></h1>
</header>

<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected at least 4 tabs, found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect).

if ( have_posts() ) :

if ( is_home() && ! is_front_page() ) :
?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected 4 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact).

@@ -0,0 +1,55 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-w5jv6v.php, but found phpcs-scan-w5Jv6V.php (WordPress.Files.FileName.NotHyphenatedLowercase).

?>

<nav class="pagination-container container" aria-label="<?php esc_html_e( 'numeric pagination', 'dctx' ); ?>">
<?php echo paginate_links( $args ); // WPCS: XSS OK. ?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Using the WPCS native whitelist comments is deprecated. Please use the PHPCS native "phpcs:ignore Standard.Category.SniffName.ErrorCode" annotations instead. Found: // WPCS: XSS OK. (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound).

<?php
// If we're doing a URL, just make this LOOK like a button but be a link.
if ( 'link' === $button_setting && $button_url ) :
?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected 3 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact).

</span>
</a>
</li><!-- .social-icon -->
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected at least 4 tabs, found 3 (Generic.WhiteSpace.ScopeIndent.Incorrect).

Copy link
Collaborator

@wpugphil wpugphil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

?>
<span class="screen-reader-text">
<?php
echo /* translators: the social network name */ sprintf( esc_html( 'Link to %s', 'dctx' ), ucwords( esc_html( $network ) ) ); // WPCS: XSS OK.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Using the WPCS native whitelist comments is deprecated. Please use the PHPCS native "phpcs:ignore Standard.Category.SniffName.ErrorCode" annotations instead. Found: // WPCS: XSS OK.\n (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound).


// Only display the list item if a URL is set.
if ( ! empty( $network_url ) ) :
?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected 4 tabs, found 3 (Generic.WhiteSpace.ScopeIndent.IncorrectExact).

return false;
}

echo dctx_get_the_content( do_shortcode( $copyright_text ) ); // phpcs: xss ok.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Using the WPCS native whitelist comments is deprecated. Please use the PHPCS native "phpcs:ignore Standard.Category.SniffName.ErrorCode" annotations instead. Found: // phpcs: xss ok.\n (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound).

<?php
// Use absolute path in the Customizer so that icons show up in there.
if ( is_customize_preview() ) :
?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected 3 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact).

<?php
// Display description if available.
if ( $args['desc'] ) :
?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected 3 tabs, found 2 (Generic.WhiteSpace.ScopeIndent.IncorrectExact).

class="icon icon-<?php echo esc_attr( $args['icon'] ); ?>"
<?php
echo dctx_get_the_content( $aria_hidden ); // WPCS XSS OK.
echo dctx_get_the_content( $aria_labelledby ); // WPCS XSS OK.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Using the WPCS native whitelist comments is deprecated. Please use the PHPCS native "phpcs:ignore Standard.Category.SniffName.ErrorCode" annotations instead. Found: // WPCS XSS OK.\n (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound).

?>
class="icon icon-<?php echo esc_attr( $args['icon'] ); ?>"
<?php
echo dctx_get_the_content( $aria_hidden ); // WPCS XSS OK.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Using the WPCS native whitelist comments is deprecated. Please use the PHPCS native "phpcs:ignore Standard.Category.SniffName.ErrorCode" annotations instead. Found: // WPCS XSS OK.\n (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound).

<?php
echo dctx_get_the_content( $height ); // WPCS XSS OK.
echo dctx_get_the_content( $width ); // WPCS XSS OK.
echo dctx_get_the_content( $fill ); // WPCS XSS OK.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Using the WPCS native whitelist comments is deprecated. Please use the PHPCS native "phpcs:ignore Standard.Category.SniffName.ErrorCode" annotations instead. Found: // WPCS XSS OK.\n (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound).

<svg
<?php
echo dctx_get_the_content( $height ); // WPCS XSS OK.
echo dctx_get_the_content( $width ); // WPCS XSS OK.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Using the WPCS native whitelist comments is deprecated. Please use the PHPCS native "phpcs:ignore Standard.Category.SniffName.ErrorCode" annotations instead. Found: // WPCS XSS OK.\n (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound).


<svg
<?php
echo dctx_get_the_content( $height ); // WPCS XSS OK.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Using the WPCS native whitelist comments is deprecated. Please use the PHPCS native "phpcs:ignore Standard.Category.SniffName.ErrorCode" annotations instead. Found: // WPCS XSS OK.\n (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound).

Copy link
Collaborator

@wpugphil wpugphil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

* @author WDS
*/
function dctx_display_svg( $args = array() ) {
echo dctx_get_svg( $args ); // WPCS XSS Ok.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Using the WPCS native whitelist comments is deprecated. Please use the PHPCS native "phpcs:ignore Standard.Category.SniffName.ErrorCode" annotations instead. Found: // WPCS XSS Ok.\n (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound).

$tags_list = get_the_tag_list( '', esc_html__( ', ', 'dctx' ) );
if ( $tags_list ) {
/* translators: the post tags */
printf( '<span class="tags-links">' . esc_html__( 'Tagged %1$s', 'dctx' ) . '</span>', $tags_list ); // WPCS: XSS OK.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Using the WPCS native whitelist comments is deprecated. Please use the PHPCS native "phpcs:ignore Standard.Category.SniffName.ErrorCode" annotations instead. Found: // WPCS: XSS OK.\n (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound).

$categories_list = get_the_category_list( esc_html__( ', ', 'dctx' ) );
if ( $categories_list && dctx_categorized_blog() ) {
/* translators: the post category */
printf( '<span class="cat-links">' . esc_html__( 'Posted in %1$s', 'dctx' ) . '</span>', $categories_list ); // WPCS: XSS OK.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Using the WPCS native whitelist comments is deprecated. Please use the PHPCS native "phpcs:ignore Standard.Category.SniffName.ErrorCode" annotations instead. Found: // WPCS: XSS OK.\n (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound).

'<span class="author vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '">' . esc_html( get_the_author() ) . '</a></span>'
);

echo '<span class="posted-on">' . $posted_on . '</span><span class="byline"> ' . $byline . '</span>'; // WPCS: XSS OK.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Using the WPCS native whitelist comments is deprecated. Please use the PHPCS native "phpcs:ignore Standard.Category.SniffName.ErrorCode" annotations instead. Found: // WPCS: XSS OK.\n (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound).

@@ -0,0 +1,540 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-i0jioq.php, but found phpcs-scan-i0JIoq.php (WordPress.Files.FileName.NotHyphenatedLowercase).

/**
* If WP is in script debug, or we pass ?script_debug in a URL - set debug to true.
*/
$debug = ( defined( 'SCRIPT_DEBUG' ) && true === SCRIPT_DEBUG ) || ( isset( $_GET['script_debug'] ) ) ? true : false; // WPCS: CSRF OK.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Using the WPCS native whitelist comments is deprecated. Please use the PHPCS native "phpcs:ignore Standard.Category.SniffName.ErrorCode" annotations instead. Found: // WPCS: CSRF OK.\n (WordPress.Security.NonceVerification.DeprecatedWhitelistCommentFound).

/**
* If WP is in script debug, or we pass ?script_debug in a URL - set debug to true.
*/
$debug = ( defined( 'SCRIPT_DEBUG' ) && true === SCRIPT_DEBUG ) || ( isset( $_GET['script_debug'] ) ) ? true : false; // WPCS: CSRF OK.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Using the WPCS native whitelist comments is deprecated. Please use the PHPCS native "phpcs:ignore Standard.Category.SniffName.ErrorCode" annotations instead. Found: // WPCS: CSRF OK.\n (WordPress.Security.NonceVerification.DeprecatedWhitelistCommentFound).

@@ -0,0 +1,154 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-2btfjv.php, but found phpcs-scan-2BTfjV.php (WordPress.Files.FileName.NotHyphenatedLowercase).

<?php
break;
default:
?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected 5 tabs, found 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact).

<p><strong><?php echo esc_html( $font_var ); ?>:</strong> <span style="font-family: <?php echo esc_attr( $family ); ?>"><?php echo esc_html( $family ); ?></span></p>
<?php endforeach; ?>
</div>
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected at least 5 tabs, found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect).

Copy link
Collaborator

@wpugphil wpugphil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.


foreach ( $fonts as $name => $family ) :
$font_var = '$font-' . str_replace( ' ', '-', strtolower( $name ) );
?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected 6 tabs, found 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact).

<?php
break;
case 'fonts':
?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected 5 tabs, found 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact).


<?php endforeach; ?>
</div>
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected at least 5 tabs, found 4 (Generic.WhiteSpace.ScopeIndent.Incorrect).


foreach ( $colors as $name => $hex ) :
$color_var = '$color-' . str_replace( ' ', '-', strtolower( $name ) );
?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected 6 tabs, found 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact).

switch ( $args['global_type'] ) :

case 'colors':
?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected 5 tabs, found 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact).

@@ -0,0 +1,257 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-giyceq.php, but found phpcs-scan-GiYcEq.php (WordPress.Files.FileName.NotHyphenatedLowercase).

$args = array_merge(
$args,
array(
'tax_query' => array(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Detected usage of tax_query, possible slow query (WordPress.DB.SlowDBQuery.slow_db_query_tax_query).

@@ -0,0 +1,89 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-rgnotw.php, but found phpcs-scan-rgNotW.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,48 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-vk5ufs.php, but found phpcs-scan-Vk5uFs.php (WordPress.Files.FileName.NotHyphenatedLowercase).

$card_type = 'website';

// Translators: get the search term.
$card_long_description = $card_description = sprintf( esc_html__( 'Search results for %s.', 'dctx' ), $search_term );
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found).

Copy link
Collaborator

@wpugphil wpugphil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

var api = wp.customize;

// Site title.
api( 'blogname', function( value ) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Only one argument is allowed per line in a multi-line function call (PEAR.Functions.FunctionCallSignature.MultipleArguments).

var api = wp.customize;

// Site title.
api( 'blogname', function( value ) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Opening parenthesis of a multi-line function call must be the last content on the line (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket).

* File livepreview.js.
*
* Deal with real time changes asynchronously.
*/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Missing @Package tag in file comment (Squiz.Commenting.FileComment.MissingPackageTag).

* @since NEXT
*/
function dctx_display_link( $args = array() ) {
echo dctx_get_link( $args ); // WPCS: XSS Ok.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Using the WPCS native whitelist comments is deprecated. Please use the PHPCS native "phpcs:ignore Standard.Category.SniffName.ErrorCode" annotations instead. Found: // WPCS: XSS Ok.\n (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound).

margin-left: 8px;
}
</style>
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected at least 2 tabs, found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect).

* @author WDS
*/
function dctx_flexible_content_layout_title_acf_admin_head() {
?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected 2 tabs, found 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact).

'start_date' => $start_date,
'end_date' => $end_date,
)
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Multi-line function call not indented correctly; expected 4 spaces but found 8 (PEAR.Functions.FunctionCallSignature.Indent).


// If the block has expired, add "(expired)" to the title.
if ( dctx_has_block_expired(
array(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Multi-line function call not indented correctly; expected 8 spaces but found 12 (PEAR.Functions.FunctionCallSignature.Indent).


// If we have a background image, echo our background image markup inside the block container.
if ( $background_image_markup ) {
echo $background_image_markup; // WPCS XSS OK.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Using the WPCS native whitelist comments is deprecated. Please use the PHPCS native "phpcs:ignore Standard.Category.SniffName.ErrorCode" annotations instead. Found: // WPCS XSS OK.\n (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound).


// If we have a background video, echo our background video markup inside the block container.
if ( $background_video_markup ) {
echo $background_video_markup; // WPCS XSS OK.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Using the WPCS native whitelist comments is deprecated. Please use the PHPCS native "phpcs:ignore Standard.Category.SniffName.ErrorCode" annotations instead. Found: // WPCS XSS OK.\n (WordPress.Security.EscapeOutput.DeprecatedWhitelistCommentFound).

Copy link
Collaborator

@wpugphil wpugphil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

// Parse args.
$args = wp_parse_args( $args, $defaults );

$background_video_markup = $background_image_markup = '';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Assignments must be the first block of code on a line (Squiz.PHP.DisallowMultipleAssignments.Found).

@@ -0,0 +1,449 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-kzv7l2.php, but found phpcs-scan-kzV7l2.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,70 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-2g259c.php, but found phpcs-scan-2g259C.php (WordPress.Files.FileName.NotHyphenatedLowercase).

<p class="slide-description"><?php esc_html_e( 'Slide Content', 'dctx' ); ?></p>
</div>
</section>
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected at least 2 tabs, found 1 (Generic.WhiteSpace.ScopeIndent.Incorrect).

'color_picker' => 'blue',
),
),
'display_options' => array(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Array double arrow not aligned correctly; expected 4 space(s) between "'display_options'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

'url' => '#',
),
'background_options' => array(
'background_type' => 'color',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Array double arrow not aligned correctly; expected 2 space(s) between "'background_type'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

'data' => array(
'title' => esc_html__( 'Call To Action Title', 'dctx' ),
'text' => esc_html__( 'Call To Action Text', 'dctx' ),
'button_link' => array(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Array double arrow not aligned correctly; expected 8 space(s) between "'button_link'" and double arrow, but found 1 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

'attributes' => array(
'data' => array(
'title' => esc_html__( 'Call To Action Title', 'dctx' ),
'text' => esc_html__( 'Call To Action Text', 'dctx' ),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Array double arrow not aligned correctly; expected 15 space(s) between "'text'" and double arrow, but found 8 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

'example' => array(
'attributes' => array(
'data' => array(
'title' => esc_html__( 'Call To Action Title', 'dctx' ),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Array double arrow not aligned correctly; expected 14 space(s) between "'title'" and double arrow, but found 7 (WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned).

@@ -0,0 +1,443 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-wkeije.php, but found phpcs-scan-wKeIje.php (WordPress.Files.FileName.NotHyphenatedLowercase).

Copy link
Collaborator

@wpugphil wpugphil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

<?php
$description = get_bloginfo( 'description', 'display' );
if ( $description || is_customize_preview() ) :
?>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected 5 tabs, found 4 (Generic.WhiteSpace.ScopeIndent.IncorrectExact).


<?php
$description = get_bloginfo( 'description', 'display' );
if ( $description || is_customize_preview() ) :
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected 4 tabs, found 5 (Generic.WhiteSpace.ScopeIndent.IncorrectExact).

@@ -0,0 +1,72 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-fciv2p.php, but found phpcs-scan-FCiv2P.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,241 @@
<?php
/**
* dctx functions and definitions.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Doc comment short description must start with a capital letter (Generic.Commenting.DocComment.ShortNotCapital).

@@ -0,0 +1,241 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-nlid9r.php, but found phpcs-scan-nLid9r.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,30 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-ikf9f4.php, but found phpcs-scan-iKF9F4.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,43 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-wgqlxh.php, but found phpcs-scan-WGqlxH.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,9 @@
/* http://prismjs.com/download.html?themes=prism&languages=markup+css+css-extras+clike+javascript+scss */
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: File appears to be minified and cannot be processed (Internal.Tokenizer.Exception).

@@ -0,0 +1,4 @@
/*! jQuery v2.1.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: File appears to be minified and cannot be processed (Internal.Tokenizer.Exception).

@@ -0,0 +1,20 @@
/**
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: File appears to be minified and cannot be processed (Internal.Tokenizer.Exception).

Copy link
Collaborator

@wpugphil wpugphil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

}, this));
};

global.Sidebar = Sidebar;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected at least 1 tabs, found 0 (Generic.WhiteSpace.ScopeIndent.Incorrect).

}, this));
};

global.Sidebar = Sidebar;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (WordPress.WhiteSpace.PrecisionAlignment.Found).

// Update DOM
$item.toggleClass(this.conf.collapsedClass);
}, this));
};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected 1 tabs, found 0 (Generic.WhiteSpace.ScopeIndent.IncorrectExact).

// Update DOM
$item.toggleClass(this.conf.collapsedClass);
}, this));
};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Found precision alignment of 2 spaces (WordPress.WhiteSpace.PrecisionAlignment.Found).


// Update DOM
$item.toggleClass(this.conf.collapsedClass);
}, this));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Closing parenthesis of a multi-line function call must be on a line by itself (PEAR.Functions.FunctionCallSignature.CloseBracketLine).


// Update DOM
$item.toggleClass(this.conf.collapsedClass);
}, this));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Only one argument is allowed per line in a multi-line function call (PEAR.Functions.FunctionCallSignature.MultipleArguments).


// Update DOM
$item.toggleClass(this.conf.collapsedClass);
}, this));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Line indented incorrectly; expected 2 tabs, found 1 (Generic.WhiteSpace.ScopeIndent.IncorrectExact).


// Update DOM
$item.toggleClass(this.conf.collapsedClass);
}, this));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed).

this.index[slug] = !this.index[slug];

// Update DOM
$item.toggleClass(this.conf.collapsedClass);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces before closing bracket; 0 found (PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket).

this.index[slug] = !this.index[slug];

// Update DOM
$item.toggleClass(this.conf.collapsedClass);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Expected 1 spaces after opening bracket; 0 found (PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket).

Copy link
Collaborator

@wpugphil wpugphil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous scan continued.

@@ -0,0 +1,108 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-fsp6to.php, but found phpcs-scan-fSP6tO.php (WordPress.Files.FileName.NotHyphenatedLowercase).

@@ -0,0 +1,79 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Class file names should be based on the class name with "class-" prepended. Expected class-text-editor-custom-control.php, but found phpcs-scan-dgNYpY.php (WordPress.Files.FileName.InvalidClassFileName).

@@ -0,0 +1,79 @@
<?php
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Filenames should be all lowercase with hyphens as word separators. Expected phpcs-scan-dgnypy.php, but found phpcs-scan-dgNYpY.php (WordPress.Files.FileName.NotHyphenatedLowercase).


/**
* Safely log to the console
* @param mixed str var to log
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: There must be exactly one blank line before the tags in a doc comment (Generic.Commenting.DocComment.SpacingBeforeTags).

// Update the customize option.
wp.customize( this.id, function ( obj ) {
obj.set( $me.val() );
});
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Closing parenthesis of a multi-line function call must be on a line by itself (PEAR.Functions.FunctionCallSignature.CloseBracketLine).

var $me = $( this );

// Update the customize option.
wp.customize( this.id, function ( obj ) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Only one argument is allowed per line in a multi-line function call (PEAR.Functions.FunctionCallSignature.MultipleArguments).

var $me = $( this );

// Update the customize option.
wp.customize( this.id, function ( obj ) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Opening parenthesis of a multi-line function call must be the last content on the line (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket).

});
});
}
}, 1000 );
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Closing parenthesis of a multi-line function call must be on a line by itself (PEAR.Functions.FunctionCallSignature.CloseBracketLine).

});
});
}
}, 1000 );
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Only one argument is allowed per line in a multi-line function call (PEAR.Functions.FunctionCallSignature.MultipleArguments).

});
});
}
}, 1000 );
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 Error: Tabs must be used to indent lines; spaces are not allowed (Generic.WhiteSpace.DisallowSpaceIndent.SpacesUsed).

@wpugphil
Copy link
Collaborator

wpugphil commented Apr 5, 2020

Total number of active review comments per Pull-Request has been reached and some comments might not appear as a result. Please resolve some issues to see more (commit-ID: baad9e9).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants