[buddypress-trac] [BuddyPress Trac] #7675: Check bp_attachments_get_template_part() & revise it's hardcoded template directory

buddypress-trac noreply at wordpress.org
Thu Feb 1 22:26:00 UTC 2018


#7675: Check bp_attachments_get_template_part() & revise it's hardcoded template
directory
--------------------------+---------------------
 Reporter:  hnla          |       Owner:  djpaul
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.0
Component:  Templates     |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------
Changes (by djpaul):

 * owner:   => djpaul
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"11839"]:
 {{{
 #!CommitTicketReference repository="" revision="11839"
 Templates: swap shared `_attachments/avatars/index.php` with Legacy
 version; fix path in wp-admin.

 The Nouveau template was previously used, and included a call to a
 Nouveau-only function, which I missed in r11835.
 The Nouveau pack now has a copy of its Nouveau template again.

 Also changes a patch in `bp_attachments_get_template_part()` to support
 the changed location for this template asset.
 This is used for the "Upload Avatar" screens in wp-admin Users > Edit.

 Props boonebgorges, hnla.

 Fixes #7679 and #7675
 }}}

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


More information about the buddypress-trac mailing list