fixes a bug where thumbnail images were not displaying properly in the recent posts widget