Issues (631)

header-lite.php (9 issues)

Labels
Severity
1
<?php
2
/**
3
 * The Header for comics
4
 *
5
 * Displays all of the <head> section and everything up till <main id="main">
6
 *
7
 * @package WordPress
8
 * @subpackage Strip
9
 */
10
11
?><!DOCTYPE html>
12
<html <?php language_attributes(); ?> class="no-js">
0 ignored issues
show
The function language_attributes was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

12
<html <?php /** @scrutinizer ignore-call */ language_attributes(); ?> class="no-js">
Loading history...
13
<head>
14
<meta charset="<?php bloginfo( 'charset' ); ?>">
0 ignored issues
show
The function bloginfo was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

14
<meta charset="<?php /** @scrutinizer ignore-call */ bloginfo( 'charset' ); ?>">
Loading history...
15
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
16
<meta name="viewport" content="width=device-width, initial-scale=1">
17
<meta name="description" content="<?php if ( is_single() ) {
0 ignored issues
show
The function is_single was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

17
<meta name="description" content="<?php if ( /** @scrutinizer ignore-call */ is_single() ) {
Loading history...
18
	single_post_title( '', true );
0 ignored issues
show
The function single_post_title was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

18
	/** @scrutinizer ignore-call */ 
19
 single_post_title( '', true );
Loading history...
19
} else {
20
	bloginfo( 'name' );
21
	echo ' - ';
22
	bloginfo( 'description' );
23
}
24
	?>" />
25
<link rel="profile" href="http://gmpg.org/xfn/11">
26
<link type="text/plain" rel="author" href="https://silent-comics.com/humans.txt" />
27
<meta name="referrer" content="no-referrer">
28
29
<?php wp_head(); ?>
0 ignored issues
show
The function wp_head was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

29
<?php /** @scrutinizer ignore-call */ wp_head(); ?>
Loading history...
30
</head>
31
32
<body <?php body_class(); ?>>
0 ignored issues
show
The function body_class was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

32
<body <?php /** @scrutinizer ignore-call */ body_class(); ?>>
Loading history...
33
<div id="page" class="hfeed site">
34
	<header id="masthead" class="site-header" role="banner">
35
36
		<?php if ( has_nav_menu( 'primary' ) ) : ?>
0 ignored issues
show
The function has_nav_menu was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

36
		<?php if ( /** @scrutinizer ignore-call */ has_nav_menu( 'primary' ) ) : ?>
Loading history...
37
		<nav id="site-navigation" class="main-navigation clear" role="navigation">
38
			<button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><?php esc_attr_e( 'discover', 'strip' ); ?></button>
0 ignored issues
show
The function esc_attr_e was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

38
			<button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"><?php /** @scrutinizer ignore-call */ esc_attr_e( 'discover', 'strip' ); ?></button>
Loading history...
39
			<div><a class="skip-link screen-reader-text" href="#content"><?php esc_attr_e( 'Skip to content', 'strip' ); ?></a></div>
40
41
			<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'wrap' ) ); ?>
0 ignored issues
show
The function wp_nav_menu was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

41
			<?php /** @scrutinizer ignore-call */ wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'wrap' ) ); ?>
Loading history...
42
		</nav><!-- #site-navigation -->
43
		<?php endif; ?>
44
45
	</header><!-- #masthead -->
46