Notifications
Clear all

wpForo 1.x.x [Closed] Extra padding in admin bar area for any user other than admin

22 Posts
5 Users
11 Reactions
2,753 Views
Posts: 201
 fawp
Topic starter
(@fawp)
Reputable Member
Joined: 5 years ago
Posted by: @tutrix

sorry, for me this is not a very big problem
i added the 2 codes and everything works fine

Thanks tutrix, and I understand, by adding the code everything works.

 

As for me, I want to establish what the root cause of the problem is. I do not want to start adding code as workaround to fix every potential bug.

 

So I'll keep digging. 🙂

1 Reply
Tutrix
(@tutrix)
Joined: 4 years ago

Noble Member
Posts: 1349

So I'll keep digging. 🙂

good luck digging and tell us when you find something 😀 

Posts: 19
(@zmgma)
Eminent Member
Joined: 4 years ago

I found the problem.

The fact is that WPFORO changed their add_action hook from init to admin_bar_init in 38 line of wpf-includes/wpf-hooks.php

To make a long story short,

due to the load order of show_admin_bar(false), the _admin_bar_bump_cb is loaded.

I don't know the reason WPFORO changed the action hook. Is add_action on 'init' bad behavior?

3 Replies
 fawp
(@fawp)
Joined: 5 years ago

Reputable Member
Posts: 201

thank you @zmgma

 

@robert or @alvina, are you able to comment on @zmgma's post please?

Alvina
Moderator
(@alvina)
Joined: 5 years ago

Member
Posts: 1867

Hi @fawp, @zmgma, @tutrix, @danniee,

The issues will be fixed in the next version update.

 fawp
(@fawp)
Joined: 5 years ago

Reputable Member
Posts: 201
Posted by: @alvina

Hi @fawp, @zmgma, @tutrix, @danniee,

The issues will be fixed in the next version update.

Great, thank you for confirming Alvina.

 

Page 3 / 3