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

buddypress-trac noreply at wordpress.org
Sun Mar 15 01:15:19 UTC 2015


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

Comment (by henry.wright):

 Hi @imath

 I just took a look through 6278.06.patch, the whole approach is getting me
 excited. I love how the intention is for the base class to be extended,
 that opens up lots of development possibilities.

 One thought, {{{create_dir()}}} is called each time an object is created.
 Could directory creation be moved to the BP plugin activation routine?
 That will avoid having to check if the upload path exists each time. But
 then on second thoughts, there's always to issue of the webmaster manually
 deleting the directory which could cause problems if there's no
 {{{wp_mkdir_p()}}} to make things right again.

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


More information about the buddypress-trac mailing list