Arafat Jamil
Forum Replies Created
-
learnpress\profile\tabs\courses.php
Line 32: ‘ data-tab=’enrolled’>
Line 39: ‘ data-tab=’created’>
Line 47: style='<?php echo $tab_active !== ‘enrolled’ ? ‘display: none;’ : ”; ?>’>
Line 51: ‘
Line 52: data-tab='<?php echo $key === ” ? ‘all’ : $key; ?>’>
Line 62: data-tab='<?php echo $key === ” ? ‘all’ : $key; ?>’
Line 63: style='<?php echo $key !== $courses_enrolled_tab_active ? ‘display: none’ : ”; ?>’> <?p
Line 74: style='<?php echo $tab_active !== ‘created’ ? ‘display: none;’ : ”; ?>’>
Line 78: ‘
Line 79: data-tab='<?php echo $key === ” ? ‘all’ : $key; ?>’>
Line 89: data-tab='<?php echo $key === ” ? ‘all’ : $key; ?>’ style='<?php echo $key !== ” ? ‘displThere are so many others like these
remove_filter( ‘deprecated_file_trigger_error’, ‘__return_false’ );
This piece of code is in single-course\item-comments.php file, which is meant to be copied as template in the theme folder.
Theme should not contain filters.
I was building a theme, copied the template files and checked, over 40 issues of only escaping at the output level.
WordPress coding standard suggests late escaping, i.e – escaping your outputs when echoing.
You are a legendary company in the WordPress world, this is not expected from your end.
If you fix your issues, I will change my feedback of course.
- This reply was modified 2 years, 7 months ago by Arafat Jamil.
Forum: Plugins
In reply to: [WooCommerce Square] This plugin doesn’t contain a valid header isssue!Thank you for your reply.
I tried exactly the way you just wrote. Then I downloaded the plugin externally and upload again. The result is same. Shows the error.