Changeset 1231472
- Timestamp:
- 08/26/2015 07:54:27 PM (11 years ago)
- Location:
- wp-super-simple-speed/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (4 diffs)
-
super-simple-speed.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-super-simple-speed/trunk/readme.txt
r1201836 r1231472 1 1 === WP Super Simple Speed === 2 2 Contributors: RSPublishing 3 Plugin URI: http:// optipress.org3 Plugin URI: http://wp-superformance.com/ 4 4 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TLS42C63EVL2A 5 5 Tags: gzip, compression, js, css, optimize, performance, boost, page speed, pagespeed, seo, gtmetrix, pingdom, yslow, caching, cache, compress, image, hotlink, protection, bandwith, speed, fast, increase conversions, server load, web optimization 6 6 Requires at least: 3.2.0 7 Tested up to: 4.2. 28 Stable tag: 1.4. 7187 Tested up to: 4.2.4 8 Stable tag: 1.4.810 9 9 10 10 Super Simple Speed is a stable and powerful plugin that dramatically increases your site speed without any hassle (or clutter). … … 33 33 √ plugin is less than 20kb in size 34 34 √ no unnecessary code or clutter 35 √ one click activate/deactivate 35 36 √ no configs or learning curve 37 38 = Premium Features = 39 40 √ EVERYTHING in free version PLUS the following 41 42 √ full browser caching and content compression (mod_deflate, far-future-expires-headers and cache-control) 43 √ automatically sets UTF-8 character encoding for .css .atom .rdf and several other file types 44 √ forces compression for mangled `Accept-Encoding` request headers 45 √ sends the CORS header for images when requested 46 √ allows cross-origin access to web fonts 47 √ prevents recompression for certain data 48 √ disables post-revisions and auto-drafts 49 √ disables self-pings 50 51 √ includes automatic html/js/css optimization and compression 52 √ includes automatic image lazy loading functionality 53 54 √ one click installation 55 √ ideal for shared-hosting environments 56 √ WooCommerce and EDD compatible 57 √ no annual license renewals 58 √ most lightweight WordPress performance plugin (less than 50KB in size) 36 59 37 60 = Need help with your page speed? = 38 61 39 Don't have the time to optimize your site for best p erformance and speed? You bump into conflicts when trying? Wecan help. Visit us at [OPTIPress - The WP Page Speed and Performance Professionals](http://optipress.org/) to see what we can do for you.62 Don't have the time to optimize your site for best page speed and performance? Bumping into conflicts when trying? OPTIPress can help. Visit us at [OPTIPress - The WP Page Speed and Performance Professionals](http://optipress.org/) to see what we can do for you. 40 63 41 64 = Backup = 42 65 43 Please make sure that you make a backup of your root .htaccess before installing this plugin (just good practice).66 Please make sure that you make a backup of your root .htaccess before installing this plugin (just for good practice). 44 67 45 = Uninstalling (important) = 46 47 Should you for any reason whatsoever decide to deactivate & uninstall this plugin - do keep in mind that doing so will result in your root .htaccess being wiped clean. When this happens, simply head over to your settings > permalink settings and re-save your current permalink structure (this will prevent your site from breaking). Alternatively, you can upload your backed up .htaccess file. Then again, there is no reason to deactivate and uninstall this plugin as it doesn't alter your current .htaccess settings - it simply adds to it ! 48 49 = See an invalid argument error? (important) = 50 51 Disable the display_errors setting on your web hosting account. This is a PHP setting that makes it display potential errors and other such things. The (possible) reported issue is a "Warning" and not an actual error. 52 53 The code actually works fine, it's just that when you have debugging turned on, you'll get this message. 54 55 Generally, live websites should not have error displays enabled in the first place. It's not a safe thing to do. 56 57 The WP Super Simple Speed plugin is maintained by [OPTIPress - The WP Page Speed and Performance Optimization Professionals](http://optipress.org/) 68 The WP Super Simple Speed plugin is maintained by [OPTIPress - The WordPress Page Speed and Performance Optimization Professionals](http://optipress.org/) 58 69 59 70 == Installation == … … 70 81 == Upgrade Notice == 71 82 72 = Version 1.4. 718=83 = Version 1.4.810 = 73 84 74 85 == Screenshots == … … 131 142 * removed footer_enqueue_scripts() function (conflicts with some js functions in responsive themes) 132 143 * fixed typo error 144 145 = 1.4.810 = 146 147 * modified deactivate feature (deactivate = will restore user's root .htaccess and only remove rules added by this plugin) 148 * modified core super-simple-speed.php file (removed unnecessary code and optimized directives) 149 * tested plugin compatibility with core version 4.2.4 150 * added link for plugin ratings and premium version -
wp-super-simple-speed/trunk/super-simple-speed.php
r1201836 r1231472 5 5 Plugin URI: http://optipress.org/ 6 6 Description: Super Simple Speed is a stable and powerful plugin that dramatically increases your site speed without any hassle. Simply activate and enjoy - no configuration needed! Uses gzip compression, leverages browser cache, includes automatic hotlink protection and much more. Running into problems? Need help with your page speed? Come see us at <a href="http://optipress.org/">OPTIPress</a>. 7 Author: RSPublishing | OPTIPress8 Author URI: http:// optipress.org/9 Version: 1.4. 7187 Author: RSPublishing 8 Author URI: http://wp-superformance.com/ 9 Version: 1.4.810 10 10 */ 11 11 … … 30 30 require_once('inc-functions.php'); 31 31 32 function rate_wpsuperf($links, $file) { 33 if ($file == plugin_basename(__FILE__)) { 34 $rate_url = 'http://wordpress.org/support/view/plugin-reviews/' . basename(dirname(__FILE__)) . '?rate=5#postform'; 35 $wpsuperf_pro = 'http://wp-superformance.com/'; 36 $links[] = '<a href="' . $rate_url . '" target="_blank" title="Click here to rate and review this plugin on WordPress.org">Rate this plugin</a>'; 37 $links[] = '<a target="_blank" href="'. $wpsuperf_pro .'" title="Get Pro version today" style="padding:1px 3px;color:#fff;background:#feba12;border-radius:1px;">Go Pro</a>'; 38 } 39 return $links; 40 } 41 42 add_filter('plugin_row_meta', 'rate_wpsuperf', 10, 2); 43 32 44 global $super_simple_speed; 33 global $hotlink, $hta1, $hta2, $hta3, $hta4, $hta5, $hta6; 45 global $hotlink; 46 global $hta1; 47 global $hta2; 48 global $hta3; 49 global $hta4; 50 global $hta5; 51 global $hta6; 52 34 53 35 54 $url = strtolower(get_bloginfo('url')); … … 123 142 function gear_5_activate() { 124 143 global $super_simple_speed; 125 global $hotlink, $hta1, $hta2, $hta3, $hta4, $hta5, $hta6; 144 global $hotlink; 145 global $hta1; 146 global $hta2; 147 global $hta3; 148 global $hta4; 149 global $hta5; 150 global $hta6; 126 151 127 152 if (file_exists($super_simple_speed)) { … … 133 158 134 159 $fh = fopen($super_simple_speed, 'w') or die("can't open file"); 135 fwrite($fh, $htaccess.$hotlink.$hta1.$hta2.$hta3.$hta4.$hta5.$hta6); 160 fwrite($fh, $htaccess.$hotlink); 161 fwrite($fh, $hta1); 162 fwrite($fh, $hta2); 163 fwrite($fh, $hta3); 164 fwrite($fh, $hta4); 165 fwrite($fh, $hta5); 166 fwrite($fh, $hta6); 136 167 fclose($fh); 137 168 } … … 141 172 function gear_5_deactivate() { 142 173 global $super_simple_speed; 143 global $hta1, $hta2, $hta3, $hta4, $hta5, $hta6; 174 global $hotlink; 175 global $hta1; 176 global $hta2; 177 global $hta3; 178 global $hta4; 179 global $hta5; 180 global $hta6; 144 181 145 182 if (file_exists($super_simple_speed)) { … … 149 186 fclose($fh); 150 187 151 $htaccess = str_replace($hta1, $hta2, $hta3, $hta4, $hta5, $hta6, "",$htaccess); 188 $htaccess = str_replace($hotlink, "", $htaccess); 189 $htaccess = str_replace($hta1, "",$htaccess); 190 $htaccess = str_replace($hta2, "",$htaccess); 191 $htaccess = str_replace($hta3, "",$htaccess); 192 $htaccess = str_replace($hta4, "",$htaccess); 193 $htaccess = str_replace($hta5, "",$htaccess); 194 $htaccess = str_replace($hta6, "",$htaccess); 152 195 153 196 $fh = fopen($super_simple_speed, 'w') or die("can't open file"); 154 fwrite($fh );197 fwrite($fh, $htaccess); 155 198 fclose($fh); 156 199 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](https://plugins.trac.wordpress.org/chrome/site/your_project_logo.png)