Fix DocBlocks
This commit is contained in:
parent
e8c4eb1eca
commit
7630599003
|
@ -67,7 +67,7 @@ if ( ! function_exists( 'understrap_change_logo_class' ) ) {
|
||||||
*
|
*
|
||||||
* @param string $html Markup.
|
* @param string $html Markup.
|
||||||
*
|
*
|
||||||
* @return mixed
|
* @return string
|
||||||
*/
|
*/
|
||||||
function understrap_change_logo_class( $html ) {
|
function understrap_change_logo_class( $html ) {
|
||||||
|
|
||||||
|
@ -79,11 +79,10 @@ if ( ! function_exists( 'understrap_change_logo_class' ) ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Display navigation to next/previous post when applicable.
|
|
||||||
*/
|
|
||||||
|
|
||||||
if ( ! function_exists( 'understrap_post_nav' ) ) {
|
if ( ! function_exists( 'understrap_post_nav' ) ) {
|
||||||
|
/**
|
||||||
|
* Display navigation to next/previous post when applicable.
|
||||||
|
*/
|
||||||
function understrap_post_nav() {
|
function understrap_post_nav() {
|
||||||
// Don't print empty markup if there's nowhere to navigate.
|
// 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 );
|
$previous = ( is_attachment() ) ? get_post( get_post()->post_parent ) : get_adjacent_post( false, '', true );
|
||||||
|
|
Reference in New Issue