Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/27/2024 06:44:41 PM (12 months ago)
Author:
espellcaste
Message:

Require singular and plural names for BuddyPress custom types.

When creating a member or group type, require that both singular and plural names are provided. This ensures that the type can be properly registered and used throughout BuddyPress.

Props 1naveengiri, imath, imranmd.

Fixes #9092
Closes https://github.com/buddypress/buddypress/pull/335/

File:
1 edited

Legend:

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

    r13974 r13983  
    15131513        9  => __( 'Group type successfully deleted.', 'buddypress' ),
    15141514        10 => __( 'Group type could not be updated due to missing required information.', 'buddypress' ),
     1515        11 => __( 'Please define the Group Type Singular Name field.', 'buddypress' ),
     1516        12 => __( 'Please define the Group Type Plural Name field.', 'buddypress' ),
    15151517    );
    15161518
Note: See TracChangeset for help on using the changeset viewer.