How to ensure that your plugin follows envato guidelines

If you want to sell your plugin with envato market, you should make sure that you follow the next guidelines.

Step 1: Remove commented code

Run through your files and make sure that no commented code exists. If it exists, just delete it.

Step 2: Use strict mode in javascript

Make sure that your code is like this:

jQuery(function () {
'use strict';
...

Step 3: Use WordPress escaping functions

Replace

  • __ with esc_html__
  • _e with esc_html_e