Closed remcotolsma closed 5 months ago
Hello WordPress Plugin Review Team,
We have started working on your suggestions. New requirements/guidelines seem to be added every month. Can the tools you used for this first review also be used by plugin developers themselves? That would help enormously to get the first review right immediately. Of course, we already use tools such as PHPCS and PHPStan to force high-quality plugins.
Not permitted files
✅ Solved.
Included Unneeded Folders
✅ Solved.
Out of Date Libraries
✅ Solved.
Use wp_enqueue commands
⚠️ Solved, except for 1 warning, we cannot use the wp_enqueue commands there.
Undocumented use of a 3rd Party or external service
⚠️ You indicate that the use of certain external services is not documented, but the services are listed in the readme.txt: https://github.com/pronamic/pronamic-pay-with-rabo-smart-pay-for-woocommerce/blob/7cd0941df2101e9db5a5d9a82950d5f9a1327510/readme.txt#L32-L42
Don't Force Set PHP Limits Globally
⚠️ The following applies here: "If you must use those, you need to limit them specifically to only the exact functions that require them.". https://github.com/pronamic/wp-number/blob/82b5af7c20391ca654d2c7ab8d03574088b97e79/src/Number.php#L412-L420
How can we prevent a warning about this in a next review?
Internationalization: Text domain does not match plugin slug.
✅ Solved.
Variables and options must be escaped when echo'd
⚠️ These are all warnings from the "Action Scheduler" plugin/library: https://wordpress.org/plugins/action-scheduler/. This plugin/library by Automattic is designed to be used and released in plugins: https://actionscheduler.org/faq/. We informed the developer about these issues in: https://github.com/woocommerce/action-scheduler/issues/1068.
Generic function/class/define/namespace/option names
⚠️ Most warnings are from the "Action Scheduler" plugin/library. We use the prefix 'pronamic' and 'get_pronamic', these are fine.
Allowing Direct File Access to plugin files
✅ Solved.
Unsafe SQL calls
⚠️ These are all warnings from the "Action Scheduler" plugin/library.
Nonces and User Permissions Needed for Security
⚠️ We use nonces where necessary, in the places that your tools warn about this is not necessary and/or possible. The functions where we request $_POST data without nonce checking are all behind the WooCommerce checkout process. Not all WooCommerce add-ons we integrate with work with nonces. That is probably not necessary for security, because WooCommerce plays a major role in this.
Latest version can be downloaded via: https://github.com/pronamic/pronamic-pay-with-rabo-smart-pay-for-woocommerce/releases/tag/v1.0.0-rc.2
I also uploaded a new version via https://wordpress.org/plugins/developers/add/.
If you have questions, concerns, or need clarification, please reply to this email and just ask us.
Remco Tolsma Pronamic