diff --git src/bp-core/classes/class-bp-admin.php src/bp-core/classes/class-bp-admin.php
index 62673228d..d6f6f2699 100644
|
|
class BP_Admin { |
605 | 605 | |
606 | 606 | <div class="bp-headline-feature"> |
607 | 607 | <div class="bp-headline"> |
608 | | <span class="dashicons dashicons-list-view" aria-hidden="true"></span> |
609 | | <h3 class="headline-title"><?php esc_html_e( 'Groups Query Overhaul', 'buddypress' ); ?></h3> |
610 | | |
| 608 | <h3 class="headline-title"><?php esc_html_e( 'Modernizing the Codebase', 'buddypress' ); ?></h3> |
611 | 609 | <p class="introduction"><?php |
612 | | /* translators: %s: URL to the development post about this feature */ |
613 | | printf( __( 'Huge performance improvements on sites using persistent caching. <a href="%s">Learn more about the Groups Query rewrite</a>.', 'buddypress' ), |
614 | | 'https://bpdevel.wordpress.com/2016/09/19/group-queries-have-been-rewritten-for-bp-2-7/' ); |
| 610 | /* translators: 1: BP REST API, 2: Link to Codex article */ |
| 611 | printf( __( 'To continue the migration of legacy code to modern standards and techniques necessary for the %1$s project and other new features moving forward, <a href="%2$s">BuddyPress 2.8 requires at least PHP 5.3</a>. This will allow us to build better, robust, and secure code, benefitting developers and users now and in the future.', 'buddypress'), |
| 612 | '<code>BP REST API</code>', |
| 613 | 'https://codex.buddypress.org/getting-started/buddypress-2-8-will-require-php-5-3/' ); |
615 | 614 | ?></p> |
616 | 615 | </div> |
617 | 616 | </div> |
… |
… |
class BP_Admin { |
620 | 619 | |
621 | 620 | <h3 class="headline-title"><?php esc_html_e( 'For Developers & Site Builders', 'buddypress' ); ?></h3> |
622 | 621 | |
623 | | <div class="bp-feature"> |
624 | | <span class="dashicons dashicons-calendar" aria-hidden="true"></span> |
625 | | <h4 class="feature-title"><?php esc_html_e( 'Improved Profile Date Field', 'buddypress' ); ?></h4> |
626 | | <p><?php _e( 'New Date Field settings, "Date format" and "Range", make it easier for site administrators to decide how date-based data will be collected and displayed.', 'buddypress' ); ?></p> |
627 | | </div> |
| 622 | <div class="bp-feature-with-images"> |
628 | 623 | |
629 | | <div class="bp-feature opposite"> |
630 | | <span class="dashicons dashicons-groups" aria-hidden="true"></span> |
631 | | <h4 class="feature-title"><?php esc_html_e( 'Group Types Integration in Templates', 'buddypress' ); ?></h4> |
632 | | <p><?php |
633 | | /* translators: %s: URL to the BuddyPress Codex article */ |
634 | | printf( __( 'Enable developers to show Group Types on the front end as well as control where the group type information is rendered. <a href="%s">Learn how to implement this feature</a>.', 'buddypress' ), |
635 | | 'https://codex.buddypress.org/developer/group-types/' ); |
636 | | ?></p> |
637 | | </div> |
| 624 | <div class="bp-feature-imaged"> |
| 625 | <h4 class="feature-title"><?php esc_html_e( 'More helpful "Activate Pending Accounts" screen', 'buddypress' ); ?></h4> |
| 626 | <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/pending-accounts.png' ); ?>" alt="<?php esc_attr_e( 'The improved pending account screen.', 'buddypress' ); ?>"> |
| 627 | <p><?php esc_html_e( 'When you click on the username on the "Users > Manage Signups" page, you can now view profile data entered by the user at the time of registration.', 'buddypress' ); ?></p> |
| 628 | </div> |
638 | 629 | |
639 | | <div class="bp-feature"> |
640 | | <span class="dashicons dashicons-admin-multisite" aria-hidden="true"></span> |
641 | | <h4 class="feature-title"><?php esc_html_e( 'Use the Site Icon as Your Site’s Profile Photo', 'buddypress' ); ?></h4> |
642 | | <p><?php |
643 | | /* translators: %s: URL to the WordPress Codex article */ |
644 | | printf( __( 'BuddyPress sets the site admin’s profile photo as the default site profile photo on the Sites Directory page. You can now <a href="%s">use the Site Icon introduced in WordPress 4.3</a> instead.', 'buddypress' ), |
645 | | 'https://codex.wordpress.org/Creating_a_Favicon#WordPress_Version_4.3_or_later' ); |
646 | | ?></p> |
647 | | </div> |
| 630 | <div class="bp-feature-imaged anon"> |
| 631 | <h4 class="feature-title"><?php |
| 632 | /* translators: %s: List-Unsubscribe */ |
| 633 | printf( __( 'Support for %s header in emails', 'buddypress' ), |
| 634 | '<code>List-Unsubscribe</code>' ); |
| 635 | ?></h4> |
| 636 | <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/list-unsubscribe.png' ); ?>" alt="<?php esc_attr_e( 'Email header showing the list-unsubscribe feature.', 'buddypress' ); ?>"> |
| 637 | <p><?php esc_html_e( 'Allow users to unsubscribe from BuddyPress email notifications in some email clients such as Gmail (web), when properly configured.', 'buddypress' ); ?></p> |
| 638 | </div> |
648 | 639 | |
649 | | <div class="bp-feature opposite"> |
650 | | <span class="dashicons dashicons-filter" aria-hidden="true"></span> |
651 | | <h4 class="title"><?php esc_html_e( 'Member Type and Group Type Filters in Users and Groups Admin Screens', 'buddypress' ); ?></h4> |
652 | | <p><?php esc_html_e( 'Easily filter your members and groups by type and set types in bulk on the users and groups list tables in the dashboard.', 'buddypress' ); ?></p> |
653 | | </div> |
| 640 | <div class="bp-feature-imaged"> |
| 641 | <h4 class="feature-title"><?php esc_html_e( 'Twenty Seventeen Companion Stylesheet', 'buddypress' ); ?></h4> |
| 642 | <p><?php esc_html_e( 'BuddyPress looks great in WordPress\'s latest default theme with the new Twenty Seventeen companion stylesheet.', 'buddypress' ); ?></p> |
| 643 | <p><?php |
| 644 | /* translators: 1: Link to the Codex article, 2: functions.php */ |
| 645 | printf( __( 'To change the default two-column page layout to a full-width layout as seen in the image, add the <a href="%1$s">following code</a> to the %2$s file of your Twenty Seventeen child theme.', 'buddypress' ), |
| 646 | 'https://codex.buddypress.org/themes/bp-theme-compatibility-and-the-wordpress-default-themes/twenty-seventeen-theme/', |
| 647 | '<code>functions.php</code>' ); |
| 648 | ?></p> |
| 649 | </div> |
654 | 650 | |
655 | | <div class="bp-feature"> |
656 | | <span class="dashicons dashicons-clock" aria-hidden="true"></span> |
657 | | <h4 class="feature-title"><?php esc_html_e( 'Localized Timestamps', 'buddypress' ); ?></h4> |
658 | | <p><?php esc_html_e( 'Fix inaccurate timestamps due to time zones or page caching with new client-side timestamp handling.', 'buddypress' ); ?></p> |
659 | | </div> |
| 651 | <div class="bp-feature-imaged anon"> |
| 652 | <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/twenty-seventeen.png' ); ?>" alt="<?php esc_attr_e( 'Email header showing the list-unsubscribe feature.', 'buddypress' ); ?>"> |
| 653 | </div> |
660 | 654 | |
661 | | <div class="bp-feature opposite"> |
662 | | <span class="dashicons dashicons-email" aria-hidden="true"></span> |
663 | | <h4 class="feature-title"><?php esc_html_e( 'Links to Unsubscribe from Emails', 'buddypress' ); ?></h4> |
664 | | <p><?php esc_html_e( 'Improve user experience by facilitating the removal of any or all subscriptions via new email tokens and unsubscribe links.', 'buddypress' ); ?></p> |
| 655 | <div class="clear"></div> |
665 | 656 | </div> |
666 | 657 | |
667 | 658 | <div class="bp-feature"> |
668 | | <span class="dashicons dashicons-admin-page" aria-hidden="true"></span> |
669 | | <h4 class="title"><?php esc_html_e( 'Use WP Page Names for Headings of BP Directory Pages', 'buddypress' ); ?></h4> |
670 | | <p><?php esc_html_e( 'Whatever you choose as the title of your Activity, Sites, Members, or Groups directory pages on the back end, is what you’ll get as the heading on the front end.', 'buddypress' ); ?></p> |
| 659 | <span class="dashicons dashicons-testimonial" aria-hidden="true"></span> |
| 660 | <h4 class="feature-title"><?php esc_html_e( 'More hooks for Messages', 'buddypress' ); ?></h4> |
| 661 | <p><?php esc_html_e( 'We\'ve added new filters and actions for different methods throughout the Messages component.', 'buddypress' ); ?></p> |
671 | 662 | </div> |
672 | 663 | |
673 | 664 | <div class="bp-feature opposite"> |
674 | | <span class="dashicons dashicons-universal-access" aria-hidden="true"></span> |
675 | | <h4 class="title"><?php esc_html_e( 'Accessibility Updates for the Front End and Back End', 'buddypress' ); ?></h4> |
676 | | <p><?php esc_html_e( 'Continued improvements for universal access help make BuddyPress back- and front-end screens usable for everyone (and on more devices).', 'buddypress' ); ?></p> |
| 665 | <span class="dashicons dashicons-search" aria-hidden="true"></span> |
| 666 | <h4 class="feature-title"><?php esc_html_e( 'A more flexible Group search', 'buddypress' ); ?></h4> |
| 667 | <p><?php |
| 668 | /* translators: 1: search_column, 2: BP_Groups_Group::get() */ |
| 669 | printf( __( 'The new %1$s parameter allows developers to specify which columns should be matched, as well as where wildcard characters should be placed, when searching via %2$s.', 'buddypress' ), |
| 670 | '<code>search_column</code>', |
| 671 | '<code>BP_Groups_Group::get()</code>' ); |
| 672 | ?></p> |
677 | 673 | </div> |
678 | 674 | |
679 | 675 | <div class="bp-feature"> |
680 | | <span class="dashicons dashicons-screenoptions" aria-hidden="true"></span> |
681 | | <h4 class="title"><?php |
682 | | /* translators: %s: BP_Button */ |
683 | | printf( __( 'Refactored %s Class to Accept New Arguments', 'buddypress' ), '<code>BP_Button</code>' ); |
684 | | ?></h4> |
685 | | <p><?php esc_html_e( 'Provides developers with improved syntax and more control over the rendering of buttons.', 'buddypress' ); ?></p> |
| 676 | <span class="dashicons dashicons-groups" aria-hidden="true"></span> |
| 677 | <h4 class="feature-title"><?php esc_html_e( 'Alphabetical sorting for Groups widget', 'buddypress' ); ?></h4> |
| 678 | <p><?php esc_html_e( 'The groups widget can now be sorted alphabetically, in addition to sorting the results by recently active, popular, and newest groups.', 'buddypress' ); ?></p> |
686 | 679 | </div> |
687 | 680 | |
688 | 681 | <div class="bp-feature opposite"> |
689 | | <span class="dashicons dashicons-image-filter" aria-hidden="true"></span> |
690 | | <h4 class="title"><?php esc_html_e( 'Improvements to a Single Group’s Management Screens', 'buddypress' ); ?></h4> |
691 | | <p><?php esc_html_e( 'Improved markup, new modular group management templates, and a new member search form are just some of the enhancements added to the single group admin screens.', 'buddypress' ); ?></p> |
692 | | </div> |
693 | | |
694 | | <div class="bp-feature"> |
695 | | <span class="dashicons dashicons-groups" aria-hidden="true"></span> |
696 | | <h4 class="title"><?php |
697 | | /* translators: %s: parent_id */ |
698 | | printf( __( 'Support for Querying for Groups by New Column %s', 'buddypress' ), '<code>parent_id</code>' ); |
| 682 | <span class="dashicons dashicons-email" aria-hidden="true"></span> |
| 683 | <h4 class="feature-title"><?php |
| 684 | /* translators: %s: PHPMailer */ |
| 685 | printf( __( 'Enable choice of %s', 'buddypress' ), '<code>PHPMailer</code>' ); |
699 | 686 | ?></h4> |
700 | | <p><?php esc_html_e( 'Query support for hierarchical groups makes it much easier for developers to add custom front-end functionality.', 'buddypress' ); ?></p> |
701 | | </div> |
702 | | |
703 | | <div class="bp-feature opposite"> |
704 | | <span class="dashicons dashicons-chart-bar" aria-hidden="true"></span> |
705 | | <h4 class="title"><?php esc_html_e( 'Many, Many Performance Improvements', 'buddypress' ); ?></h4> |
706 | 687 | <p><?php |
707 | | /* translators: %s: bp_get_user_groups() */ |
708 | | printf( __( 'Improved performance by removing extra database queries, adding new cache calls, and removing the number of loops in %s.', 'buddypress' ), '<code>bp_get_user_groups()</code>' ); |
| 688 | /* translators: %s: PHPMailer */ |
| 689 | printf( __( 'Developers can specify which %s should be used when sending BuddyPress with a new filter.', 'buddypress' ), '<code>PHPMailer</code>' ); |
709 | 690 | ?></p> |
710 | 691 | </div> |
711 | 692 | |
712 | | |
713 | 693 | <div class="clear"></div> |
714 | 694 | </div> |
715 | 695 | |
716 | 696 | <div class="bp-changelog-section"> |
717 | | <h3 class="changelog-title"><?php esc_html_e( 'And so much more!', 'buddypress' ); ?></h3> |
718 | | <p class="bp-changelog-url"><?php |
719 | | /* translators: %s: URL to the BuddyPress Codex article */ |
720 | | printf( __( '<a href="%s">Changelog for BuddyPress 2.7.</a>', 'buddypress' ), |
721 | | 'https://codex.buddypress.org/releases/version-2-7-0/' ); |
722 | | ?></p> |
| 697 | <h3 class="changelog-title"><?php esc_html_e( 'More under the hood …', 'buddypress' ); ?></h3> |
| 698 | <div class="bp-changelog three-col"> |
| 699 | <div class="col"> |
| 700 | <h4 class="title"><?php esc_html_e( 'Localization Improvements', 'buddypress' ); ?></h4> |
| 701 | <p><?php esc_html_e( 'We continue to improve our localization internals, making it easier for translation editors to ensure that BuddyPress will be available for everyone in their own language.', 'buddypress' ); ?></p> |
| 702 | </div> |
| 703 | <div class="col"> |
| 704 | <h4 class="title"><?php esc_html_e( 'Developer Reference', 'buddypress' ); ?></h4> |
| 705 | <p><?php esc_html_e( 'Regular updates to inline code documentation make it easier for developers to understand how BuddyPress works.', 'buddypress' ); ?></p> |
| 706 | </div> |
723 | 707 | |
| 708 | <div class="col"> |
| 709 | <h4 class="title"><?php esc_html_e( 'Accessibility Upgrades', 'buddypress' ); ?></h4> |
| 710 | <p><?php esc_html_e( 'Continued improvements for universal access help make BuddyPress back- and front-end screens usable for everyone (and on more devices).', 'buddypress' ); ?></p> |
| 711 | </div> |
| 712 | </div> |
| 713 | <div class="clear"></div> |
724 | 714 | </div> |
725 | 715 | |
726 | 716 | <div class="bp-assets"> |
… |
… |
class BP_Admin { |
934 | 924 | // Switch welcome text based on whether this is a new installation or not. |
935 | 925 | $welcome_text = ( self::is_new_install() ) |
936 | 926 | ? __( 'Thank you for installing BuddyPress! BuddyPress helps site builders and WordPress developers add community features to their websites, with user profile fields, activity streams, messaging, and notifications.', 'buddypress' ) |
937 | | : __( 'Thank you for updating! BuddyPress %s has many new features that you will enjoy.', 'buddypress' ); |
| 927 | : __( 'Thank you for updating! BuddyPress %s has many new improvements that you will enjoy.', 'buddypress' ); |
938 | 928 | |
939 | 929 | ?> |
940 | 930 | |