Issues (631)

content-gallery.php (19 issues)

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

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

10
<article id="post-<?php the_ID(); ?>" <?php /** @scrutinizer ignore-call */ post_class(); ?>>
Loading history...
11
	<div class="entry-wrap wrap clear">
12
13
<?php if ( '' !== get_the_post_thumbnail() ) :
0 ignored issues
show
The function get_the_post_thumbnail 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

13
<?php if ( '' !== /** @scrutinizer ignore-call */ get_the_post_thumbnail() ) :
Loading history...
14
	the_post_thumbnail( 'strip-featured-image' );
0 ignored issues
show
The function the_post_thumbnail 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
	/** @scrutinizer ignore-call */ 
15
 the_post_thumbnail( 'strip-featured-image' );
Loading history...
15
endif; ?>
16
17
		<header class="entry-header">
18
	<?php
19
				$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

19
				$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

19
				$categories_list = get_the_category_list( /** @scrutinizer ignore-call */ __( ', ', 'strip' ) );
Loading history...
20
21
	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

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

22
		the_title( '<h1 class="entry-title"><a href="' . /** @scrutinizer ignore-call */ 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

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

22
		/** @scrutinizer ignore-call */ 
23
  the_title( '<h1 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
Loading history...
23
	else :
24
					the_title( '<h1 class="entry-title">', '</h1>' );
25
	endif; ?>
26
27
		<div class="entry-content clear">
28
	<?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

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

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

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

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

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

38
	<?php /** @scrutinizer ignore-call */ edit_post_link( __( 'Edit', 'strip' ), '<span class="edit-link">', '</span>' ); ?>
Loading history...
39
		</footer><!-- .entry-meta -->
40
41
	<?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

41
	<?php if ( /** @scrutinizer ignore-call */ has_excerpt() ) : ?>
Loading history...
42
		<div class="entry-summary">
43
	<?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

43
	<?php /** @scrutinizer ignore-call */ do_action( 'strip_formatted_posts_excerpt_before' ); ?>
Loading history...
44
	<?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

44
	<?php /** @scrutinizer ignore-call */ the_excerpt(); ?>
Loading history...
45
	<?php do_action( 'strip_formatted_posts_excerpt_after' ); ?>
46
		</div><!-- .entry-caption -->
47
	<?php endif; ?>
48
49
	</div><!-- .entry-wrap -->
50
</article><!-- #post-## -->
51