Merge pull request #1137 from IanDelMar/patch-4

Fix DocBlocks
This commit is contained in:
UnderstrapFramework 2020-04-14 08:21:53 +01:00 committed by GitHub
commit 064e1d4534
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 5 deletions

View File

@ -67,7 +67,7 @@ if ( ! function_exists( 'understrap_change_logo_class' ) ) {
*
* @param string $html Markup.
*
* @return mixed
* @return string
*/
function understrap_change_logo_class( $html ) {
@ -79,11 +79,10 @@ if ( ! function_exists( 'understrap_change_logo_class' ) ) {
}
}
if ( ! function_exists( 'understrap_post_nav' ) ) {
/**
* Display navigation to next/previous post when applicable.
*/
if ( ! function_exists( 'understrap_post_nav' ) ) {
function understrap_post_nav() {
// Don't print empty markup if there's nowhere to navigate.
$previous = ( is_attachment() ) ? get_post( get_post()->post_parent ) : get_adjacent_post( false, '', true );