Skip to:
Content

BuddyPress.org

Ticket #7577: 7577.01.patch

File 7577.01.patch, 894 bytes (added by r-a-y, 4 years ago)
  • src/bp-groups/bp-groups-template.php

     
    12141214 * @param int         $length Optional. Length of returned string, including ellipsis.
    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}
    12201220        /**
     
    12291229         *                            Default: 225.
    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
    12351235                if ( empty( $group ) ) {