Missing $after_widget after line 219
-
Hello,
Just thought I’d point out that this plugin is missing the following code after line 219 of wp-accessibility.php
echo $after_widget;Without this, the widget container will not close and end up encapsulating the rest of your page.
The code should look like:
function widget( $args, $instance ) { extract( $args ); $title = apply_filters( 'widget_title', ( empty( $instance['title'] ) ? false : $instance['title'] ), $instance, $args ); echo $before_widget; echo ( $title ) ? $before_title . $title . $after_title : ''; echo wpa_toolbar_html(); echo $after_widget; }Cheers 🙂
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Missing $after_widget after line 219’ is closed to new replies.