[buddypress-trac] [BuddyPress Trac] #6278: Attachment Library

buddypress-trac noreply at wordpress.org
Sat May 2 20:55:08 UTC 2015


#6278: Attachment Library
------------------------------------+---------------------
 Reporter:  imath                   |       Owner:  imath
     Type:  enhancement             |      Status:  closed
 Priority:  normal                  |   Milestone:  2.3
Component:  API                     |     Version:
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch dev-feedback  |
------------------------------------+---------------------
Changes (by imath):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"9831"]:
 {{{
 #!CommitTicketReference repository="" revision="9831"
 Make sure the BP Attachments API behaves the right way when WordPress <
 4.0

 Before WordPress 4.0, there was no dynamic filter based on the name of the
 action posted in the upload form. So we also need to filter
 `wp_handle_upload_prefilter` to make sure the
 `BP_Attachments->validate_upload()` function will actually validate the
 uploads for versions of WordPress < 4.0.

 Improve the i18n of the avatar type error, as the avatar types can now be
 filtered in the `BP_Attachment_Avatar` class.

 Add unit tests for the `BP Attachement` class.

 Fixes #6278
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6278#comment:76>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list