Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Improvements + Consistency updates in code indentation across multiple php files #1173

Merged
merged 2 commits into from Dec 1, 2017

Conversation

giollianosulit
Copy link

This branch has improvements over a few files to keep the indenting + code formatting consistent across the theme.

Relates to issue: #1172

Giolliano Sulit added 2 commits December 1, 2017 15:47
- Update 404.php indentation to keep it consistent across theme
- Remove extra new lines on front.php
- Update kitchen-sink.php indenting across entire template to make it more readable
- Update indenting on function call in mobile-off-canvas.php / mobile-topbar.php  to keep consistent
@olefredrik olefredrik merged commit 78aadfb into olefredrik:master Dec 1, 2017
Copy link
Collaborator

@colin-marshall colin-marshall left a comment

Choose a reason for hiding this comment

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

Please remove the left bracket typo. Thanks!

<?php endwhile;?>
</main>
<?php get_sidebar(); ?>
<main class="main-content"[>
Copy link
Collaborator

Choose a reason for hiding this comment

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

@giollianosulit it looks like you accidentally added a left bracket on this line?

@giollianosulit
Copy link
Author

@colin-marshall , yeah just noticed that in issue #1172 (example code ended up being posted there with the stray ']'.

I've pushed an update, how would a revision to a pull request normally work ? A new pull request or would it be apart of the same one ?

@colin-marshall
Copy link
Collaborator

@giollianosulit I guess normally we would revert the commit (as described in https://stackoverflow.com/a/16298304/2755888) but for a single typo it's probably easiest to just create a new PR.

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

Successfully merging this pull request may close these issues.

None yet

3 participants