No need for the $post global in _s_scripts()
No need for the $post global in _s_scripts()

The wp_attachment_is_image() function will figure out the $post global internally, does not require one to be passed. Makes _s_scripts look cleaner.

carl-alberto/business-portfolio,SparkartGroupInc/nadando,jchck/jchck_,andbaz/launchbaz,solidusjs/wp-solidus,madeso-uk/vcsassist,jchck/jchck_,vaishaliagola27/_s,madeso-uk/vcsassist,carl-alberto/business-portfolio,vaishaliagola27/_s,andbaz/launchbaz,vaishaliagola27/_s