WP Socializer - Version 4.1.4

Version Description

  • Fix: Twitter share button was not working.
  • Fix: Help text given to follow bar editing page.
Download this release

Release Info

Developer vaakash
Plugin Icon 128x128 WP Socializer
Version 4.1.4
Comparing to
See all releases

Code changes from version 4.1.3 to 4.1.4

Files changed (5) hide show
  1. admin/css/style.css +7 -4
  2. admin/followbar.php +2 -2
  3. core/lists.php +2 -2
  4. readme.txt +8 -4
  5. wpsr.php +2 -2
admin/css/style.css CHANGED
@@ -1028,12 +1028,15 @@ select[name="ft_status"]{
1028
  opacity: 0.7;
1029
  }
1030
  .fb_selected label {
1031
- float: left;
1032
- width: 50%;
1033
  box-sizing: border-box;
 
 
 
1034
  }
1035
- .fb_selected label:first-child {
1036
- padding-right: 10px;
 
 
1037
  }
1038
  .fb_selected h4 i {
1039
  margin: 0 5px;
1028
  opacity: 0.7;
1029
  }
1030
  .fb_selected label {
 
 
1031
  box-sizing: border-box;
1032
+ margin-bottom: 10px;
1033
+ display: block;
1034
+ color: #000;
1035
  }
1036
+ .fb_selected label input[type="text"] {
1037
+ font-size:13px;
1038
+ margin-top: 5px;
1039
+ box-shadow: none;
1040
  }
