Merge pull request #2060 from ttamnedlog/remove-php-shorthand

Remove php blade shorthand
This commit is contained in:
Ben Word
2018-04-22 22:11:56 -06:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -18,10 +18,10 @@ if (post_password_required()) {
<nav>
<ul class="pager">
@if (get_previous_comments_link())
<li class="previous">@php(previous_comments_link(__('&larr; Older comments', 'sage')))</li>
<li class="previous">@php previous_comments_link(__('&larr; Older comments', 'sage')) @endphp</li>
@endif
@if (get_next_comments_link())
<li class="next">@php(next_comments_link(__('Newer comments &rarr;', 'sage')))</li>
<li class="next">@php next_comments_link(__('Newer comments &rarr;', 'sage')) @endphp</li>
@endif
</ul>
</nav>

View File

@@ -1 +1 @@
@php(dynamic_sidebar('sidebar-primary'))
@php dynamic_sidebar('sidebar-primary') @endphp