Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/19/2022 09:21:45 PM (4 years ago)
Author:
imath
Message:

Make it possible to disable Avatar history & richer logging activities

Advanced users wishing to:

  1. disable the Avatar history feature, can do so returning true when filtering 'bp_disable_avatar_history',
  2. prevent one or more logging activity types to have a richer output, can return an array of the allowed activity types (or an empty array to completely disable the feature) when filtering 'bp_activity_get_types_supporting_generated_content'.

Props sbrajesh, oztaser

Fixes #8617

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-admin.php

    r13209 r13215  
    907907                        printf(
    908908                            /* translators: 1: heart dashicons. 2: BP Credits screen url. 3: number of BuddyPress contributors to this version. */
    909                             _n( 'Built with %1$s by <a href="%2$s">%3$d volunteer</a>.', 'Built with %1$s by <a href="%2$s">%3$d volunteers</a>.', 38, 'buddypress' ),
     909                            _n( 'Built with %1$s by <a href="%2$s">%3$d volunteer</a>.', 'Built with %1$s by <a href="%2$s">%3$d volunteers</a>.', 39, 'buddypress' ),
    910910                            '<span class="dashicons dashicons-heart"></span>',
    911911                            esc_url( bp_get_admin_url( 'admin.php?page=bp-credits' ) ),
    912                             number_format_i18n( 38 )
     912                            number_format_i18n( 39 )
    913913                        );
    914914                        ?>
     
    10891089                <a href="https://profiles.wordpress.org/oztaser/">Adil Öztaşer (oztaser)</a>,
    10901090                <a href="https://profiles.wordpress.org/boonebgorges/">Boone B Gorges (boonebgorges)</a>,
     1091                <a href="https://profiles.wordpress.org/sbrajesh/">Brajesh Singh (sbrajesh)</a>,
    10911092                <a href="https://profiles.wordpress.org/needle/">Christian Wach (needle)</a>,
    10921093                <a href="https://profiles.wordpress.org/comminski/">comminski</a>,
Note: See TracChangeset for help on using the changeset viewer.