Changeset 2451140
- Timestamp:
- 01/06/2021 09:49:45 AM (5 years ago)
- Location:
- jackshare/trunk
- Files:
-
- 3 edited
-
inc/class-jackshare-functions.php (modified) (2 diffs)
-
jackshare.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
jackshare/trunk/inc/class-jackshare-functions.php
r2451128 r2451140 117 117 // Share this message 118 118 119 $share_counter = $jackshare_options['jackshare_social_share_counter'];120 $reaction_counter = $jackshare_options['jackshare_display_reaction_count'];121 $comment_counter = $jackshare_options['jackshare_display_comment_counter'];119 $share_counter = isset($jackshare_options['jackshare_social_share_counter']) ? $jackshare_options['jackshare_social_share_counter'] : 0 ; 120 $reaction_counter = isset($jackshare_options['jackshare_display_reaction_count']) ? $jackshare_options['jackshare_display_reaction_count'] : 0; 121 $comment_counter = isset($jackshare_options['jackshare_display_comment_counter']) ? $jackshare_options['jackshare_display_comment_counter'] : 0; 122 122 123 123 … … 243 243 244 244 // Give title of sharing area 245 $jackshare_output = '<div class="jackshare-container"><div class="jackshare-message">'.( $ jackshare_options['jackshare_social_share_counter'] || $$jackshare_options['jackshare_display_reaction_count'] || $jackshare_options['jackshare_display_comment_counter']? ''. $share_number_element .'': '').'<p>' . $jackshare_share_msg . '</p></div>';245 $jackshare_output = '<div class="jackshare-container"><div class="jackshare-message">'.( $share_counter || $reaction_counter || $comment_counter ? ''. $share_number_element .'': '').'<p>' . $jackshare_share_msg . '</p></div>'; 246 246 247 247 // Wrap the buttons -
jackshare/trunk/jackshare.php
r2451128 r2451140 5 5 * Plugin URI: https://wordpress.org/plugins/jackshare 6 6 * Description: Super simple Social media sharing buttons with minimal design and lightning fast performance. 7 * Version: 2.1. 67 * Version: 2.1.7 8 8 * License: GPL v3 9 9 * License URI: http://www.gnu.org/licenses/gpl-3.0.txt … … 22 22 //Plugin name and version 23 23 define( 'JACKSHARE_PLUGIN_NAME', 'Jackshare'); 24 define( 'JACKSHARE_PLUGIN_VERSION', 'v2.1. 6');24 define( 'JACKSHARE_PLUGIN_VERSION', 'v2.1.7'); 25 25 26 26 define( 'JACKSHARE_PLUGIN_FILE', __FILE__ ); -
jackshare/trunk/readme.txt
r2451128 r2451140 5 5 Requires at least: 4.0 6 6 Tested up to: 5.6 7 Stable tag: 2.1. 67 Stable tag: 2.1.7 8 8 License: GPL v3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 31 31 32 32 == Changelog == 33 34 = 2.1.7 = 35 36 * Code Optimization 33 37 34 38 = 2.1.6 =
Note: See TracChangeset
for help on using the changeset viewer.