[buddypress-trac] [BuddyPress Trac] #6159: bp_activity_thumbnail_content_images() assumes img height/width is always set
buddypress-trac
noreply at wordpress.org
Mon Feb 9 09:35:36 UTC 2015
#6159: bp_activity_thumbnail_content_images() assumes img height/width is always
set
----------------------------------+---------------------
Reporter: DJPaul | Owner: DJPaul
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.3
Component: Component - Activity | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch |
----------------------------------+---------------------
Changes (by djpaul):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"9456"]:
{{{
#!CommitTicketReference repository="" revision="9456"
Activity: update `bp_activity_thumbnail_content_images` to check that
height/width attributes exist on `<img>` tags before trying to reference
them.
Prevents PHP Notices in edge cases involving developers putting custom
content through this function.
Fixes #6159
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6159#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list