little bug when adding "after widget" arg
-
Hello!
I just wanted to tell you that I’ve found there is a bug which fails to append the correct after_widget arg.
if you look at the code, there is an “else” statement which overwrites the $args var, so if the code runs that “else” part, then when it goes to “echo” the after_widget html, it fails.
you could rename the $args var in the “else”, or store the before and after into vars at the beginning of the function, and then “echo” those vars rather than call $args again.
cheers!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘little bug when adding "after widget" arg’ is closed to new replies.