In the section on human readable code:
Using p,a,c,k,e,r or uglify is to be avoided.
WordPress core uses uglify to minify its JS files, so I've always intended to imitate that in plugins. Is there a reason that I shouldn't? Is WordPress just using uglify to provide minified versions of files for back-compat? I've always thought that providing minified scripts and styles was best-practice.
In the section on human readable code:
WordPress core uses uglify to minify its JS files, so I've always intended to imitate that in plugins. Is there a reason that I shouldn't? Is WordPress just using uglify to provide minified versions of files for back-compat? I've always thought that providing minified scripts and styles was best-practice.