pg_Activity_Widget and pg_Forums_Widget
-
In the class pg_Activity_Widget there is a problem in the function widget
If
empty( $allowed_posts )is true in line 888 it’s execute a return in line 892,
then you are missing theecho $args['after_widget'];Another thing:
It would be nice if pg_Forums_Widget and pg_Activity_Widget works equally.
In the pg_Activity_Widget class theif ( empty( $allowed_posts )) {is called after
echo $args['before_widget'];In the class pg_Forums_Widget
if ( empty( $allowed_posts )) {is called beforeecho $args['before_widget'];That means in pg_Forums_Widget there is no widget title set and in pg_Activity_Widget the widget title is set. I prepare to see the title, also in the case there is no items.
The topic ‘pg_Activity_Widget and pg_Forums_Widget’ is closed to new replies.