[buddypress-trac] [BuddyPress Trac] #6278: Attachment Library
    buddypress-trac 
    noreply at wordpress.org
       
    Tue Mar 17 02:33:35 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 modemlooper):
 played with API and is good. Think we should add more to parent construct
 to set parent folder for items. I don't see developers needing weird
 structures. Can leave in a filter but for most instances seems like this
 structure would work for most everything.
 parent_folder/user_id/files
 same as avatars but to specify the parent folder and automatically use the
 id of user who is uploading.
 parent::__construct( array(
         'action' => 'gallery_upload',
         'parent_folder' => 'gallery',
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6278#comment:40>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
    
    
More information about the buddypress-trac
mailing list