Issues (631)

content-video.php (19 issues)

Labels
Severity
1
<?php
2
/**
3
 * Template part for displaying the video post format
4
 *
5
 * @package WordPress
6
 * @subpackage Strip
7
 */
8
9
?>
10
11
<article id="post-<?php the_ID(); ?>" <?php post_class( 'clear' ); ?>>
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( 'clear' ); ?>>
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( 'clear' ); ?>>
Loading history...
12
	<div class="entry-wrap wrap clear">
13
14
	<?php
15
	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

15
	if ( '' !== /** @scrutinizer ignore-call */ get_the_post_thumbnail() ) :
Loading history...
16
		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

16
		/** @scrutinizer ignore-call */ 
17
  the_post_thumbnail( 'strip-featured-image' );
Loading history...
17
	endif;
18
	?>
19
20
	<header class="entry-header">
21
		<?php
22
			$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

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

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

24
		if ( ! /** @scrutinizer ignore-call */ is_single() ) :
Loading history...
25
			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

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

25
			/** @scrutinizer ignore-call */ 
26
   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

25
			the_title( '<h1 class="entry-title"><a href="' . esc_url( /** @scrutinizer ignore-call */ get_permalink() ) . '" rel="bookmark">', '</a></h1>' );
Loading history...
26
		else :
27
			the_title( '<h1 class="entry-title">', '</h1>' );
28
		endif;
29
		?>
30
	</header><!-- .entry-header -->
31
	<br>
32
	<div class="entry-content">
33
		<?php
34
			the_content(sprintf(
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

34
			/** @scrutinizer ignore-call */ 
35
   the_content(sprintf(
Loading history...
35
				/* translators: %s: Name of current post. */
36
				esc_html( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'strip' ), array( 'span' => array( 'class' => array() ) ) ),
0 ignored issues
show
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
				/** @scrutinizer ignore-call */ 
37
    esc_html( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'strip' ), array( 'span' => array( 'class' => array() ) ) ),
Loading history...
37
				the_title( '<span class="screen-reader-text">"', '"</span>', false )
38
			));
39
40
		?>
41
	</div><!-- .entry-content -->
42
43
			<footer class="entry-meta">
44
				<?php strip_entry_meta(); ?>
45
46
				<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( 'video' ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'strip' ), get_post_format_string( 'video' ) ) ); ?>"><?php echo esc_html( get_post_format_string( 'video' ) ); ?></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

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

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

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

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

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

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

54
	<?php /** @scrutinizer ignore-call */ the_excerpt(); ?>
Loading history...
55
	<?php do_action( 'strip_formatted_posts_excerpt_after' ); ?>
56
		</div><!-- .entry-caption -->
57
	<?php endif; ?>
58
59
	</div><!-- .entry-wrap -->
60
</article><!-- #post-## -->
61