Skip to content

Commit

Permalink
Fix code styling issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
ocean90 committed Jun 10, 2018
1 parent af62963 commit 3ed242b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions inc/dependencies-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function enqueue_scripts_async( string $tag, string $handle ): string {
* @return string The source URL for the enqueued script.
*/
function enqueue_scripts_without_version( string $src, string $handle ): string {
if ( false === strpos( $src ,'ver=' ) ) {
if ( false === strpos( $src, 'ver=' ) ) {
return $src;
}

Expand All @@ -55,4 +55,4 @@ function enqueue_scripts_without_version( string $src, string $handle ): string

return $src;
}
add_filter( 'script_loader_src', __NAMESPACE__ . '\enqueue_scripts_without_version', 50, 2 );
add_filter( 'script_loader_src', __NAMESPACE__ . '\enqueue_scripts_without_version', 50, 2 );
4 changes: 2 additions & 2 deletions inc/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function sanitize_ga_property( $value, $option ) {
// Check for the format.
if ( ! preg_match( '/^UA-\d+-\d+$/', $value ) ) {
$error = sprintf(
/* translators: %s: UA-XXXXX-Y */
/* translators: %s: UA-XXXXX-Y */
__( 'The property ID of the Google Analytics property doesn’t match the required format %s.', 'required-google-analytics' ),
'<code>UA-XXXXX-Y</code>'
);
Expand Down Expand Up @@ -110,7 +110,7 @@ class="regular-text code"
<p class="description" id="required-google-analytics-property-id-description">
<?php
printf(
/* translators: %s: UA-XXXXX-Y */
/* translators: %s: UA-XXXXX-Y */
__( 'The string %s of the the property ID (also called the "tracking ID") of the Google Analytics property you wish to track.', 'required-google-analytics' ),
'<code>UA-XXXXX-Y</code>'
);
Expand Down

0 comments on commit 3ed242b

Please sign in to comment.