Autoptimize - Version 1.2

Version Description

  • Add workaround for Chitika ads.
  • Add workaround for LinkWithin widget.
  • Belorussian translation
Download this release

Release Info

Developer turl
Plugin Icon 128x128 Autoptimize
Version 1.2
Comparing to
See all releases

Code changes from version 1.1 to 1.2

autoptimize.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Autoptimize
4
  Plugin URI: http://www.turleando.com.ar/autoptimize/
5
  Description: Optimizes your website, concatenating the CSS and JavaScript code, and compressing it.
6
- Version: 1.1
7
  Author: Emilio López
8
  Author URI: http://www.turleando.com.ar/
9
  Released under the GNU General Public License (GPL)
3
  Plugin Name: Autoptimize
4
  Plugin URI: http://www.turleando.com.ar/autoptimize/
5
  Description: Optimizes your website, concatenating the CSS and JavaScript code, and compressing it.
6
+ Version: 1.2
7
  Author: Emilio López
8
  Author URI: http://www.turleando.com.ar/
9
  Released under the GNU General Public License (GPL)
classes/autoptimizeScripts.php CHANGED
@@ -3,9 +3,9 @@
3
  class autoptimizeScripts extends autoptimizeBase
4
  {
5
  private $scripts = array();
6
- private $dontmove = array('document.write','show_ads.js','google_ad','blogcatalog.com/w','tweetmeme.com/i','mybloglog.com/','var s_sid = ','histats.com/js','smowtion_size','ads.smowtion.com/ad.js','sc_project','statcounter.com/counter/counter.js','widgets.amung.us','WAU_','wau_add','ws.amazon.com/widgets','media.fastclick.net','/ads/','comment-form-quicktags/quicktags.php','edToolbar','intensedebate.com');
7
  private $domove = array('gaJsHost','load_cmc','jd.gallery.transitions.js','swfobject.embedSWF(');
8
- private $domovelast = array('addthis.com','/afsonline/show_afs_search.js','disqus.js','networkedblogs.com/getnetworkwidget','infolinks.com/js/','jd.gallery.js.php','jd.gallery.transitions.js','swfobject.embedSWF(');
9
  private $trycatch = false;
10
  private $yui = false;
11
  private $jscode = '';
3
  class autoptimizeScripts extends autoptimizeBase
4
  {
5
  private $scripts = array();
6
+ private $dontmove = array('document.write','show_ads.js','google_ad','blogcatalog.com/w','tweetmeme.com/i','mybloglog.com/','var s_sid = ','histats.com/js','smowtion_size','ads.smowtion.com/ad.js','sc_project','statcounter.com/counter/counter.js','widgets.amung.us','WAU_','wau_add','ws.amazon.com/widgets','media.fastclick.net','/ads/','comment-form-quicktags/quicktags.php','edToolbar','intensedebate.com','ch_client','scripts.chitika.net/');
7
  private $domove = array('gaJsHost','load_cmc','jd.gallery.transitions.js','swfobject.embedSWF(');
8
+ private $domovelast = array('addthis.com','/afsonline/show_afs_search.js','disqus.js','networkedblogs.com/getnetworkwidget','infolinks.com/js/','jd.gallery.js.php','jd.gallery.transitions.js','swfobject.embedSWF(','linkwithin.com/widget.js');
9
  private $trycatch = false;
10
  private $yui = false;
11
  private $jscode = '';
localization/autoptimize-be_BY.mo ADDED
Binary file
localization/autoptimize-be_BY.po ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR Emilio Lpez
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: AO\n"
9
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/autoptimize\n"
10
+ "POT-Creation-Date: 2009-07-21 03:53+0000\n"
11
+ "PO-Revision-Date: 2010-04-12 13:09+0300\n"
12
+ "Last-Translator: FatCow <zhr@tut.by>\n"
13
+ "Language-Team: Marcis G. <by.marcis@gmail.com>\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "X-Poedit-Language: Belarusian\n"
18
+ "X-Poedit-Country: BELARUS\n"
19
+ "X-Poedit-SourceCharset: utf-8\n"
20
+
21
+ #: classes/autoptimizeConfig.php:44
22
+ msgid "Autoptimize Settings"
23
+ msgstr "Налады Autoptimize "
24
+
25
+ #: classes/autoptimizeConfig.php:49
26
+ msgid "HTML Options"
27
+ msgstr "Налады HTML "
28
+
29
+ #: classes/autoptimizeConfig.php:52
30
+ msgid "Optimize HTML Code?"
31
+ msgstr "Оптимищировать HTML-код?"
32
+
33
+ #: classes/autoptimizeConfig.php:57
34
+ msgid "JavaScript Options"
35
+ msgstr "Налады JavaScript "
36
+
37
+ #: classes/autoptimizeConfig.php:60
38
+ msgid "Optimize JavaScript Code?"
39
+ msgstr "Аптымiзаваць HTML-код?"
40
+
41
+ #: classes/autoptimizeConfig.php:64
42
+ msgid "Look for scripts only in &lt;head&gt;?"
43
+ msgstr "Шукайце толькі ў сцэнарыях &lt;head&gt;?"
44
+
45
+ #: classes/autoptimizeConfig.php:66
46
+ #: classes/autoptimizeConfig.php:84
47
+ msgid "Disabled by default. If the cache gets big, you might want to enable this."
48
+ msgstr "Па змаўчанні выключана. Калі кэш вялікай, вы можаце ўключыць гэту опцыю."
49
+
50
+ #: classes/autoptimizeConfig.php:69
51
+ msgid "Add try-catch wrapping?"
52
+ msgstr "Дадаць паспрабуй злавіць пакаванні?"
53
+
54
+ #: classes/autoptimizeConfig.php:71
55
+ msgid "Disabled by default. If your scripts break because of an script error, you might want to try this."
56
+ msgstr "Па змаўчанні выключана. Калі вашы скрыпты перакопваюцца з-за памылкі сцэнара, вы можаце паспрабаваць гэта."
57
+
58
+ #: classes/autoptimizeConfig.php:75
59
+ msgid "CSS Options"
60
+ msgstr "CSS налады"
61
+
62
+ #: classes/autoptimizeConfig.php:78
63
+ msgid "Optimize CSS Code?"
64
+ msgstr "Оптимищировать CSS-код?"
65
+
66
+ #: classes/autoptimizeConfig.php:82
67
+ msgid "Look for styles on just &lt;head&gt;?"
68
+ msgstr "Шукайце толькі ў сценарях &lt;head&gt;?"
69
+
70
+ #: classes/autoptimizeConfig.php:91
71
+ msgid "Save Changes"
72
+ msgstr "Захаваць змены"
73
+
74
+ #: classes/autoptimizeConfig.php:101
75
+ msgid "Autoptimize Options"
76
+ msgstr "Налады Autoptimize "
77
+
78
+ #: classes/autoptimizeConfig.php:126
79
+ #: classes/autoptimizeConfig.php:133
80
+ msgid "Settings"
81
+ msgstr "Налады"
82
+
83
+ #. Plugin Name of an extension
84
+ msgid "Autoptimize"
85
+ msgstr "Autoptimize"
86
+
87
+ #. Description of an extension
88
+ msgid "Optimizes your website, concatenating the CSS and JavaScript code, and compressing it."
89
+ msgstr "Аптымізацыя вашага сайта метадам аб'яднання CSS і JavaScript-кода і іх сціскі."
90
+
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: turl
3
  Donate link: http://www.turleando.com.ar/autoptimize/
4
  Tags: css, html, javascript, js, optimize, speed, cache
5
  Requires at least: 2.7
6
- Tested up to: 2.8.6
7
- Stable tag: 1.1
8
 
9
  Autoptimize is a Wordpress plugin that speeds up your website, and helps you save bandwidth.
10
 
@@ -38,6 +38,11 @@ Sure, you can help with translations in the [Launchpad translation page](https:/
38
 
39
  == Changelog ==
40
 
 
 
 
 
 
41
  = 1.1 =
42
  * Add workarounds for amazon and fastclick
43
  * Add workaround for Comment Form Quicktags
3
  Donate link: http://www.turleando.com.ar/autoptimize/
4
  Tags: css, html, javascript, js, optimize, speed, cache
5
  Requires at least: 2.7
6
+ Tested up to: 2.9.2
7
+ Stable tag: 1.2
8
 
9
  Autoptimize is a Wordpress plugin that speeds up your website, and helps you save bandwidth.
10
 
38
 
39
  == Changelog ==
40
 
41
+ = 1.2 =
42
+ * Add workaround for Chitika ads.
43
+ * Add workaround for LinkWithin widget.
44
+ * Belorussian translation
45
+
46
  = 1.1 =
47
  * Add workarounds for amazon and fastclick
48
  * Add workaround for Comment Form Quicktags