Skip to:
Content

BuddyPress.org

Ticket #8376: 8376-hello-update.patch

File 8376-hello-update.patch, 12.5 KB (added by imath, 5 years ago)

Hello BuddyPress 7.0.0 modal updates

  • src/bp-core/classes/class-bp-admin.php

    diff --git src/bp-core/classes/class-bp-admin.php src/bp-core/classes/class-bp-admin.php
    index d0c0fa800..07a731474 100644
    class BP_Admin { 
    656656                                <div class="bp-hello-content">
    657657                                        <div id="dynamic-content"></div>
    658658                                        <div id="top-features">
    659                                                 <h2><?php esc_html_e( 'Say hello to the first two BuddyPress blocks!', 'buddypress' ); ?></h2>
     659                                                <h2><?php esc_html_e( 'Manage Member Types and Group Types right from your WordPress Dashboard.', 'buddypress' ); ?></h2>
    660660                                                <figure class="bp-hello-aligncenter">
    661                                                         <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/images/bp-blocks.gif' ); ?>" alt="<?php esc_attr_e( 'Gif Animation showing how to insert the BuddyPress Group Block.', 'buddypress' ); ?>" />
     661                                                        <img src="<?php echo esc_url( 'https://cldup.com/JeHe2Hanpv.png' ); ?>" alt="<?php esc_attr_e( 'Illustration showing how to access to the BP Types Admin areas.', 'buddypress' ); ?>" />
    662662                                                </figure>
    663663                                                <p>
    664                                                         <?php esc_html_e( 'BuddyPress 6.0.0 comes with two awesome blocks for your WordPress Editor: the BP Member and BP Group Blocks.', 'buddypress' ); ?>
    665                                                         <?php esc_html_e( 'Available from the BuddyPress blocks category of your WordPress Block menu, these lovely blocks let you insert a rich content block featuring a specific member or group from your community site in a WordPress post or page.', 'buddypress' ); ?>
    666                                                         <br/>
     664                                                        <?php esc_html_e( 'Playing with BP Types just became much easier! The Member Types and Group Types were primarily introduced in BuddyPress as features for advanced users, just like the WordPress Custom Post Type feature.', 'buddypress' ); ?>
    667665                                                        <?php printf(
    668                                                                 /* translators: %s is the placeholder for the link to the Advanced section of the BP Blocks development note. */
    669                                                                 esc_html__( 'If you\'re an Advanced BuddyPresser and wish to fine tune the BuddyPress blocks for your community site, learn more in %s about the new BP Blocks.', 'buddypress' ),
     666                                                                /* translators: %s is the placeholder for the link to the BP Types Admin developer note. */
     667                                                                esc_html__( 'Thanks to the two new %s, adding, editing and deleting Member & Group Types has never been so easy!', 'buddypress' ),
    670668                                                                sprintf(
    671669                                                                        '<a href="%1$s">%2$s</a>',
    672                                                                         esc_url( 'https://bpdevel.wordpress.com/2020/03/30/welcome-to-the-first-buddypress-blocks/#advanced-customizations' ),
    673                                                                         esc_html__( 'this section of our development note', 'buddypress' )
     670                                                                        esc_url( 'https://bpdevel.wordpress.com/2020/09/21/bp-types-admin-ui/' ),
     671                                                                        esc_html__( 'WordPress Administration Screens', 'buddypress' )
     672                                                                )
     673                                                        ); ?>
     674                                                        <?php esc_html_e( 'Now you can set up BP Types using custom code or by simply using the Administration interfaces.', 'buddypress' ); ?>
     675                                                </p>
     676                                                <h3><?php esc_html_e( 'Multiple Member Type assignment.', 'buddypress' ); ?></h3>
     677                                                <p>
     678                                                        <?php printf(
     679                                                                /* translators: %s is the placeholder for the link to the BP Types Admin developer note. */
     680                                                                esc_html__( 'As we were pretty hot on the subject, we also improved Member Types assignment. You can now %s to users from their extended profile in the WordPress Dashboard.', 'buddypress' ),
     681                                                                sprintf(
     682                                                                        '<a href="%1$s">%2$s</a>',
     683                                                                        esc_url( 'https://bpdevel.wordpress.com/2020/10/26/assigning-multiple-member-types-to-a-user/' ),
     684                                                                        esc_html__( 'add more than one member type', 'buddypress' )
    674685                                                                )
    675686                                                        ); ?>
    676687                                                </p>
    677688
    678689                                                <hr class="bp-hello-divider"/>
    679690
    680                                                 <h2><?php esc_html_e( 'The BP REST API is now completed!', 'buddypress' ); ?></h2>
     691                                                <h2><?php esc_html_e( 'The BP Blocks category now includes 5 blocks!', 'buddypress' ); ?></h2>
     692                                                <figure class="bp-hello-aligncenter">
     693                                                        <img src="<?php echo esc_url( 'https://cldup.com/9KW1bz97uc.png' ); ?>" alt="<?php esc_attr_e( 'Illustration showing the BuddyPress Blocks category inside the Block Editor Inserter.', 'buddypress' ); ?>" />
     694                                                </figure>
     695                                                <p>
     696                                                        <?php esc_html_e( '3 new BP Blocks are now available via your WordPress Editor.', 'buddypress' ); ?>
     697                                                        <?php esc_html_e( 'Available from the BuddyPress blocks category of the WordPress Block Inserter, you can now feature a list of members, a list of groups or embed a public BuddyPress Activity into your post or page.', 'buddypress' ); ?>
     698                                                        <?php printf(
     699                                                                /* translators: %s is the placeholder for the link to the BP Blocks developer note. */
     700                                                                esc_html__( 'Read more about it in this %s.', 'buddypress' ),
     701                                                                sprintf(
     702                                                                        '<a href="%1$s">%2$s</a>',
     703                                                                        esc_url( 'https://bpdevel.wordpress.com/2020/10/14/three-new-blocks-to-expect-in-buddypress-7-0-0/' ),
     704                                                                        esc_html__( 'development note', 'buddypress' )
     705                                                                )
     706                                                        ); ?>
     707                                                </p>
     708
     709                                                <hr class="bp-hello-divider"/>
     710
     711                                                <h2><?php esc_html_e( 'Get the best of the BP REST API improvements!', 'buddypress' ); ?></h2>
    681712                                                <figure class="bp-hello-alignright">
    682713                                                        <div class="dashicons dashicons-rest-api big"></div>
    683714                                                </figure>
    684715                                                <p>
    685716                                                        <?php printf(
    686717                                                                /* translators: %s is the placeholder for the link to the BP REST API documentation. */
    687                                                                 esc_html__( 'In 5.0.0, we introduced the first endpoints and provided %s for them.', 'buddypress' ),
     718                                                                esc_html__( 'The %s has been updated according to the latest improvements we’ve brought to the BuddyPress REST API.', 'buddypress' ),
    688719                                                                sprintf(
    689720                                                                        '<a href="%1$s">%2$s</a>',
    690721                                                                        esc_url( 'https://developer.buddypress.org/bp-rest-api/' ),
    691                                                                         esc_html__( 'reference documentation', 'buddypress' )
     722                                                                        esc_html__( 'Developer documentation', 'buddypress' )
     723                                                                )
     724                                                        ); ?>
     725                                                </p>
     726                                                <p>
     727                                                        <?php esc_html_e( 'To name two: get the groups the logged in user is a member of, and create a blog when BuddyPress is activated on a network of WordPress sites.', 'buddypress' ); ?>
     728                                                        <?php printf(
     729                                                                /* translators: %s is the placeholder for the link to the BP REST API developer note. */
     730                                                                esc_html__( 'Read this %s to learn about all the others.', 'buddypress' ),
     731                                                                sprintf(
     732                                                                        '<a href="%1$s">%2$s</a>',
     733                                                                        esc_url( 'https://bpdevel.wordpress.com/2020/11/14/buddypress-rest-api-whats-new-in-7-0-0/' ),
     734                                                                        esc_html__( 'development note', 'buddypress' )
    692735                                                                )
    693736                                                        ); ?>
    694                                                         <?php esc_html_e( 'In 6.0.0, we are adding the 6 remaining endpoints you were waiting for: Blogs, Blog avatar, Friends, Group Cover Image, Member Cover Image and User Signups. You can now build full-featured BuddyPress Apps!', 'buddypress' ); ?>
    695737                                                </p>
    696738
    697739                                                <hr class="bp-hello-divider"/>
    698740
    699                                                 <h2><?php esc_html_e( 'BP Nouveau has been improved', 'buddypress' ); ?></h2>
     741                                                <h2><?php esc_html_e( 'BP Nouveau is ready for Twenty Twenty-One', 'buddypress' ); ?></h2>
    700742                                                <p>
    701                                                         <?php esc_html_e( 'Your active theme supports wide layouts? Awesome! BP Nouveau now supports wide (and really, really wide) content areas, too!', 'buddypress' ); ?>
     743                                                        <?php esc_html_e( 'You love the latest default WordPress Theme, so do we!', 'buddypress' ); ?>
     744                                                        <?php esc_html_e( 'It’s important for us to make sure the BP Nouveau template pack looks great in the default themes included in the WordPress package.', 'buddypress' ); ?>
     745                                                        <?php esc_html_e( 'This is the first of the many improvements we are bringing to our default Template Pack.', 'buddypress' ); ?>
    702746                                                </p>
    703747                                                <figure class="bp-hello-aligncenter">
    704                                                         <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/images/bp-nouveau-wide-aligns.png' ); ?>" alt="<?php esc_attr_e( 'Screenshot of the BP Nouveau customizer setting to take advantage of wide layouts', 'buddypress' ); ?>" />
     748                                                        <img src="<?php echo esc_url( 'https://cldup.com/OlK8GVdW52.png' ); ?>" alt="<?php esc_attr_e( 'Screenshot of the BuddyPress Members directory', 'buddypress' ); ?>" />
    705749                                                </figure>
    706                                                 <p>
    707                                                         <?php esc_html_e( 'This is the first of the many improvements we are bringing to our default Template Pack. It never looked so beautiful in your theme.', 'buddypress' ); ?>
    708                                                 </p>
    709750
    710751                                                <hr class="bp-hello-divider"/>
    711752
    712                                                 <h2><?php esc_html_e( 'Under the hood', 'buddypress' ); ?></h2>
    713                                                 <figure class="bp-hello-alignright">
    714                                                         <div class="dashicons dashicons-buddicons-buddypress-logo big"></div>
     753                                                <h2><?php esc_html_e( 'Improved support for WP CLI.', 'buddypress' ); ?></h2>
     754                                                <figure class="bp-hello-alignleft">
     755                                                        <div class="dashicons dashicons-arrow-right-alt2 big"></div>
    715756                                                </figure>
    716757                                                <p>
    717                                                         <?php esc_html_e( '6.0.0 includes more than 80 changes to improve your BuddyPress experience as users, as contributors to our code and as contributors to our translations.', 'buddypress' ); ?>
     758                                                        <?php esc_html_e( 'WP-CLI is the command-line interface for WordPress. You can update plugins, configure multisite installs, and much more, all without using a web browser.', 'buddypress' ); ?>
     759                                                        <?php esc_html_e( 'In 7.0.0, you will be able to use new BuddyPress CLI commands to manage BuddyPress Group Meta, BuddyPress Activity Meta, activate or deactivate the BuddyPress signup feature and create BuddyPress-specific testing code for plugins.', 'buddypress' ); ?>
    718760                                                </p>
    719761                                                <p>
    720762                                                        <?php printf(
    721                                                                 /* translators: %s is the placeholder for the link to the Avatar changes development note. */
    722                                                                 esc_html__( 'The biggest change moves local avatar management to the Members component. Read more about it in %s.', 'buddypress' ),
     763                                                                /* translators: %s is the placeholder for the link to the WP BP CLI developer note. */
     764                                                                esc_html__( 'Discover more about it from this %s.', 'buddypress' ),
    723765                                                                sprintf(
    724766                                                                        '<a href="%1$s">%2$s</a>',
    725                                                                         esc_url( 'https://bpdevel.wordpress.com/2020/03/01/the-profile-photo-cover-image-features-belong-to-members/' ),
    726                                                                         esc_html__( 'this development note', 'buddypress' )
     767                                                                        esc_url( 'https://bpdevel.wordpress.com/2020/10/09/wp-cli-buddypress-2-0/' ),
     768                                                                        esc_html__( 'developer note', 'buddypress' )
    727769                                                                )
    728770                                                        ); ?>
    729771                                                </p>
    730772
    731773                                                <hr class="bp-hello-divider"/>
    732774
    733                                                 <h2><?php esc_html_e( 'We want to hear your voice', 'buddypress' ); ?></h2>
    734                                                 <figure class="bp-hello-alignleft">
    735                                                         <div class="dashicons dashicons-microphone big"></div>
    736                                                 </figure>
    737                                                 <p class="aligncenter">
    738                                                         <strong><?php printf(
    739                                                                 /* translators: %s is the placeholder for the link to the 2020 BuddyPress survey. */
    740                                                                 esc_html__( 'Take the %s.', 'buddypress' ),
    741                                                                 sprintf(
    742                                                                         '<a href="%1$s">%2$s</a>',
    743                                                                         esc_url( 'https://mercime.survey.fm/2020-buddypress-survey' ),
    744                                                                         esc_html__( '2020 BuddyPress Survey', 'buddypress' )
    745                                                                 )
    746                                                         ); ?></strong>
    747                                                 </p>
     775                                                <h2><?php esc_html_e( 'Under the hood', 'buddypress' ); ?></h2>
    748776                                                <p>
    749                                                         <?php esc_html_e( 'Knowing how you use BuddyPress and getting your point of view about future BuddyPress development is very important to us.', 'buddypress' ); ?>
    750                                                         <?php esc_html_e( 'Please, take some time to help us decide what\'s best for the BuddyPress project.', 'buddypress' ); ?>
     777                                                        <?php esc_html_e( '7.0.0 includes more than 65 changes to improve your BuddyPress experience as users, and as contributors to our project; click on the “Changelog” tab to discover them all!', 'buddypress' ); ?>
    751778                                                </p>
     779                                                <figure class="bp-hello-aligncenter">
     780                                                        <div class="dashicons dashicons-buddicons-buddypress-logo big"></div>
     781                                                </figure>
    752782
    753783                                                <hr class="bp-hello-divider"/>
    754784
    755785                                                <h2><?php echo esc_html( _x( 'Your feedback', 'screen heading', 'buddypress' ) ); ?></h2>
    756786                                                <p>
     787                                                        <?php esc_html_e( 'How are you using BuddyPress? Receiving your feedback and suggestions for future versions of BuddyPress genuinely motivates and encourages our contributors.', 'buddypress' ); ?>
    757788                                                        <?php
    758789                                                        printf(
    759790                                                                /* translators: %s is the placeholder for the link to BuddyPress support forums. */
    760                                                                 esc_html__( ' How are you using BuddyPress? Receiving your feedback and suggestions for future versions of BuddyPress genuinely motivates and encourages our contributors. Please %s about this version of BuddyPress on our website. ', 'buddypress' ),
     791                                                                esc_html__( 'Please %s about this version of BuddyPress on our website.', 'buddypress' ),
    761792                                                                sprintf(
    762793                                                                        '<a href="%1$s">%2$s</a>',
    763794                                                                        esc_url( 'https://buddypress.org/support/' ),