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-members/bp-members-admin.php

    r13799 r13983  
    108108        9  => __( 'Member type successfully deleted.', 'buddypress' ),
    109109        10 => __( 'Member type could not be updated due to missing required information.', 'buddypress' ),
     110        11 => __( 'Please define the Member Type Singular Name field.', 'buddypress' ),
     111        12 => __( 'Please define the Member Type Plural Name field.', 'buddypress' ),
    110112    );
    111113
Note: See TracChangeset for help on using the changeset viewer.