[buddypress-trac] [BuddyPress Trac] #7493: Update bp_group_description_excerpt() to accept a $length param
buddypress-trac
noreply at wordpress.org
Mon Apr 3 15:46:47 UTC 2017
#7493: Update bp_group_description_excerpt() to accept a $length param
-------------------------+------------------
Reporter: hnla | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.9
Component: Groups | Version:
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+------------------
Comment (by dcavins):
I think this is a good idea, but we should leave the `group` parameter as
the first parameter and add the optional `length` parameter in the second
position. Then the basic-use function signature won't change and we'll
minimize backward compatibility problems. Like:
`bp_get_group_description_excerpt( $group = false, $length = false )`
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7493#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list