"No inline JavaScript" How to do with dynamically generated javascript in php files ?

Hi, My plugin has been disabled and one of the reason is :

No inline JavaScript All JavaScript must be separated into an external file.

I have inline javascript code in my php file and it is dynamycally generated. How to do ?

Same for CSS. I have inline CSS dynamically generated by PHP.

This goes to say one more time that reviewers have absolutely no clue what they are doing.

2 Likes

Reviewers are asking non-sense changes that create only problems and that are actually creating bugs that there were not present before. Incredible.

1 Like

Just submit the item again with the explanation that the jQuery codes are being generated automatically/dynamically and there’s no work-around.