I got soft rejected twice on codecanyon.net and did fix all the issues that were mentioned in the first email, but the second email that I got didn’t identify which of the issues I missed. I don’t know what to fix on the item.
Are there any tools (similar to theme checker) that are used to check for errors on WordPress plugins?
Hi,
Thank you for your response,
Below is the message from the reviewer
Some of the previously raised issues have not been addressed.
Please go back through your previous review(s) and ensure ALL raised issues have been addressed before resubmitting.
Resubmitting without making the required changes or any improvements is not considered acceptable use of the Envato marketplaces and repeated attempts may result in a temporary or permanent suspension of authorship.
It mean all issues mentioned in previous soft rejections have not been resolved. please double check all previous issues and fix all. Resubmitting without resolving all mentioned issues may receive hard rejection.
Hi,
Thank you for your response,
I did make the changes that were mentioned in the first email that I received, below are the issues that were mentioned in that email.
Please use a unique prefix for all function names, custom images sizes, classes, CONSTANTS, hooks, public / global variables, and database entries to avoid conflict issues with plugins and other themes.
Anything before the first underscore is classed as the prefix and all prefixes must be 3 chars or more.
You cannot use wc_, woo_, woocommerce, wp_ or wordpress_
For example, pluginname_ OR frameworkname_
You can have frameworkname_ if you are using a framework while using pluginname_ for your plugins.
The plugin’s prefix was initially WC_Shipped for all classes, I changed that to TRS_Shipped.
The constants were WC_SHIPPED, I changed those to TRS_SHIPPED.
I also changed the {item-name}.pot to “trsd-shipped” (which is the text domain for the plugin)
It is really difficult to say what you are doing wrong because all issues are coding related. Just I would like to recommend please double check all of your code and make sure nothing missing mentioned in the soft rejection. The following issues are very strong:
Please use a unique prefix for all function names, custom images sizes, classes, CONSTANTS, hooks, public / global variables, and database entries to avoid conflict issues with plugins and other themes.
Okay, thank you,
May I ask, what will happen to my account once I made the changes and resubmit the plugin and they still find issues on the plugin, will I be banned?
It depends on the review team’s decision but from my knowledge, you will not be banned because you didn’t resubmit many times for the same issues. and in this case, the reviewer can hard reject the item, and if good luck then again soft rejection.
Please don’t forget to mention what changes you have made when you will resubmit in the Comments for the reviewer box (Comments field) in the form. It can help you.
So the item name is WooCommerce Table Rate Shipping,
I initially chose WC_Shipped as the prefix (i.e “Main” class will be “WC_Shipped_Main” and so on)
I then later changed it to TRS_Shipped still a prefix.
Now the main confusion is not even the prefix. the main confusion is that I don’t know which of the requirements mentioned that I missed
Global functions (who do not belong to any class): Screenshot by Lightshot (always check if the function do not exist to prevent critical errors, same apply for classes).
Anything else that could disappear or not being used when your theme/plugin is not active: Screenshot by Lightshot (a good example are image sizes, only your plugin will use that exact dimension).
Escaping translations: Screenshot by Lightshot (double check they are used in the correct way).
I think the most important is to ensure no other plugin or theme, could affect your plugin code functionality. The most efficient way is to use classes, but i use a mix of both.
And finally, describe all your changes (in detail), even with screenshot if needed. And take your time to upload a new submission (double and triple check everything) usually reviewers will always find something which is not correct.
@Typps@EstudioPatagon@mgscoder@ThemeGer
Thank you guys for the help,
The plugin has been approved,
I use “wp i18n make-pot . languages/item-name.pot” command to generate the POT file and then Poedit to convert the POT file to .po and mo files.
The plugin URL is [link removed]
Thank you
WooPricely — WooCommerce Dynamic Pricing & Discounts
this plugin is very good but with the wp 6.1 and woocomerce version 7.0.1 it slows down the site and it cannot be used