WP Performance Score Booster - Version 1.4

Version Description

Download this release

Release Info

Developer dipakcg
Plugin Icon 128x128 WP Performance Score Booster
Version 1.4
Comparing to
See all releases

Code changes from version 1.3.1 to 1.4

assets/css/style.css CHANGED
@@ -17,4 +17,18 @@
17
  }
18
  .wppsb_admin_dev_sidebar a{
19
  text-decoration: none;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  }
17
  }
18
  .wppsb_admin_dev_sidebar a{
19
  text-decoration: none;
20
+ }
21
+ .news_section {
22
+ border-radius: 10px;
23
+ background-color: #FFFFFF;
24
+ padding: 20px 20px 20px 20px;
25
+ width: 98%;
26
+ }
27
+
28
+ a.rsswidget {
29
+ font-size: 16px !important;
30
+ text-decoration: none !important;
31
+ }
32
+ .rss-widget ul li {
33
+ margin-bottom: 25px !important;
34
  }
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: dipakcg
3
  Tags: performance, speed, time, query, strings, gzip, compression, caching, boost, pingdom, gtmetrix, yslow, pagespeed, enqueue, scripts
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3S8BRPLWLNQ38
5
  Requires at least: 3.5
6
- Tested up to: 4.1
7
- Stable tag: 1.3.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -44,6 +44,9 @@ Pretty much, yeah.
44
  1. Admin Settings
45
 
46
  == Changelog ==
 
 
 
47
  = 1.3.1, Dec 30, 2014 =
48
  * Fixed issues with htaccess causing internal server error
49
 
3
  Tags: performance, speed, time, query, strings, gzip, compression, caching, boost, pingdom, gtmetrix, yslow, pagespeed, enqueue, scripts
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3S8BRPLWLNQ38
5
  Requires at least: 3.5
6
+ Tested up to: 4.4
7
+ Stable tag: 1.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
44
  1. Admin Settings
45
 
46
  == Changelog ==
47
+ = 1.4, Feb 28, 2015 =
48
+ * Added News and Updates section in admin options
49
+
50
  = 1.3.1, Dec 30, 2014 =
51
  * Fixed issues with htaccess causing internal server error
52
 
wp-performance-score-booster.php CHANGED
@@ -3,9 +3,9 @@
3
  Plugin Name: WP Performance Score Booster
4
  Plugin URI: https://github.com/dipakcg/wp-performance-score-booster
5
  Description: Speed-up page load times and improve website scores in services like PageSpeed, YSlow, Pingdom and GTmetrix.
6
- Version: 1.3.1
7
  Author: Dipak C. Gajjar
8
- Author URI: http://dipakgajjar.com
9
  Text Domain: wp-performance-score-booster
10
  */
11
 
@@ -14,7 +14,7 @@ if (!defined('WPPSB_PLUGIN_VERSION')) {
14
  define('WPPSB_PLUGIN_VERSION', 'wppsb_plugin_version');
15
  }
16
  if (!defined('WPPSB_PLUGIN_VERSION_NUM')) {
17
- define('WPPSB_PLUGIN_VERSION_NUM', '1.3.1');
18
  }
19
  update_option(WPPSB_PLUGIN_VERSION, WPPSB_PLUGIN_VERSION_NUM);
20
 
