Closed rusteater closed 12 years ago
When adding images with captions to posts, I get the following error:
Notice: Undefined variable: attributes in \wp-content\themes\reverie\functions.php on line 75
Here's the line in question:
$attributes .= ' class="figure ' . esc_attr( $attr['align'] ) . '"';
Shouldn't this rather be:
$attributes = ' class="figure ' . esc_attr( $attr['align'] ) . '"';
without the concatenation?
Definitely! Have edited, thanks.
When adding images with captions to posts, I get the following error:
Here's the line in question:
Shouldn't this rather be:
without the concatenation?