Skip to:

Re: What necessary changes should be made to BP themes for BP 1.2.6

Under the “Add a reply” textarea there is a line of text that reads thusly:
“To display code, put it between `backticks`”

Ok so the fact that the function is run for logged in users tells me that the check on the ‘disable adminbar for logged out users’ actually simply checks to see if the value has been set ‘true’ or ‘false’ not whether that function is in current operation as it were so there needs to be a further query to see if the user is logged in so the ‘if’ statement needs to include something like:

`&& !is_user_logged_in() `

added to the line at the end.

Skip to toolbar