[buddypress-trac] [BuddyPress Trac] #6570: Add UI for adding Profile Header Images for Users and Groups
buddypress-trac
noreply at wordpress.org
Tue Sep 29 22:12:49 UTC 2015
#6570: Add UI for adding Profile Header Images for Users and Groups
-------------------------------------------+------------------
Reporter: mercime | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.4
Component: API | Version:
Severity: normal | Resolution:
Keywords: dev-feedback has-patch commit |
-------------------------------------------+------------------
Comment (by imath):
In [changeset:"10153"]:
{{{
#!CommitTicketReference repository="" revision="10153"
Rely on the BP Theme Compat API to trigger the Cover Image feature
BuddyPress Cover Images are first targeting themes using the BP Theme
Compat API. We want to make sure Cover images will look awesome in most
WordPress themes. We also want to make sure standalone BuddyPress themes
(eg: BP Default) will have time to implement the feature peacefully.
The BP Theme Compat API now includes 3 new functions :
- `bp_set_theme_compat_feature()` to register the feature settings for
targeted components (eg: xProfile, Groups..).
- `bp_get_theme_compat_feature()` to get the requested feature settings
(eg: cover_image)
- `bp_register_theme_compat_default_features()` is automatically
registering the feature for themes using the BP Theme Compat API and the
BP Legacy template pack.
Props johnjamesjacoby, boone, djpaul, modemlooper, BuddyBoss
See #6570
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6570#comment:54>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list