Skip to content

Commit

Permalink
Fix phpcs errors unrelated to AMP changes
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Jun 11, 2018
1 parent 1791783 commit b4d24c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions inc/custom-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ function _s_header_style() {
position: absolute;
clip: rect(1px, 1px, 1px, 1px);
}
<?php
// If the user has set a custom color for the text use that.
<?php
else :
// If the user has set a custom color for the text use that.
?>
.site-title a,
.site-description {
Expand Down
2 changes: 1 addition & 1 deletion inc/woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function _s_woocommerce_wrapper_before() {
* @return void
*/
function _s_woocommerce_wrapper_after() {
?>
?>
</main><!-- #main -->
</div><!-- #primary -->
<?php
Expand Down
1 change: 1 addition & 0 deletions phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,5 @@
</properties>
</rule>

<exclude-pattern>rtl.css</exclude-pattern>
</ruleset>

0 comments on commit b4d24c2

Please sign in to comment.