Fixes Irony
This commit is contained in:
parent
be7611a633
commit
40fc9ef83e
|
@ -96,7 +96,7 @@ function wc_get_template( $template_name, $args = array(), $template_path = '',
|
|||
$located = wc_locate_template( $template_name, $template_path, $default_path );
|
||||
|
||||
if ( ! file_exists( $located ) ) {
|
||||
_doing_it_wrong( __FUNCTION__, sprintf( '<code>%s</code> does not exist.', $located ) );
|
||||
_doing_it_wrong( __FUNCTION__, sprintf( '<code>%s</code> does not exist.', $located ), '2.1' );
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue