WP SVG Icons - Version 3.2.1

Version Description

  • January 13th, 2017 =
  • Tweak: Removed deprecated and replace with wp_get_current_user().

=

Download this release

Release Info

Developer eherman24
Plugin Icon 128x128 WP SVG Icons
Version 3.2.1
Comparing to
See all releases

Code changes from version 3.2.0 to 3.2.1

admin/class-wp-svg-icons-admin.php CHANGED
@@ -367,8 +367,7 @@ class WP_SVG_Icons_Admin {
367
  $reviewurl = 'https://wordpress.org/support/view/plugin-reviews/svg-vector-icon-plugin';
368
  $go_pro_url = 'https://www.evan-herman.com/wp-svg-icons-pro/';
369
  $nobugurl = add_query_arg( 'wp_svg_icons_nobug', '1', admin_url() );
370
- global $current_user;
371
- get_currentuserinfo();
372
  if ( '' != $current_user->user_firstname ) {
373
  $review_message = '<p>' . sprintf( __( "Hey" , "wp-svg-icons" ) . " " . $current_user->user_firstname . __( ", You've been using" , "wp-svg-icons" ) . " <strong>WP SVG Icons</strong> " . __( "for 2 weeks now. We certainly hope you're enjoying the power and all the features packed into the free version. If so, leave us a review, we'd love to hear what you have to say. If you're really enjoying the plugin, consider upgrading to the pro version for some added features and premium support." , "wp-svg-icons" ) . "<br /><br /> <span class='button-container'> <a href='%s' target='_blank' class='button-secondary'>" . __( "Leave A Review" , "wp-svg-icons" ) . "</a> <a href='%s?utm_source=wps-svg-icons-2week-notice&utm_medium=button&utm_campaign=wp-svg-icons-2week-notice' target='_blank' class='button-secondary'>" . __( "Upgrade to Pro" , "wp-svg-icons" ) . "</a> <a href='%s' class='button-secondary'>" . __( "Dismiss" , "wp-svg-icons" ) . "</a> </span>", $reviewurl, $go_pro_url, $nobugurl ) . '</p>';
374
  } else {
367
  $reviewurl = 'https://wordpress.org/support/view/plugin-reviews/svg-vector-icon-plugin';
368
  $go_pro_url = 'https://www.evan-herman.com/wp-svg-icons-pro/';
369
  $nobugurl = add_query_arg( 'wp_svg_icons_nobug', '1', admin_url() );
370
+ $current_user = wp_get_current_user();
 
371
  if ( '' != $current_user->user_firstname ) {
372
  $review_message = '<p>' . sprintf( __( "Hey" , "wp-svg-icons" ) . " " . $current_user->user_firstname . __( ", You've been using" , "wp-svg-icons" ) . " <strong>WP SVG Icons</strong> " . __( "for 2 weeks now. We certainly hope you're enjoying the power and all the features packed into the free version. If so, leave us a review, we'd love to hear what you have to say. If you're really enjoying the plugin, consider upgrading to the pro version for some added features and premium support." , "wp-svg-icons" ) . "<br /><br /> <span class='button-container'> <a href='%s' target='_blank' class='button-secondary'>" . __( "Leave A Review" , "wp-svg-icons" ) . "</a> <a href='%s?utm_source=wps-svg-icons-2week-notice&utm_medium=button&utm_campaign=wp-svg-icons-2week-notice' target='_blank' class='button-secondary'>" . __( "Upgrade to Pro" , "wp-svg-icons" ) . "</a> <a href='%s' class='button-secondary'>" . __( "Dismiss" , "wp-svg-icons" ) . "</a> </span>", $reviewurl, $go_pro_url, $nobugurl ) . '</p>';
373
  } else {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.evan-herman.com/contact/?contact-reason=I%20want%20to%2
4
  Tags: font icon, responsive, svg, font awesome, icons, bootstrap, navicons, icomoon, custom, FontAwesome, icon font, glyph
5
  Requires at least: 3.5
6
  Tested up to: 4.9
7
- Stable tag: 3.2.0
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -258,10 +258,8 @@ If you buy the pro version you will also receive support and updates for one yea
258
 
259
  == Upgrade Notice ==
260
 
261
- = 3.2.0 - January 13th, 2017 =
262
- * Refactored sections of the plugin.
263
- * Cleared a few warnings on custom pack upload page.
264
- * Prepping for re-write.
265
 
266
  == Usage Instructions ==
267
 
4
  Tags: font icon, responsive, svg, font awesome, icons, bootstrap, navicons, icomoon, custom, FontAwesome, icon font, glyph
5
  Requires at least: 3.5
6
  Tested up to: 4.9
7
+ Stable tag: 3.2.1
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
258
 
259
  == Upgrade Notice ==
260
 
261
+ = 3.2.1 - January 13th, 2017 =
262
+ * Tweak: Removed deprecated and replace with `wp_get_current_user()`.
 
 
263
 
264
  == Usage Instructions ==
265
 
wp-svg-icons.php CHANGED
@@ -8,7 +8,7 @@
8
  * Plugin Name: WP SVG Icons
9
  * Plugin URI: https://www.evan-herman.com/wordpress-plugin/wp-svg-icons/
10
  * Description: Quickly and effortlessly gain access to 492 beautifully designed SVG font icons, available on the frontend and backend of your site.
11
- * Version: 3.2.0
12
  * Author: EH Dev Shop
13
  * Author URI: http://evan-herman.com
14
  * License: GPL-3.0+
8
  * Plugin Name: WP SVG Icons
9
  * Plugin URI: https://www.evan-herman.com/wordpress-plugin/wp-svg-icons/
10
  * Description: Quickly and effortlessly gain access to 492 beautifully designed SVG font icons, available on the frontend and backend of your site.
11
+ * Version: 3.2.1
12
  * Author: EH Dev Shop
13
  * Author URI: http://evan-herman.com
14
  * License: GPL-3.0+