@@ -214,7 +214,7 @@ function wppsb_admin_options() {
214
  </td>
215
  <td style="text-align: left;">
216
  <div class="wppsb_admin_dev_sidebar_div">
217
- <img src="http://www.gravatar.com/avatar/38b380cf488d8f8c4007cf2015dc16ac.jpg" width="100px" height="100px" /> <br />
218
  <span class="wppsb_admin_dev_sidebar"> <?php echo '<img src="' . plugins_url( 'assets/images/wppsb-support-this-16x16.png' , __FILE__ ) . '" > '; ?> <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3S8BRPLWLNQ38" target="_blank"> <?php _e('Support this plugin and donate', 'wp-performance-score-booster'); ?> </a> </span>
219
  <span class="wppsb_admin_dev_sidebar"> <?php echo '<img src="' . plugins_url( 'assets/images/wppsb-rate-this-16x16.png' , __FILE__ ) . '" > '; ?> <a href="http://wordpress.org/support/view/plugin-reviews/wp-performance-score-booster" target="_blank"> <?php _e('Rate this plugin on WordPress.org', 'wp-performance-score-booster'); ?> </a> </span>
220
  <span class="wppsb_admin_dev_sidebar"> <?php echo '<img src="' . plugins_url( 'assets/images/wppsb-wordpress-16x16.png' , __FILE__ ) . '" > '; ?> <a href="http://wordpress.org/support/plugin/wp-performance-score-booster" target="_blank"> <?php _e('Get support on on WordPress.org', 'wp-performance-score-booster'); ?> </a> </span>
@@ -229,6 +229,25 @@ function wppsb_admin_options() {
229
  </table>
230
  </div>
231
  <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
232
  }
233
 
234
  // Register admin menu
3
  Plugin Name: WP Performance Score Booster
4
  Plugin URI: https://github.com/dipakcg/wp-performance-score-booster
5
  Description: Speed-up page load times and improve website scores in services like PageSpeed, YSlow, Pingdom and GTmetrix.
6
+ Version: 1.4
7
  Author: Dipak C. Gajjar
8
+ Author URI: https://dipakgajjar.com
9
  Text Domain: wp-performance-score-booster
10
  */
11
 
14
  define('WPPSB_PLUGIN_VERSION', 'wppsb_plugin_version');
15
  }
16
  if (!defined('WPPSB_PLUGIN_VERSION_NUM')) {
17
+ define('WPPSB_PLUGIN_VERSION_NUM', '1.4');
18
  }
19
  update_option(WPPSB_PLUGIN_VERSION, WPPSB_PLUGIN_VERSION_NUM);
20
 
214
  </td>
215
  <td style="text-align: left;">
216
  <div class="wppsb_admin_dev_sidebar_div">
217
+ <img src="//www.gravatar.com/avatar/38b380cf488d8f8c4007cf2015dc16ac.jpg" width="100px" height="100px" /> <br />
218
  <span class="wppsb_admin_dev_sidebar"> <?php echo '<img src="' . plugins_url( 'assets/images/wppsb-support-this-16x16.png' , __FILE__ ) . '" > '; ?> <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3S8BRPLWLNQ38" target="_blank"> <?php _e('Support this plugin and donate', 'wp-performance-score-booster'); ?> </a> </span>
219
  <span class="wppsb_admin_dev_sidebar"> <?php echo '<img src="' . plugins_url( 'assets/images/wppsb-rate-this-16x16.png' , __FILE__ ) . '" > '; ?> <a href="http://wordpress.org/support/view/plugin-reviews/wp-performance-score-booster" target="_blank"> <?php _e('Rate this plugin on WordPress.org', 'wp-performance-score-booster'); ?> </a> </span>
220
  <span class="wppsb_admin_dev_sidebar"> <?php echo '<img src="' . plugins_url( 'assets/images/wppsb-wordpress-16x16.png' , __FILE__ ) . '" > '; ?> <a href="http://wordpress.org/support/plugin/wp-performance-score-booster" target="_blank"> <?php _e('Get support on on WordPress.org', 'wp-performance-score-booster'); ?> </a> </span>
229
  </table>
230
  </div>
231
  <?php
232
+ echo '<hr style="margin-bottom: 2em;" />';
233
+ echo '<table cellspacing="0" cellpadding="0" class="news_section"> <tr>';
234
+ echo '<td width="50%" valign="top">';
235
+ echo '<h1>News & Updates from Dipak C. Gajjar</h1>';
236
+ echo '<div class="rss-widget">';
237
+ wp_widget_rss_output(array(
238
+ 'url' => 'https://dipakgajjar.com/category/news/feed/?refresh='.rand(10,100).'', // feed URL
239
+ 'title' => 'News & Updates from Dipak C. Gajjar',
240
+ 'items' => 3, // nubmer of posts to display
241
+ 'show_summary' => 1,
242
+ 'show_author' => 0,
243
+ 'show_date' => 0
244
+ ));
245
+ echo '</div> <td width="5%"> &nbsp </td>';
246
+ echo '</td> <td valign="top">';
247
+ ?>
248
+ <a class="twitter-timeline" data-dnt="true" href="https://twitter.com/dipakcgajjar" data-widget-id="547661367281729536">Tweets by @dipakcgajjar</a>
249
+ <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
250
+ <?php echo '</td> </tr> </table>';
251
  }
252
 
253
  // Register admin menu