Closed anteksiler closed 5 years ago
You cannot include OT in WP.org themes anymore. That’s not been allowed for a few years now. I’ll fix some of these but having it pass the theme review is not a priority.
True, but keeping with these standards should improve compatibility and security.
Neither of those have to do with security and compatibility is only in the context of theme mode which is not supported by wp.org the first one should definitely be fixed but the second is debatable. Are these the only issues or are there more?
There are other issues, most of them related to escaping variables for security.
There are easier ones like replacing "htmlspecialchars_decode" with "wp_specialchars_decode"
The plugin is rigorously following WordPress standards and all variables are properly sanitized and escaped, but I’ll double check. The reason that review is failing is because it doesn’t respect the phpcs:ignore directive. I added several because the code is safely escaped and sanitized and code sniffers are not always right.
I’m not trying to discount your concerns here but you have to understand the amount of effort to get it to where it is and what your asking for is another level of complexity that may create more issues than it solves. I’ll run the plugin over the code to see what it thinks is broke and fix actual issues. However, I’m not going to make it theme review compatible. It’s not something that can be done 100% and this is a plugin not a theme.
Fair enough :) Thanks for all the work you put into this plugin.
There are various errors that are raised by the Theme Sniffer plugin: https://wordpress.org/plugins/theme-sniffer/
It is used by the official WordPress review theme, so fixing these issues should be crucial.
For example: