Passed
Push — dev ( 3b84be...72a777 )
by Eric
09:28
created
Labels
Severity
1
<?php
2
/**
3
 * The template for displaying 404 pages (not found).
4
 *
5
 * @link https://codex.wordpress.org/Creating_an_Error_404_Page
6
 *
7
 * @package bitsy
8
 */
9
?>
10
<section class="error-404 not-found">
11
	<header class="page-header">
12
		<h1 class="page-title"><?php esc_html_e( 'Oops! That page can&rsquo;t be found.', 'bitsy' ); ?></h1>
1 ignored issue
show
The function esc_html_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

12
		<h1 class="page-title"><?php /** @scrutinizer ignore-call */ esc_html_e( 'Oops! That page can&rsquo;t be found.', 'bitsy' ); ?></h1>
Loading history...
13
	</header><!-- .page-header -->
14
15
	<div class="page-content">
16
		<p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'bitsy' ); ?></p>
17
18
		<?php
19
			get_search_form();
1 ignored issue
show
The function get_search_form 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

19
			/** @scrutinizer ignore-call */ 
20
   get_search_form();
Loading history...
20
21
			the_widget( 'WP_Widget_Recent_Posts' );
1 ignored issue
show
The function the_widget 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

21
			/** @scrutinizer ignore-call */ 
22
   the_widget( 'WP_Widget_Recent_Posts' );
Loading history...
22
23
		?>
24
25
		<div class="widget widget_categories">
26
			<h2 class="widget-title"><?php esc_html_e( 'Most Used Categories', 'bitsy' ); ?></h2>
27
			<ul>
28
			<?php
29
				wp_list_categories( array(
1 ignored issue
show
The function wp_list_categories 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
				/** @scrutinizer ignore-call */ 
30
    wp_list_categories( array(
Loading history...
30
					'orderby'    => 'count',
31
					'order'      => 'DESC',
32
					'show_count' => 1,
33
					'title_li'   => '',
34
					'number'     => 10,
35
				) );
36
			?>
37
			</ul>
38
		</div><!-- .widget -->
39
40
		<?php
41
			/* translators: %1$s: smiley */
42
			$archive_content = '<p>' . sprintf( esc_html__( 'Try looking in the monthly archives. %1$s', 'bitsy' ), convert_smilies( ':)' ) ) . '</p>';
2 ignored issues
show
The function convert_smilies 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

42
			$archive_content = '<p>' . sprintf( esc_html__( 'Try looking in the monthly archives. %1$s', 'bitsy' ), /** @scrutinizer ignore-call */ convert_smilies( ':)' ) ) . '</p>';
Loading history...
The function esc_html__ 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

42
			$archive_content = '<p>' . sprintf( /** @scrutinizer ignore-call */ esc_html__( 'Try looking in the monthly archives. %1$s', 'bitsy' ), convert_smilies( ':)' ) ) . '</p>';
Loading history...
43
			the_widget( 'WP_Widget_Archives', 'dropdown=1', "after_title=</h2>$archive_content" );
44
45
			the_widget( 'WP_Widget_Tag_Cloud' );
46
		?>
47
48
	</div><!-- .page-content -->
49
</section><!-- .error-404 -->
50