- small warnings fixed;

This commit is contained in:
nikitozzzzzzz
2018-01-22 15:13:46 +02:00
parent ec807386af
commit 6a6c7abe63
2 changed files with 7 additions and 4 deletions
+6 -3
View File
@@ -139,9 +139,11 @@ if ( ! class_exists( 'Shortcodes' ) ) {
}
/***
*** @load a compatible template
*/
/**
* Load a compatible template
*
* @param $tpl
*/
function load_template( $tpl ) {
$loop = ( $this->loop ) ? $this->loop : array();
@@ -150,6 +152,7 @@ if ( ! class_exists( 'Shortcodes' ) ) {
unset( $args['file'] );
unset( $args['theme_file'] );
unset( $args['tpl'] );
extract( $args );
}