Changeset 2223302
- Timestamp:
- 01/07/2020 07:02:06 AM (6 years ago)
- Location:
- likebtn-like-button
- Files:
-
- 4 edited
-
tags/2.6.23/includes/buddypress.php (modified) (1 diff)
-
tags/2.6.23/likebtn_like_button.php (modified) (2 diffs)
-
tags/2.6.23/readme.txt (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
likebtn-like-button/tags/2.6.23/includes/buddypress.php
r2202481 r2223302 86 86 87 87 // We modify global wp_filter to call our bbPress wrapper function 88 if (isset($wp_filter['bp_notifications_get_notifications_for_user'][10]['bbp_format_buddypress_notifications'])) { 89 if (version_compare($wp_version, '4.7', '>=' )) { 90 // https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/ 91 $wp_filter['bp_notifications_get_notifications_for_user']->callbacks[10]['bbp_format_buddypress_notifications']['function'] = 'likebtn_bbp_format_buddypress_notifications'; 92 } else { 93 $wp_filter['bp_notifications_get_notifications_for_user'][10]['bbp_format_buddypress_notifications']['function'] = 'likebtn_bbp_format_buddypress_notifications'; 88 if ( function_exists('bbp_get_version') && version_compare( bbp_get_version(), '2.6.0' , '<') ) { 89 if (isset($wp_filter['bp_notifications_get_notifications_for_user'][10]['bbp_format_buddypress_notifications'])) { 90 if (version_compare($wp_version, '4.7', '>=' )) { 91 // https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/ 92 $wp_filter['bp_notifications_get_notifications_for_user']->callbacks[10]['bbp_format_buddypress_notifications']['function'] = 'likebtn_bbp_format_buddypress_notifications'; 93 } else { 94 $wp_filter['bp_notifications_get_notifications_for_user'][10]['bbp_format_buddypress_notifications']['function'] = 'likebtn_bbp_format_buddypress_notifications'; 95 } 94 96 } 95 97 } -
likebtn-like-button/tags/2.6.23/likebtn_like_button.php
r2202481 r2223302 4 4 Plugin URI: https://likebtn.com/en/wordpress-like-button-plugin 5 5 Description: Add Like button to posts, pages, comments, WooCommerce, BuddyPress, bbPress, custom post types! Sort content by likes! Get instant stats and insights! 6 Version: 2.6.2 36 Version: 2.6.24 7 7 Text Domain: likebtn-like-button 8 8 Author: LikeBtn … … 15 15 16 16 // Plugin version 17 define('LIKEBTN_VERSION', '2.6.2 3');17 define('LIKEBTN_VERSION', '2.6.24'); 18 18 // Current DB version 19 19 define('LIKEBTN_DB_VERSION', 20); -
likebtn-like-button/tags/2.6.23/readme.txt
r2202481 r2223302 4 4 Requires at least: 2.8 5 5 Tested up to: 5.3 6 Stable tag: 2.6.2 36 Stable tag: 2.6.24 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 113 113 == Changelog == 114 114 115 = 2.6.24 = 116 * Fix - Fixed bbPress error: Too few arguments to function bbp_format_buddypress_notifications 117 115 118 = 2.6.23 = 116 119 * Change - Do not show elements with both zero likes and dislikes in widgets. -
likebtn-like-button/trunk/readme.txt
r2202481 r2223302 4 4 Requires at least: 2.8 5 5 Tested up to: 5.3 6 Stable tag: 2.6.2 36 Stable tag: 2.6.24 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 113 113 == Changelog == 114 114 115 = 2.6.24 = 116 * Fix - Fixed bbPress error: Too few arguments to function bbp_format_buddypress_notifications 117 115 118 = 2.6.23 = 116 119 * Change - Do not show elements with both zero likes and dislikes in widgets.
Note: See TracChangeset
for help on using the changeset viewer.