diff --git src/bp-core/classes/class-bp-admin.php src/bp-core/classes/class-bp-admin.php
index 85b4432c2..4f850991d 100644
|
|
|
class BP_Admin { |
| 757 | 757 | <div class="bp-hello-content"> |
| 758 | 758 | <div id="dynamic-content"></div> |
| 759 | 759 | <div id="top-features"> |
| 760 | | <h2><?php esc_html_e( 'It’s all about Widget Blocks!', 'buddypress' ); ?></h2> |
| | 760 | <h2><?php esc_html_e( 'Site Membership Requests', 'buddypress' ); ?></h2> |
| 761 | 761 | <figure class="bp-hello-aligncenter"> |
| 762 | | <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/images/latest-activities.jpg' ); ?>" alt="<?php esc_attr_e( 'Illustration showing the Latest Activities Widget Block.', 'buddypress' ); ?>" /> |
| | 762 | <img src="<?php echo esc_url( 'https://cldup.com/phT2z5-C6W.png' ); ?>" alt="<?php esc_attr_e( 'Illustration showing the Site Membership Requests list.', 'buddypress' ); ?>" /> |
| 763 | 763 | </figure> |
| 764 | 764 | <p> |
| 765 | | <?php esc_html_e( 'WordPress 5.8 is right around the corner and debuts a brand new way to manage widgets: the Widget Block Editor. With BuddyPress 9.0.0, we have introduced 10 new BuddyPress Blocks, so you can continue to use your favorite BP Widgets with the new WP Block approach.', 'buddypress' ); ?> |
| | 765 | <?php esc_html_e( 'Take control of your site’s membership! With site membership requests, new in BuddyPress 10.0.0, administrators can significantly reduce the number of spam users trolling their sites.', 'buddypress' ); ?> |
| 766 | 766 | </p> |
| 767 | 767 | <p> |
| 768 | | <?php esc_html_e( 'The new BP Widget Blocks are simply Legacy Widgets we’ve rebuilt as BP Blocks, which means you can also access them in the Block Editor for use in your posts or pages!', 'buddypress' ); ?> |
| | 768 | <?php esc_html_e( 'When requests are enabled, visitors may submit a membership request, which must be manually approved by a site administrator.', 'buddypress' ); ?> |
| | 769 | <?php |
| | 770 | printf( |
| | 771 | /* translators: %s is the placeholder for the link to the BuddyPress Codex documentation page. */ |
| | 772 | esc_html__( '%s about this feature.', 'buddypress' ), |
| | 773 | sprintf( |
| | 774 | '<a href="%1$s">%2$s</a>', |
| | 775 | esc_url( 'https://codex.buddypress.org/administrator-guide/alternative-registration-workflows/#membership-requests-available-in-buddypress-10' ), |
| | 776 | esc_html__( 'Read more', 'buddypress' ) |
| | 777 | ) |
| | 778 | ); |
| | 779 | ?> |
| | 780 | </p> |
| | 781 | |
| | 782 | <hr class="bp-hello-divider"/> |
| | 783 | |
| | 784 | <h2><?php esc_html_e( 'More engaging logging activities', 'buddypress' ); ?></h2> |
| | 785 | <p> |
| | 786 | <?php esc_html_e( 'These simple activities about specific user interactions or events (e.g.: you and me are now friends) are more visually attractive to improve user engagement in your community.', 'buddypress' ); ?> |
| 769 | 787 | </p> |
| 770 | 788 | <figure class="bp-hello-aligncenter"> |
| 771 | | <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/images/bp-widget-blocks.jpg' ); ?>" alt="<?php esc_attr_e( 'Illustration showing BP Blocks collection.', 'buddypress' ); ?>" /> |
| | 789 | <img src="<?php echo esc_url( 'https://cldup.com/h8r6HSMO4k.png' ); ?>" alt="<?php esc_attr_e( 'Illustration showing the new avatar secondary activity.', 'buddypress' ); ?>" /> |
| 772 | 790 | </figure> |
| 773 | 791 | <p> |
| 774 | | <em><?php esc_html_e( 'PS: Have you noticed that the icons for BuddyPress Blocks are now bright red?', 'buddypress' ); ?></em> |
| | 792 | <?php esc_html_e( 'The most impressive new activity is that which is generated when a user updates their profile photo: it will include the profile photo that spurred the creation of the activity item, even if it has been updated since.', 'buddypress' ); ?> |
| 775 | 793 | </p> |
| 776 | | <h3> |
| 777 | | <?php |
| 778 | | printf( |
| 779 | | /* Translators: %s is a smiling face with sunglasses emoji. */ |
| 780 | | esc_html__( 'Convert a Legacy Widget into a Block Widget in two clicks %s', 'buddypress' ), |
| 781 | | wp_staticize_emoji( '😎' ) |
| 782 | | ); |
| 783 | | ?> |
| 784 | | </h3> |
| | 794 | |
| | 795 | <hr class="bp-hello-divider"/> |
| | 796 | |
| | 797 | <h2><?php esc_html_e( 'Administration: improved BuddyPress management experience', 'buddypress' ); ?></h2> |
| 785 | 798 | <figure class="bp-hello-aligncenter"> |
| 786 | | <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/images/legacy-widget-to-block.jpg' ); ?>" alt="<?php esc_attr_e( 'Illustration showing the Legacy Widget to Widget Block transformation.', 'buddypress' ); ?>" /> |
| | 799 | <img src="<?php echo esc_url( 'https://cldup.com/6ydVzamAqn.png' ); ?>" alt="<?php esc_attr_e( 'Illustration showing the BuddyPress settings screen.', 'buddypress' ); ?>" /> |
| 787 | 800 | </figure> |
| 788 | 801 | <p> |
| 789 | | <?php esc_html_e( 'As shown in the image above, it’s very easy to transform a Widget into a Block. Your existing Widget settings will automagically be imported into your shiny, new BP Block.', 'buddypress' ); ?> |
| | 802 | <?php esc_html_e( 'As shown in the image above, the BuddyPress administration screens are now using the layout WordPress uses for its tabbed administration screens.', 'buddypress' ); ?> |
| 790 | 803 | </p> |
| | 804 | <figure class="bp-hello-aligncenter"> |
| | 805 | <img src="<?php echo esc_url( 'https://cldup.com/mVlztez7Bv.png' ); ?>" alt="<?php esc_attr_e( 'Illustration showing the Edit Pages screen.', 'buddypress' ); ?>" /> |
| | 806 | </figure> |
| 791 | 807 | <p> |
| 792 | | <?php esc_html_e( 'NB: Creating a BP Block for each existing BP Legacy Widget marks the first step toward the progressive retirement of these tiny pieces of BuddyPress content.', 'buddypress' ); ?> |
| | 808 | <?php esc_html_e( 'Knowing the WordPress pages BuddyPress uses for its front-end directory screens is easier, a status information informs you the role of BuddyPress pages.', 'buddypress' ); ?> |
| 793 | 809 | </p> |
| 794 | 810 | |
| 795 | 811 | <hr class="bp-hello-divider"/> |
| 796 | 812 | |
| 797 | | <h2><?php esc_html_e( 'The BP REST API: Improved endpoints and a new one!', 'buddypress' ); ?></h2> |
| | 813 | <h2><?php esc_html_e( 'Ready for Twenty Twenty-Two!', 'buddypress' ); ?></h2> |
| 798 | 814 | <p> |
| 799 | | <?php esc_html_e( 'This BuddyPress release was built in a short time frame to be ready for the release of WordPress 5.8.', 'buddypress' ); ?> |
| | 815 | <?php esc_html_e( 'WordPress 5.9 will introduce Full Site Editing featuring the new default theme Twenty Twenty-Two.', 'buddypress' ); ?> |
| 800 | 816 | </p> |
| 801 | 817 | <p> |
| 802 | | <?php esc_html_e( 'While doing the work on BP Widget Blocks, we’ve also manipulated many of our REST API endpoints and took this opportunity to improve several of them. We’re also introducing a new Sitewide Notices endpoint to allow site admins to create, edit, or delete notices and let all of your users fetch the active notice.', 'buddypress' ); ?> |
| | 818 | <?php esc_html_e( 'The needed adjustments to our BP Theme Compatibility API were made so that you can enjoy this amazing feature making sure the BuddyPress generated content integrates optimally within themes supporting it.', 'buddypress' ); ?> |
| 803 | 819 | </p> |
| 804 | 820 | |
| 805 | 821 | <hr class="bp-hello-divider"/> |
| 806 | 822 | |
| 807 | 823 | <h2><?php esc_html_e( 'Under the hood', 'buddypress' ); ?></h2> |
| 808 | 824 | <p> |
| 809 | | <?php esc_html_e( '9.0.0 comes with fewer changes than most of our releases but includes fixes for issues which appeared in 8.0.0 and BP Nouveau Template Pack improvements.', 'buddypress' ); ?> |
| | 825 | <?php esc_html_e( '10.0.0 comes with more than 70 changes including performance improvements to the BP Notifications, the BP Activity & the BP Signups API; Date Queries support for Members, Groups and Sites loops; improved inline documentation/translators comments and code formatting.', 'buddypress' ); ?> |
| 810 | 826 | <?php esc_html_e( 'Click on the "Changelog" tab to discover them all!', 'buddypress' ); ?> |
| 811 | 827 | </p> |
| 812 | 828 | <figure class="bp-hello-aligncenter"> |
| … |
… |
class BP_Admin { |
| 850 | 866 | <?php |
| 851 | 867 | printf( |
| 852 | 868 | /* translators: 1: heart dashicons. 2: BP Credits screen url. 3: number of BuddyPress contributors to this version. */ |
| 853 | | _n( 'Built with %1$s by <a href="%2$s">%3$d volunteer</a>.', 'Built with %1$s by <a href="%2$s">%3$d volunteers</a>.', 24, 'buddypress' ), |
| | 869 | _n( 'Built with %1$s by <a href="%2$s">%3$d volunteer</a>.', 'Built with %1$s by <a href="%2$s">%3$d volunteers</a>.', 38, 'buddypress' ), |
| 854 | 870 | '<span class="dashicons dashicons-heart"></span>', |
| 855 | 871 | esc_url( bp_get_admin_url( 'admin.php?page=bp-credits' ) ), |
| 856 | | number_format_i18n( 24 ) |
| | 872 | number_format_i18n( 38 ) |
| 857 | 873 | ); |
| 858 | 874 | ?> |
| 859 | 875 | </p> |
| … |
… |
class BP_Admin { |
| 1014 | 1030 | Varun Dubey</a> |
| 1015 | 1031 | </li> |
| 1016 | 1032 | <li class="wp-person" id="wp-person-sbrajesh"> |
| 1017 | | <a class="web" href="https://profiles.wordpress.org/sbrajesh/"><img alt="" class="gravatar" src="//gravatar.com/avatar/2106622ee90d53d15ac1402806616aca?s=120"> |
| 1018 | | Brajesh Singh</a> |
| | 1033 | <a class="web" href="https://profiles.wordpress.org/oztaser/"><img alt="" class="gravatar" src="//gravatar.com/avatar/06eb4dd13c0113bf826968ae16a13e52?s=120"> |
| | 1034 | Adil Öztaşer</a> |
| 1019 | 1035 | </li> |
| 1020 | 1036 | </ul> |
| 1021 | 1037 | |
| … |
… |
class BP_Admin { |
| 1029 | 1045 | ?> |
| 1030 | 1046 | </h3> |
| 1031 | 1047 | <p class="wp-credits-list"> |
| | 1048 | <a href="https://github.com/Achilles4400">Achilles4400</a>, |
| | 1049 | <a href="https://profiles.wordpress.org/oztaser/">Adil Öztaşer (oztaser)</a>, |
| 1032 | 1050 | <a href="https://profiles.wordpress.org/boonebgorges/">Boone B Gorges (boonebgorges)</a>, |
| 1033 | | <a href="https://profiles.wordpress.org/sbrajesh/">Brajesh Singh (sbrajesh)</a>, |
| 1034 | | <a href="https://profiles.wordpress.org/dcavins/">David Cavins (dcavins)</a>, |
| | 1051 | <a href="https://profiles.wordpress.org/needle/">Christian Wach (needle)</a>, |
| | 1052 | <a href="https://profiles.wordpress.org/comminski/">comminski</a>, |
| 1035 | 1053 | <a href="https://profiles.wordpress.org/dancaragea/">Dan Caragea (dancaragea)</a>, |
| 1036 | | <a href="https://profiles.wordpress.org/ianbarnes/">Ian Barnes (ianbarnes)</a>, |
| 1037 | | <a href="https://profiles.wordpress.org/nobnob/">Javier Esteban (nobnob)</a>, |
| | 1054 | <a href="https://profiles.wordpress.org/dcavins/">David Cavins (dcavins)</a>, |
| | 1055 | <a href="https://profiles.wordpress.org/dhavalkasvala/">Dhaval Kasavala (dhavalkasvala)</a>, |
| | 1056 | <a href="https://profiles.wordpress.org/dd32/">Dion Hulse (dd32)</a>, |
| | 1057 | <a href="https://github.com/durdenx">durdenx</a>, |
| | 1058 | <a href="https://profiles.wordpress.org/ellucinda/">ellucinda</a>, |
| | 1059 | <a href="https://profiles.wordpress.org/vanpop/">Evan Stein (vanpop)</a>, |
| | 1060 | <a href="https://profiles.wordpress.org/garyj/">Gary Jones (garyj)</a>, |
| | 1061 | <a href="https://profiles.wordpress.org/hasanuzzamanshamim/">Hasanuzzaman (hasanuzzamanshamim)</a>, |
| | 1062 | <a href="https://github.com/jakubrak">jakubrak</a>, |
| | 1063 | <a href="https://profiles.wordpress.org/jean-david/">Jean-David Daviet (Jean-David)</a>, |
| | 1064 | <a href="https://profiles.wordpress.org/jenfraggle/">Jennifer Burnett (jenfraggle)</a> |
| 1038 | 1065 | <a href="https://profiles.wordpress.org/johnjamesjacoby/">John James Jacoby (johnjamesjacoby)</a>, |
| 1039 | | <a href="https://profiles.wordpress.org/leahkoerper/">leahkoerper</a>, |
| 1040 | | <a href="https://profiles.wordpress.org/marbaque/">marbaque</a>, |
| | 1066 | <a href="https://profiles.wordpress.org/josett225/">josett225</a>, |
| | 1067 | <a href="https://profiles.wordpress.org/ketan_chawda/">Ketan Chawda (ketan_chawda)</a>, |
| | 1068 | <a href="https://profiles.wordpress.org/konnektiv/">konnektiv</a>, |
| | 1069 | <a href="https://profiles.wordpress.org/offereins/">Laurens Offereins (Offereins)</a>, |
| | 1070 | <a href="https://profiles.wordpress.org/magland/">magland</a>, |
| | 1071 | <a href="https://profiles.wordpress.org/mandro/">mandro</a>, |
| | 1072 | <a href="https://github.com/marioshtika">marioshtika</a>, |
| 1041 | 1073 | <a href="https://profiles.wordpress.org/markscottrobson/">Mark Robson (markscottrobson)</a>, |
| 1042 | 1074 | <a href="https://profiles.wordpress.org/imath/">Mathieu Viet (imath)</a>, |
| 1043 | | <a href="https://profiles.wordpress.org/modemlooper/">modemlooper</a>, |
| 1044 | 1075 | <a href="https://profiles.wordpress.org/niftythree/">Nifty (niftythree)</a>, |
| | 1076 | <a href="https://profiles.wordpress.org/nunks/">nunks</a>, |
| | 1077 | <a href="https://profiles.wordpress.org/oddev56/">oddev56</a>, |
| 1045 | 1078 | <a href="https://profiles.wordpress.org/DJPaul/">Paul Gibbs (DJPaul)</a>, |
| 1046 | | <a href="https://profiles.wordpress.org/nekojonez/">Pieterjan Deneys (nekojonez)</a>, |
| 1047 | 1079 | <a href="https://profiles.wordpress.org/r-a-y/">r-a-y</a>, |
| 1048 | 1080 | <a href="https://profiles.wordpress.org/espellcaste/">Renato Alves (espellcaste)</a>, |
| 1049 | | <a href="https://profiles.wordpress.org/shanebp">shanebp</a>, |
| 1050 | | <a href="https://profiles.wordpress.org/shawfactor/">shawfactor</a>, |
| 1051 | | <a href="https://profiles.wordpress.org/slaffik/">Slava Abakumov (slaffik)</a>, |
| 1052 | | <a href="https://profiles.wordpress.org/netweb/">Stephen Edgar (netweb)</a>, |
| 1053 | | <a href="https://profiles.wordpress.org/tamarazambrana/">tamarazambrana</a>, |
| 1054 | | <a href="https://github.com/tkserver">TKServer</a>, |
| 1055 | | <a href="https://profiles.wordpress.org/vapvarun/">Varun Dubey (vapvarun)</a>. |
| | 1081 | <a href="https://profiles.wordpress.org/rigsbyx/">rigsbyx</a>, |
| | 1082 | <a href="https://profiles.wordpress.org/thomaslhotta/">thomaslhotta</a>, |
| | 1083 | <a href="https://profiles.wordpress.org/vapvarun/">Varun Dubey (vapvarun)</a>, |
| | 1084 | <a href="https://profiles.wordpress.org/venutius/">venutius</a>, |
| | 1085 | <a href="https://profiles.wordpress.org/yesbutmaybeno/">yesbutmaybeno</a>. |
| 1056 | 1086 | </p> |
| 1057 | 1087 | |
| 1058 | 1088 | <h3 class="wp-people-group"><?php esc_html_e( 'With our thanks to these Open Source projects', 'buddypress' ); ?></h3> |