Ticket #6918: 6918.01.patch
File 6918.01.patch, 3.3 KB (added by , 9 years ago) |
---|
-
src/bp-core/bp-core-customizer-email.php
31 31 32 32 $wp_customize->add_panel( 'bp_mailtpl', array( 33 33 'description' => __( 'Customize the appearance of emails sent by BuddyPress.', 'buddypress' ), 34 'title' => _x( ' Emails', 'screen heading', 'buddypress' ),34 'title' => _x( 'BuddyPress Emails', 'screen heading', 'buddypress' ), 35 35 ) ); 36 36 37 37 $sections = bp_email_get_customizer_sections(); -
src/bp-core/bp-core-functions.php
2653 2653 */ 2654 2654 return apply_filters( 'bp_get_email_post_type_labels', array( 2655 2655 'add_new' => _x( 'Add New', 'email post type label', 'buddypress' ), 2656 'add_new_item' => _x( 'Add a New Email', 'email post type label', 'buddypress' ),2656 'add_new_item' => _x( 'Add a New BuddyPress Email', 'email post type label', 'buddypress' ), 2657 2657 'all_items' => _x( 'All Emails', 'email post type label', 'buddypress' ), 2658 'edit_item' => _x( 'Edit Email', 'email post type label', 'buddypress' ),2658 'edit_item' => _x( 'Edit BuddyPress Email', 'email post type label', 'buddypress' ), 2659 2659 'filter_items_list' => _x( 'Filter email list', 'email post type label', 'buddypress' ), 2660 2660 'items_list' => _x( 'Email list', 'email post type label', 'buddypress' ), 2661 2661 'items_list_navigation' => _x( 'Email list navigation', 'email post type label', 'buddypress' ), 2662 'name' => _x( 'Emails', 'email post type name', 'buddypress' ), 2662 'name' => _x( 'BuddyPress Emails', 'email post type name', 'buddypress' ), 2663 'menu_name' => __( 'BP Emails', 'buddypress' ), 2663 2664 'new_item' => _x( 'New Email', 'email post type label', 'buddypress' ), 2664 2665 'not_found' => _x( 'No emails found', 'email post type label', 'buddypress' ), 2665 2666 'not_found_in_trash' => _x( 'No emails found in Trash', 'email post type label', 'buddypress' ), -
src/bp-core/classes/class-bp-admin.php
313 313 314 314 $hooks[] = add_menu_page( 315 315 $email_labels['name'], 316 $email_labels[' name'],316 $email_labels['menu_name'], 317 317 $this->capability, 318 318 '', 319 319 '', … … 345 345 if ( bp_is_root_blog() ) { 346 346 // Appearance > Emails. 347 347 $hooks[] = add_theme_page( 348 _x( 'Emails', 'screen heading', 'buddypress' ), 349 _x( 'Emails', 'screen heading', 'buddypress' ), 348 _x( 'BuddyPress Emails', 'screen heading', 'buddypress' ), 349 _x( 'BuddyPress Emails', 'screen heading', 'buddypress' ), 350 $this->capability, 351 'bp-emails-customizer-redirect', 352 'bp_email_redirect_to_customizer' 353 ); 354 355 // BP Emails > Customize. 356 $hooks[] = add_submenu_page( 357 'edit.php?post_type=' . bp_get_email_post_type(), 358 _x( 'Customize', 'email menu heading', 'buddypress' ), 359 _x( 'Customize', 'email menu heading', 'buddypress' ), 350 360 $this->capability, 351 361 'bp-emails-customizer-redirect', 352 362 'bp_email_redirect_to_customizer'