[buddypress-trac] [BuddyPress Trac] #6544: Use WP 4.3 site icon feature to set a blog's "profile photo"

buddypress-trac noreply at wordpress.org
Tue Sep 13 04:43:23 UTC 2016


#6544: Use WP 4.3 site icon feature to set a blog's "profile photo"
-------------------------+-----------------------------
 Reporter:  imath        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Blogs        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------------
Changes (by r-a-y):

 * keywords:  2nd-opinion needs-refresh => has-patch


Comment:

 `ray.patch` is an alternative way to use WP's Site Icon feature as a BP
 blog avatar (or profile photo).

 My approach doesn't copy the site icon to our uploads directory, but
 merely saves the Site Icon URLs (for both thumb and full-width BP avatar
 sizes) to blogmeta.

 Patch only syncs new site icons and doesn't do any backfilling.

 To test:
 1. Navigate to a sub-site's frontend and click on the "Customize" icon in
 the admin bar.
 2. Next, click on "Site Identity" and set the "Site Icon" to whatever you
 want.
 3. When you delete or set a new site icon, this info should be synced to
 blogmeta.
 4. To see if the site icon is synced, navigate to BP's Sites Directory
 (eg. `example.com/blogs/`) to see if the site icon is set as the BP's site
 avatar.

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


More information about the buddypress-trac mailing list