i got [Soft Rejected] new Wowonder Theme!

after 2 month working a theme for Wowonder called Simplest http://foxthemes.net/demo/simplest/
. after i submitted .i got [Soft Rejected].

Reason

  1. All JavaScript should be written with “use strict” mode on. For example, you can do this with jQuery as follows: (function($) { “use strict”; // Author code here })(jQuery);
  2. Use .on() rather than .click(), .bind(), .hover(), .submit() etc…
  3. Data Validation issues have been found. Do a global search for “echo $”. All dynamic data must be correctly escaped for the context where it is rendered. Any screenshots provided are simply examples. There may be more issues that are similar. Ensure you check all files and fix all instances of each issue before resubmitting.

Main Javascript file : http://foxthemes.net/demo/simplest/themes/simplest/javascript/script.js

  • There’s no “use strict” mode on the file
  • $(’.dropdown-menu.request-list, .dropdown-menu.post-recipient, .dropdown-menu.post-options’).click(function (e) {
    Basic search results. There may be few more
  • Check the PHP as well ( search echo )

I found it .
Thanks alot for your checking

i resubmitted.
but they told me to fix problem no3 .Data Validation issues
so i need series help guys.

Search ‘echo $’ - those variables must be escaped. Search for any variable in href values (or any url or mailto links), they must be escaped with esc_url() function, all other dynamic variables must either be escaped with esc_attr (id, alt, data, get_permalink() function and similar functions should be escaped as well), textareas should be escaped with esc_textarea. All translatable strings as well (esc_attr_e() and esc_attr__() )