mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 05:33:36 +09:00
- small warnings fixed;
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user