Issues (631)

content-image.php (17 issues)

Labels
Severity
1
<?php
2
/**
3
 * Template part for displaying the image post format
4
 *
5
 * @package WordPress
6
 * @subpackage Strip
7
 */
8
9
?>
10
11
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
0 ignored issues
show
The function post_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

11
<article id="post-<?php the_ID(); ?>" <?php /** @scrutinizer ignore-call */ post_class(); ?>>
Loading history...
The function the_ID 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

11
<article id="post-<?php /** @scrutinizer ignore-call */ the_ID(); ?>" <?php post_class(); ?>>
Loading history...
12
	<div class="entry-wrap wrap clear">
13
		<div class="entry-attachment">
14
15
		<header class="entry-header">
16
			<?php
17
				$categories_list = get_the_category_list( __( ', ', 'strip' ) );
0 ignored issues
show
The function get_the_category_list 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
				$categories_list = /** @scrutinizer ignore-call */ get_the_category_list( __( ', ', 'strip' ) );
Loading history...
The function __ 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
				$categories_list = get_the_category_list( /** @scrutinizer ignore-call */ __( ', ', 'strip' ) );
Loading history...
18
19
			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

19
			if ( ! /** @scrutinizer ignore-call */ is_single() ) :
Loading history...
20
				the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
0 ignored issues
show
The function the_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

20
				/** @scrutinizer ignore-call */ 
21
    the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
Loading history...
The function get_permalink 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

20
				the_title( '<h1 class="entry-title"><a href="' . esc_url( /** @scrutinizer ignore-call */ get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
Loading history...
The function esc_url 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

20
				the_title( '<h1 class="entry-title"><a href="' . /** @scrutinizer ignore-call */ esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
Loading history...
21
			else :
22
					the_title( '<h1 class="entry-title">', '</h1>' );
23
			endif;
24
			?>
25
			</header><!-- .entry-header -->
26
27
					<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'strip' ) ); ?>
0 ignored issues
show
The function the_content 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

27
					<?php /** @scrutinizer ignore-call */ the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'strip' ) ); ?>
Loading history...
28
29
		</div><!-- .entry-attachment -->
30
31
		<footer class="entry-meta">
32
			<?php strip_entry_meta(); ?>
33
34
			<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'image' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'image' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'image' ) ); ?></a></span>
0 ignored issues
show
The function get_post_format_string 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

34
			<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'image' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), /** @scrutinizer ignore-call */ get_post_format_string( 'image' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'image' ) ); ?></a></span>
Loading history...
The function esc_attr 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

34
			<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'image' ) ); ?>" title="<?php echo /** @scrutinizer ignore-call */ esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'image' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'image' ) ); ?></a></span>
Loading history...
The function get_post_format_link 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

34
			<span class="entry-format"><a href="<?php echo esc_url( /** @scrutinizer ignore-call */ get_post_format_link( 'image' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'image' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'image' ) ); ?></a></span>
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

34
			<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'image' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'image' ) ) ); ?>"><?php echo /** @scrutinizer ignore-call */ esc_html( get_post_format_string( 'image' ) ); ?></a></span>
Loading history...
35
36
			<?php edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?>
0 ignored issues
show
The function edit_post_link 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 /** @scrutinizer ignore-call */ edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?>
Loading history...
37
		</footer><!-- .entry-meta -->
38
39
				<?php if ( has_excerpt() ) : ?>
0 ignored issues
show
The function has_excerpt 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

39
				<?php if ( /** @scrutinizer ignore-call */ has_excerpt() ) : ?>
Loading history...
40
		<div class="entry-summary">
41
			<?php do_action( 'strip_formatted_posts_excerpt_before' ); ?>
0 ignored issues
show
The function do_action 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 */ do_action( 'strip_formatted_posts_excerpt_before' ); ?>
Loading history...
42
			<?php the_excerpt(); ?>
0 ignored issues
show
The function the_excerpt 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
			<?php /** @scrutinizer ignore-call */ the_excerpt(); ?>
Loading history...
43
			<?php do_action( 'strip_formatted_posts_excerpt_after' ); ?>
44
		</div><!-- .entry-caption -->
45
		<?php endif; ?>
46
47
	</div><!-- .entry-wrap -->
48
</article><!-- #post-## -->
49