wpForo 2.3.0 版本发布
 
Notifications
Clear all

[已经关闭] wpForo 2.3.0 版本发布

2 帖子
1 Users
0 Reactions
16.1 K 查看
清风許来
(@xu)
管理员 管理员 注册会员
已加入: 6 年 前
帖子: 85
Topic starter  

更新的重要注意事项

  • 更新后,请删除所有缓存并清除CDN(如果您有
  • 更新后,如果您启用了此缓存,请刷新Redis对象缓存

wpForo 论坛插件中间版本 2.3.0 | 17.01.2024

wpForo v2.3 发布摘要

  • 添加:更改 wpForo 侧边栏位置的选项(左或右)
  • 添加:当有未经批准的帖子时,论坛菜单上的红圈通知
  • 添加:将最大评级级别扩展到14,使用 wpforo_max_rating_levels 钩子
    • PHP 代码片段示例:
    • add_filter('wpforo_max_rating_levels', function($count){return 14;});
  • 改进:发布新主题时的主题搜索和建议
  • 修复了错误:上次登录在仪表板>成员中错误地显示当前时间
  • 修复了错误:数据库错误:语法错误,意外的“@”,当搜索词包含@时
  • 修复了错误:复制密钥的数据库错误 在 _wpforo_visits table
  • 修复了错误:PHP错误:尝试在第18行的 /profile-subscriptions.php 中访问空数组

wpForo:中文文档 * 中文论坛 * 扩展插件

IMG 6843


   
Topic Tags
清风許来
(@xu)
管理员 管理员 注册会员
已加入: 6 年 前
帖子: 85
Topic starter  

添加的新钩子如下:

apply_filters( 'wpforo_url', $url, $path, $route, $scheme );
apply_filters( 'wpforo_pagenavi_current_url', $sanitized_current_url, $paged, $items_count, $items_per_page, $class);
apply_filters( 'wpforo_is_shortcode_page', $result, $url );
apply_filters( 'wpforo_pagenavi_permalink', $permalink, $paged, $items_count, $items_per_page, $class);
apply_filters( 'wpforo_member_search_provider', false, $wpfms, $search_fields_names, $get );
apply_filters( 'wpforo_member_search_provider', false, $wpfms, $search_fields_names );
apply_filters( 'wpforo_search_by_provider', [], $wpfms, $search_fields_names);
apply_filters( 'wpforo_member_custom_field_separator', '<span class="wpf-member-cf-sep">&nbsp;&nbsp;<i class="fas fa-bars"></i>&nbsp;</span>', $member );
apply_filters( 'wpforo_get_member', $member);
apply_filters( 'wpforo_init_current_selected_user', $selected_user );
apply_filters( 'wpforo_topic_title_structure', $structure, $topic );
apply_filters( 'wpforo_activity_after_init_defaults', $this->default );
apply_filters( 'wpforo_buddypress_activity_types', ['wpforo_topic', 'wpforo_post', 'wpforo_like']);
do_action( 'wpforo_before_base_init' );
do_action( 'wpforo_member_search_form_start');
do_action( 'wpforo_member_search_form_before_fields');
do_action( 'wpforo_member_search_form_after_fields');

wpForo:中文文档 * 中文论坛 * 扩展插件

IMG 6843


   
Share:
Qcloud 38

Log In

Forgot password?

Forgot password?

Enter your account data and we will send you a link to reset your password.

Your password reset link appears to be invalid or expired.

Log in

Privacy Policy

Add to Collection

No Collections

Here you'll find all collections you've created before.