File tree Expand file tree Collapse file tree
content/template/myPagesTemplate Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 require_once 'profile.php ' ;
2020 }
2121} else {
22- if ( isset ( $ q ['edu-login ' ] ) ) {
23- require_once 'login-page.php ' ;
24- } else {
25- require_once 'login-page.php ' ;
26- }
22+ require_once 'login-page.php ' ;
2723}
2824
2925$ out = ob_get_clean ();
Original file line number Diff line number Diff line change @@ -658,12 +658,11 @@ function eduadmin_get_login_view( $attributes ) {
658658 normalize_empty_atts ( $ attributes ),
659659 'eduadmin-loginview '
660660 );
661- EDU ()->stop_timer ( $ t );
662661
663- ob_start () ;
664- include_once EDUADMIN_PLUGIN_PATH . ' /content/template/myPagesTemplate/login.php ' ;
662+ $ str = include_once EDUADMIN_PLUGIN_PATH . ' /content/template/myPagesTemplate/login.php ' ;
663+ EDU ()-> stop_timer ( $ t ) ;
665664
666- return ob_get_clean () ;
665+ return $ str ;
667666}
668667
669668function eduadmin_get_programme_list ( $ attributes ) {
You can’t perform that action at this time.
0 commit comments