Skip to:
Content

BuddyPress.org

Changeset 12775


Ignore:
Timestamp:
11/08/2020 07:07:25 PM (3 weeks ago)
Author:
johnjamesjacoby
Message:

Group/Member Types: Capitalize "types" in submenu page & titles.

This commit ensures that title case is employed in areas of the WordPress admin UI where it is expected to be.

See #7179, #7181.

Location:
trunk/src
Files:
2 edited

Legend:

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

    r12767 r12775  
    7171        add_submenu_page(
    7272            'bp-groups',
    73             __( 'Group types', 'buddypress' ),
    74             __( 'Group types', 'buddypress' ),
     73            __( 'Group Types', 'buddypress' ),
     74            __( 'Group Types', 'buddypress' ),
    7575            'bp_moderate',
    7676            esc_url( $group_type_admin_url )
     
    9494        add_submenu_page(
    9595            'bp-groups',
    96             __( 'Group types', 'buddypress' ),
    97             __( 'Group types', 'buddypress' ),
     96            __( 'Group Types', 'buddypress' ),
     97            __( 'Group Types', 'buddypress' ),
    9898            'bp_moderate',
    9999            basename( add_query_arg( 'taxonomy', 'bp_group_type', bp_get_admin_url( 'edit-tags.php' ) ) )
  • trunk/src/bp-members/bp-members-admin.php

    r12730 r12775  
    3030        add_submenu_page(
    3131            'users.php',
    32             __( 'Member types', 'buddypress' ),
    33             __( 'Member types', 'buddypress' ),
     32            __( 'Member Types', 'buddypress' ),
     33            __( 'Member Types', 'buddypress' ),
    3434            'bp_moderate',
    3535            esc_url( $member_type_admin_url )
     
    3939        add_submenu_page(
    4040            'users.php',
    41             __( 'Member types', 'buddypress' ),
    42             __( 'Member types', 'buddypress' ),
     41            __( 'Member Types', 'buddypress' ),
     42            __( 'Member Types', 'buddypress' ),
    4343            'bp_moderate',
    4444            basename( add_query_arg( 'taxonomy', bp_get_member_type_tax_name(), bp_get_admin_url( 'edit-tags.php' ) ) )
Note: See TracChangeset for help on using the changeset viewer.