{"id":3002,"date":"2008-04-30T08:25:54","date_gmt":"2008-04-30T08:25:54","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/script-compressor\/"},"modified":"2009-08-17T11:41:09","modified_gmt":"2009-08-17T11:41:09","slug":"script-compressor","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/script-compressor\/","author":314058,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.7.1","stable_tag":"1.7.1","tested":"2.8.4","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"Script Compressor","header_author":"Regen","header_description":"","assets_banners_color":"","last_updated":"2009-08-17 11:41:09","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/rp.exadge.com\/2008\/04\/30\/script-compressor\/","header_author_uri":"http:\/\/rp.exadge.com","rating":0,"author_block_rating":0,"active_installs":30,"downloads":16121,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.1.1","1.2","1.3","1.3.1","1.4","1.4.1","1.4.2","1.4.3","1.4.4","1.5","1.5.1","1.6","1.6.1","1.6.2","1.6.3","1.7","1.7.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1538988","resolution":"1","location":"plugin"}},"screenshots":{"1":"A part of the admin page."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3868,356,229],"plugin_category":[59],"plugin_contributors":[83527],"plugin_business_model":[],"class_list":["post-3002","plugin","type-plugin","status-closed","hentry","plugin_tags-compress","plugin_tags-css","plugin_tags-javascript","plugin_category-utilities-and-tools","plugin_contributors-regen","plugin_committers-regen"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/script-compressor.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/script-compressor\/trunk\/screenshot-1.png?rev=1538988","caption":"A part of the admin page."}],"raw_content":"<!--section=description-->\n<p>This plugin compresses javascript files and CSS files loaded by the theme or other plugins automatically.\nExtra spaces, lines, and comments will be deleted.\nThe compressor is based on <a href=\"http:\/\/code.google.com\/p\/jscsscomp\/\">jscsscomp<\/a>.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Auto-compression for the blog header.<\/li>\n<li>Template tags which provide javascript compression.<\/li>\n<li>You can turn on\/off compressions in the admin page.<\/li>\n<li>Editable CSS compression condition.<\/li>\n<li>You can select where to output scripts.<\/li>\n<li>You can exclude scripts from the compression if necessary.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the extracted plugin folder and contained files to your \/wp-content\/plugins\/ directory<\/li>\n<li>Give the write permission to \/wp-content\/plugins\/script-compressor\/cache\n<strong>(Changed since version 1.4)<\/strong><\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Navigate to Settings -&gt; Script Compressor<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>CSS does not work!<\/dt>\n<dd><p>After opening CSS directly by your browser, do super-reloading (Ctrl+F5).<\/p><\/dd>\n<dt>After the deactivation of this plugin, the blog style is broken!<\/dt>\n<dd><p>The mod_rewrite codes may remain in your .htaccess.\nPlease delete these lines in your .htaccess:<\/p>\n\n<pre><code>RewriteEngine on\nRewriteRule ^(.*)\\.css$ \/path-to-wp\/wp-content\/plugins\/script-compressor\/jscsscomp.php?q=$1.css [NC,L]\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.7.1<\/h4>\n\n<ul>\n<li>Fixed IE conditional comment bug.<\/li>\n<li>Fixed regex bug.<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>Added @import compression.<\/li>\n<li>Added a new function \"Remove cache files\".<\/li>\n<\/ul>\n\n<h4>1.6.3<\/h4>\n\n<ul>\n<li>Added some document about the deactivation.<\/li>\n<\/ul>\n\n<h4>1.6.2<\/h4>\n\n<ul>\n<li>Fixed Javascript position bug.<\/li>\n<\/ul>\n\n<h4>1.6.1<\/h4>\n\n<ul>\n<li>Added the auto-compression of theme scripts.<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Added a new option \"Exclude Javascripts\".<\/li>\n<li>Added a new option \"Output Position\".<\/li>\n<\/ul>\n\n<h4>1.5.1<\/h4>\n\n<ul>\n<li>WordPress2.7 support.<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Addied a new option \"Position of Javascripts\".<\/li>\n<\/ul>\n\n<h4>1.4.4<\/h4>\n\n<ul>\n<li>Fixed a bug about the condition of CSS compression.<\/li>\n<\/ul>\n\n<h4>1.4.3<\/h4>\n\n<ul>\n<li>Fixed a bug about .htaccess.<\/li>\n<li>Added a .htaccess permission check.<\/li>\n<\/ul>\n\n<h4>1.4.2<\/h4>\n\n<ul>\n<li>Fixed a bug CSS compression cannot be deactivated.<\/li>\n<li>Added a permission check message.<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<ul>\n<li>Fixed a bug admin css files breaking.<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Added a new CSS compression method.<\/li>\n<li>Added a Gzip option.<\/li>\n<li>Changed the output charset into that of WP.<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Maked external Javascripts not picked up.<\/li>\n<li>Some bug fixs.<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Maked .htaccess in this plugin unnecessary.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Fixed a bug that URL with parameters breaks output.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Added CSS compression condition.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added a selecting charaset function.<\/li>\n<li>Improved Javascript regex.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"This plugin compresses javascript files and css files.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/3002","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=3002"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/regen"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=3002"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=3002"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=3002"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=3002"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=3002"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=3002"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}