Fixed error in tag listing.
Just fixed an error in a foreach() call in the new jwr_show_tags() function in Squible’s wp_cats_as_tags(). Turns out that, for unknown reasons, the old implementation would barf when it saw a post without any tags, when get_the_tags() returned an empty list. Thanks to the examples described here, I’m using an if() to bail out of the function:
if (empty($posttags)) echo "";
else
foreach
The old way to do this was to throw a break at the en... (read post)