Skip to:
Content

BuddyPress.org

Changeset 11661


Ignore:
Timestamp:
08/04/2017 10:14:55 AM (4 years ago)
Author:
hnla
Message:

Correct missing default $length param value

Props r-a-y, joost-abrahams

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-template.php

    r11608 r11661  
    12151215 *                            Default: 225.
    12161216 */
    1217 function bp_group_description_excerpt( $group = false, $length = false ) {
     1217function bp_group_description_excerpt( $group = false, $length = 225 ) {
    12181218    echo bp_get_group_description_excerpt( $group, $length );
    12191219}
     
    12301230     * @return string Excerpt.
    12311231     */
    1232     function bp_get_group_description_excerpt( $group = false, $length = false ) {
     1232    function bp_get_group_description_excerpt( $group = false, $length = 225 ) {
    12331233        global $groups_template;
    12341234
Note: See TracChangeset for help on using the changeset viewer.