load_template in StmListingType and using API
-
Hello,
in method load that you use everywhere to load templates, you have a little or big issuehttps://plugins.trac.ww.wp.xz.cn/browser/ulisting/trunk/includes/classes/StmListingTemplate.php#L45
you shouldn’t start output buffering if you are not sure that will be finished
on line 50 you have condition that breaks output buffering
so I think that you should move ob_start to line 51 after condition
if(!file_exists($file)) return false;and before
include($file);
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘load_template in StmListingType and using API’ is closed to new replies.