1041
  .fb_selected h4 i {
1042
  margin: 0 5px;
admin/followbar.php CHANGED
@@ -12,7 +12,7 @@ class WPSR_Followbar{
12
 
13
  }
14
 
15
- function popup_editor(){
16
 
17
  global $hook_suffix;
18
  $hook_suffix = WPSR_Admin::$pagehook;
@@ -106,7 +106,7 @@ class WPSR_Followbar{
106
  public static function li_template( $id = '%id%', $name = '%name%', $icon = '%icon%', $color = '%color%', $url = '%url%', $iurl = '%iurl%', $text = '%text%' ){
107
  $title = __( 'Leave blank to use default', 'wpsr' );
108
 
109
- return '<li data-id="' . $id . '"><h4 style="background-color: ' . $color . '"><i class="' . $icon . ' item_icon"></i>' . $name . '<a href="#" class="fb_item_control fb_item_remove">' . __( 'Delete', 'wpsr' ) . '</a><a href="#" class="fb_item_control fb_item_edit">' . __( 'Edit', 'wpsr' ) . '</a></h4><div><label>Button URL: <input type="text" class="widefat fb_item_url" placeholder="Enter profile URL" value="' . $url . '" /></label><label>Button hover text: <input type="text" class="widefat fb_btn_text" title="' . $title . '" placeholder="Enter custom text to show for button" value="' . urldecode( $text ) . '"/></label><label>Icon image URL: <input type="text" class="widefat fb_icon_url" placeholder="Enter custom Icon URL." title="' . $title . '" value="' . $iurl . '"/></label></div></li>';
110
  }
111
 
112
  }
12
 
13
  }
14
 
15
+ public static function popup_editor(){
16
 
17
  global $hook_suffix;
18
  $hook_suffix = WPSR_Admin::$pagehook;
106
  public static function li_template( $id = '%id%', $name = '%name%', $icon = '%icon%', $color = '%color%', $url = '%url%', $iurl = '%iurl%', $text = '%text%' ){
107
  $title = __( 'Leave blank to use default', 'wpsr' );
108
 
109
+ return '<li data-id="' . $id . '"><h4 style="background-color: ' . $color . '"><i class="' . $icon . ' item_icon"></i>' . $name . '<a href="#" class="fb_item_control fb_item_remove">' . __( 'Delete', 'wpsr' ) . '</a><a href="#" class="fb_item_control fb_item_edit">' . __( 'Edit', 'wpsr' ) . '</a></h4><div><label>Your profile URL (start with https://) <input type="text" class="widefat fb_item_url" placeholder="Enter profile URL" value="' . $url . '" /></label><label>Button hover text: <input type="text" class="widefat fb_btn_text" title="' . $title . '" placeholder="Enter custom text to show for button" value="' . urldecode( $text ) . '"/></label><label>Icon image URL (optional): <input type="text" class="widefat fb_icon_url" placeholder="Enter custom Icon URL." title="' . $title . '" value="' . $iurl . '"/></label></div></li>';
110
  }
111
 
112
  }
core/lists.php CHANGED
@@ -546,8 +546,8 @@ class WPSR_Lists{
546
  'name' => 'Twitter',
547
  'title' => __('Tweet this !', 'wpsr') . '',
548
  'icon' => array('fa4'=> 'fa fa-twitter', 'fa5' => 'fab fa-twitter'),
549
- 'link' => 'https://twitter.com/home?status={title}%20-%20{url}%20{twitter-username}',
550
- 'link_tsb' => 'https://twitter.com/home?status={excerpt}%20-%20{url}%20{twitter-username}',
551
  'options' => array(),
552
  'features' => array( 'for_share', 'for_profile', 'for_tsb' ),
553
  'colors' => array( '#4da7de' ),
546
  'name' => 'Twitter',
547
  'title' => __('Tweet this !', 'wpsr') . '',
548
  'icon' => array('fa4'=> 'fa fa-twitter', 'fa5' => 'fab fa-twitter'),
549
+ 'link' => 'https://twitter.com/intent/tweet?text={title}%20-%20{url}%20{twitter-username}',
550
+ 'link_tsb' => 'https://twitter.com/intent/tweet?text={title}%20-%20{url}%20{twitter-username}',
551
  'options' => array(),
552
  'features' => array( 'for_share', 'for_profile', 'for_tsb' ),
553
  'colors' => array( '#4da7de' ),
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: vaakash
3
  Donate link: https://goo.gl/qMF3iE
4
  Tags: sharing, social media icons, share icons, share buttons, follow buttons, widgets, floating share buttons, profile buttons, mobile sharebar, profile icons, social bar, share counter, excerpt, shortcode, linkedin, pinterest, pocket, reddit, sharethis, addthis, whatsapp, tweet, vkontakte, socializer, wp socializer, weibo, line, mix, odnoklassniki, renren, skype
5
  Requires at least: 4.6
6
- Tested up to: 5.0.3
7
- Stable tag: 4.1.3
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -225,10 +225,14 @@ Please refer [this page](https://goo.gl/Ge7riC) for the full list of FAQs.
225
 
226
  == Changelog ==
227
 
 
 
 
 
228
  = 4.1.3 =
229
  * Fix: Location rules template was not populated in PHP 7.3.
230
- * Fix: Line icon incorrect for fontawesome 4.
231
- * Fix: Revert back to normal URL for twitter.
232
  * Fix: Couple of PHP notices for undefined keys are handled.
233
  * Fix: Updated to latest FontAwesome icons v5.7.2.
234
 
3
  Donate link: https://goo.gl/qMF3iE
4
  Tags: sharing, social media icons, share icons, share buttons, follow buttons, widgets, floating share buttons, profile buttons, mobile sharebar, profile icons, social bar, share counter, excerpt, shortcode, linkedin, pinterest, pocket, reddit, sharethis, addthis, whatsapp, tweet, vkontakte, socializer, wp socializer, weibo, line, mix, odnoklassniki, renren, skype
5
  Requires at least: 4.6
6
+ Tested up to: 5.1
7
+ Stable tag: 4.1.4
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
225
 
226
  == Changelog ==
227
 
228
+ = 4.1.4 =
229
+ * Fix: Twitter share button was not working.
230
+ * Fix: Help text given to follow bar editing page.
231
+
232
  = 4.1.3 =
233
  * Fix: Location rules template was not populated in PHP 7.3.
234
+ * Fix: Line icon was incorrect for fontawesome 4.
235
+ * Fix: Revert back to normal URL instead of short URL for twitter.
236
  * Fix: Couple of PHP notices for undefined keys are handled.
237
  * Fix: Updated to latest FontAwesome icons v5.7.2.
238
 
wpsr.php CHANGED
@@ -3,14 +3,14 @@
3
  * Plugin Name: WP Socializer
4
  * Plugin URI: https://www.aakashweb.com/wordpress-plugins/wp-socializer/
5
  * Description: WP Socializer is an all in one complete social media plugin to add native social media buttons, icons, floating sharebar, follow us buttons, profile icons, mobile sharebar and selected text share popups easily with complete control and customization.
6
- * Version: 4.1.3
7
  * Author: Aakash Chakravarthy
8
  * Author URI: https://www.aakashweb.com
9
  * Text Domain: wpsr
10
  * Domain Path: /languages
11
  */
12
 
13
- define( 'WPSR_VERSION', '4.1.3' );
14
  define( 'WPSR_PATH', plugin_dir_path( __FILE__ ) ); // All have trailing slash
15
  define( 'WPSR_URL', plugin_dir_url( __FILE__ ) );
16
  define( 'WPSR_ADMIN_URL', trailingslashit( plugin_dir_url( __FILE__ ) . 'admin' ) );
3
  * Plugin Name: WP Socializer
4
  * Plugin URI: https://www.aakashweb.com/wordpress-plugins/wp-socializer/
5
  * Description: WP Socializer is an all in one complete social media plugin to add native social media buttons, icons, floating sharebar, follow us buttons, profile icons, mobile sharebar and selected text share popups easily with complete control and customization.
6
+ * Version: 4.1.4
7
  * Author: Aakash Chakravarthy
8
  * Author URI: https://www.aakashweb.com
9
  * Text Domain: wpsr
10
  * Domain Path: /languages
11
  */
12
 
13
+ define( 'WPSR_VERSION', '4.1.4' );
14
  define( 'WPSR_PATH', plugin_dir_path( __FILE__ ) ); // All have trailing slash
15
  define( 'WPSR_URL', plugin_dir_url( __FILE__ ) );
16
  define( 'WPSR_ADMIN_URL', trailingslashit( plugin_dir_url( __FILE__ ) . 'admin' ) );