From c01f07b4ae7a0c175fd92f071b1156347401e5f9 Mon Sep 17 00:00:00 2001 From: koenemann Date: Fri, 27 Jan 2017 14:26:46 +0100 Subject: [PATCH] removing empty spaces --- inc/editor.php | 7 ++----- inc/enqueue.php | 2 +- inc/extras.php | 6 +++--- inc/pagination.php | 6 ++---- inc/template-tags.php | 1 - 5 files changed, 8 insertions(+), 14 deletions(-) diff --git a/inc/editor.php b/inc/editor.php index fcbb307..8e3d59e 100644 --- a/inc/editor.php +++ b/inc/editor.php @@ -1,22 +1,19 @@ get( 'Version' ) ); wp_enqueue_script( 'jquery' ); diff --git a/inc/extras.php b/inc/extras.php index 34ca68a..4ca1f82 100644 --- a/inc/extras.php +++ b/inc/extras.php @@ -44,7 +44,7 @@ if ( ! function_exists( 'adjust_body_class' ) ) { function adjust_body_class( $classes ) { foreach ( $classes as $key => $value ) { - if ( 'tag' == $value) { + if ( 'tag' == $value ) { unset( $classes[ $key ] ); } } @@ -66,10 +66,10 @@ if ( ! function_exists( 'change_logo_class' ) ) { * @return mixed */ function change_logo_class( $html ) { - + $html = str_replace( 'class="custom-logo"', 'class="img-responsive"', $html ); $html = str_replace( 'class="custom-logo-link"', 'class="navbar-brand custom-logo-link"', $html ); - $html = str_replace('alt=""', 'title="Home" alt="logo"' , $html ); + $html = str_replace( 'alt=""', 'title="Home" alt="logo"' , $html ); return $html; } diff --git a/inc/pagination.php b/inc/pagination.php index c08b3c2..6127aaa 100644 --- a/inc/pagination.php +++ b/inc/pagination.php @@ -5,8 +5,6 @@ * @package understrap */ -// Comments form. - /** * Custom Pagination with numbers * Credits to http://www.wpbeginner.com/wp-themes/how-to-add-numeric-pagination-in-your-wordpress-theme/ @@ -86,10 +84,10 @@ function understrap_pagination() { $class = $paged == $max ? ' class="active "' : ' class="page-item"'; printf( '
  • %s
  • ' . "\n", - $class . '', esc_url( get_pagenum_link( esc_html( $max ) ) ), esc_html($max ) ); + $class . '', esc_url( get_pagenum_link( esc_html( $max ) ) ), esc_html( $max ) ); } echo '' . "\n"; } -endif; \ No newline at end of file +endif; diff --git a/inc/template-tags.php b/inc/template-tags.php index b0ea85a..df23979 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -7,7 +7,6 @@ * @package understrap */ - if ( ! function_exists( 'understrap_posted_on' ) ) : /** * Prints HTML with meta information for the current post-date/time and author.