• 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 🙂

    https://wordpress.org/plugins/wp-accessibility/

Viewing 1 replies (of 1 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    Wow. Crazy that’s been missing this long without anybody catching it! Thanks – I’ll get that fixed.

Viewing 1 replies (of 1 total)

The topic ‘Missing $after_widget after line 219’ is closed to new replies.