Skip to:
Content

BuddyPress.org

Ticket #8009: 8009.diff

File 8009.diff, 8.4 KB (added by boonebgorges, 7 years ago)
  • src/bp-core/admin/css/hello.css

    diff --git a/src/bp-core/admin/css/hello.css b/src/bp-core/admin/css/hello.css
    index c8e67d1c2..5592ef692 100644
    a b TABLE OF CONTENTS: 
    271271        width: 100%;
    272272}
    273273
     274.bp-hello-img-border {
     275        border: 1px solid #999;
     276}
     277
     278.bp-hello-alignright {
     279        margin: 10px 0;
     280        width: 100%;
     281}
     282
     283.bp-hello-alignright figcaption {
     284        font-style: italic;
     285}
     286
    274287/*------------------------------------------------------------------------------
    275288 * 6.0 - Media Queries
    276289 *----------------------------------------------------------------------------*/
    TABLE OF CONTENTS: 
    321334        .bp-hello-content p {
    322335                font-size: 14px;
    323336        }
     337        .bp-hello-alignright {
     338                margin: 10px 0 10px 20px;
     339                float: right;
     340                width: 50%;
     341        }
    324342}
    325343
    326344/**
  • src/bp-core/classes/class-bp-admin.php

    diff --git a/src/bp-core/classes/class-bp-admin.php b/src/bp-core/classes/class-bp-admin.php
    index 36d7f1483..d39350c21 100644
    a b class BP_Admin { 
    636636                        </div>
    637637
    638638                        <div class="bp-hello-content">
    639                                 <h2><?php echo esc_html( __( 'Say hello to &ldquo;Nouveau&rdquo;!', 'buddypress' ) ); ?></h2>
     639                                <h2><?php esc_html_e( 'New tools for data control and privacy', 'buddypress' ); ?></h2>
    640640                                <p>
    641                                         <?php
    642                                         printf(
    643                                                 __( 'A bold reimagining of our legacy templates, Nouveau is our celebration of <a href="%s">10 years of BuddyPress</a>! Nouveau delivers modern markup with fresh JavaScript-powered templates, and full integration with WordPress\' Customizer, allowing more out-of-the-box control of your BuddyPress content than ever before.', 'buddypress' ),
    644                                                 esc_url( 'https://buddypress.org/2018/03/10-years/' )
    645                                         );
    646                                         ?>
    647                                 </p>
    648                                 <p><?php esc_html_e( 'Nouveau provides vertical and horizontal layout options for BuddyPress navigation, and for the component directories, you can choose between a grid layout, and a classic flat list.', 'buddypress' ); ?></p>
    649                                 <p>
    650                                         <?php
    651                                         printf(
    652                                                 __( 'Nouveau is fully compatible with WordPress. Existing BuddyPress themes have been written for our legacy template pack, and until they are updated, resolve any compatibility issues by choosing the legacy template pack option in <a href="%s">Settings &gt; BuddyPress</a>.', 'buddypress' ),
    653                                                 esc_url( bp_get_admin_url( 'admin.php?page=bp-settings' ) )
    654                                         );
    655                                         ?>
     641                                        <?php esc_html_e( 'BuddyPress boasts a proud history of letting community members and managers control their data, independent of third-party, commercial entities. In this spirit, as well as the spirit of recent regulations like the EU\'s General Data Protection Regulation (GDPR), BuddyPress 4.0 introduces a suite of tools allowing users and site admins to manage member data and privacy.', 'buddypress' ); ?>
    656642                                </p>
    657643
    658                                 <?php echo $GLOBALS['wp_embed']->autoembed( 'https://player.vimeo.com/video/270507360' ); ?>
     644                                <figure class="bp-hello-alignright">
     645                                        <img class="bp-hello-img-border" src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/images/data-export.png' ); ?>" alt="<?php esc_attr_e( 'Screenshot of Export Data settings panel', 'buddypress' ); ?>" />
     646                                        <figcaption>
     647                                                <?php esc_html_e( 'Improved user control over data exports', 'buddypress' ); ?>
     648                                        </figcaption>
     649                                </figure>
    659650
    660                                 <h2><?php esc_html_e( 'Support for WP-CLI', 'buddypress' ); ?></h2>
    661                                 <p>
    662                                         <?php
    663                                         printf(
    664                                                 __( '<a href="%s">WP-CLI</a> is the command-line interface for WordPress. You can update plugins, configure multisite installs, and much more, without using a web browser. With this version of BuddyPress, you can now manage your BuddyPress content from WP-CLI.', 'buddypress' ),
    665                                                 esc_url( 'https://wp-cli.org' )
    666                                         );
    667                                         ?>
    668                                 </p>
    669 
    670                                 <h2><?php echo esc_html( _x( 'Control site-wide notices from your dashboard', 'section heading', 'buddypress' ) ); ?></h2>
    671                                 <p><?php esc_html_e( 'Site Notices are a feature within the Private Messaging component that allows community managers to share important messages with all members of their community. With Nouveau, the management interface for Site Notices has been removed from the front-end theme templates.', 'buddypress' ); ?></p>
     651                                <p><?php esc_html_e( 'The new "Export Data" Settings panel lets users request an export of all BuddyPress data they\'ve created. BuddyPress integrates seamlessly with the data export functionality introduced in WordPress 4.9.8, and BP data is included in exports that are initiated either from the Export Data panel or via WP\'s Tools > Export Personal Data interface.', 'buddypress' ); ?></p>
    672652
    673                                 <?php if ( bp_is_active( 'messages' ) ) : ?>
    674                                 <p>
    675                                         <?php
    676                                         printf(
    677                                                 __( 'Explore the new management interface at <a href="%s">Users &gt; Site Notices</a>.', 'buddypress' ),
    678                                                 esc_url( bp_get_admin_url( 'users.php?page=bp-notices' ) )
    679                                         );
    680                                         ?>
    681                                 </p>
    682                                 <?php endif; ?>
     653                                <p><?php esc_html_e( 'BuddyPress 4.0 also integrates with WordPress 4.9.8\'s Privacy Policy tools. When you create or update your Privacy Policy, BP will suggest text that\'s specifically tailored to the kinds of social data generated on a BuddyPress site.', 'buddypress' ); ?></p>
    683654
    684                                 <h2><?php esc_html_e( 'New profile field type: telephone numbers', 'buddypress' ); ?></h2>
    685                                 <p><?php esc_html_e( 'A new telephone number field type has been added to the Extended Profiles component, with support for all international number formats. With a modern web browser, your members can use this field type to touch-to-dial a number directly.', 'buddypress' ); ?></p>
     655                                <h2><?php esc_html_e( 'Nouveau template improvements', 'buddypress' ); ?></h2>
     656                                <p><?php esc_html_e( 'BuddyPress 3.0 introduced a new set of default templates, which we call "Nouveau". In 4.0, we\'ve fixed bugs and smoothed the edges in these templates, including more accessible markup and improved appearance on mobile devices.', 'buddypress' ); ?></p>
    686657
    687658                                <h2><?php esc_html_e( "BuddyPress: leaner, faster, stronger", 'buddypress' ); ?></h2>
    688                                 <p><?php esc_html_e( 'With every BuddyPress version, we strive to make performance improvements alongside new features and fixes; this version is no exception. Memory use has been optimised &mdash; within active components, we now only load each individual code file when it\'s needed, not before.', 'buddypress' ); ?></p>
    689                                 <p>
    690                                         <?php
    691                                         printf(
    692                                                 __( 'Most notably, the <a href="%s">Legacy Forums component has been removed</a> after 9 years of service. If your site was using Legacy Forums, you need to <a href="%s">migrate to the bbPress plugin</a>.', 'buddypress' ),
    693                                                 esc_url( 'https://bpdevel.wordpress.com/2017/12/07/legacy-forums-support-will-be/' ),
    694                                                 esc_url( 'https://codex.buddypress.org/getting-started/guides/migrating-from-old-forums-to-bbpress-2/' )
    695                                         );
    696                                         ?>
    697                                 </p>
     659                                <p><?php esc_html_e( 'With every BuddyPress version, we strive to make internal improvements to performance and code quality, at the same time that we introduce new features and fixes. In BuddyPress 4.0, we\'ve improved PHP compatibility both in our codebase and in our automated testing tools; we\'ve reworked some automated tests for faster performance; we\'ve ensured compatibility with upcoming changes in WordPress; and we\'ve fixed a number of bugs in the formatting and sending of emails.', 'buddypress' ); ?></p>
    698660
    699661                                <p><em>
    700662                                        <?php
    701663                                        printf(
    702664                                                __( 'To read the full list of features, fixes, and changes in this version of BuddyPress, <a href="%s">visit Trac</a>.', 'buddypress' ),
    703                                                 esc_url( 'https://buddypress.trac.wordpress.org/query?group=status&milestone=3.0' )
     665                                                esc_url( 'https://buddypress.trac.wordpress.org/query?group=status&milestone=4.0' )
    704666                                        );
    705667                                        ?>
    706668                                </em></p>
    class BP_Admin { 
    724686                                        <p>
    725687                                                <?php
    726688                                                printf(
    727                                                         _n( 'Built by <a href="%s">%s volunteer</a>.', 'Built by <a href="%s">%s volunteers</a>.', 57, 'buddypress' ),
     689                                                        _n( 'Built by <a href="%s">%s volunteer</a>.', 'Built by <a href="%s">%s volunteers</a>.', 35, 'buddypress' ),
    728690                                                        esc_url( bp_get_admin_url( 'admin.php?page=bp-credits' ) ),
    729                                                         number_format_i18n( 57 )
     691                                                        number_format_i18n( 35 )
    730692                                                );
    731693                                                ?>
    732694                                        </p>