diff --git bp-core/bp-core-admin.php bp-core/bp-core-admin.php
index a77fff8..34820fa 100644
|
|
class BP_Admin { |
488 | 488 | |
489 | 489 | $pretty_permalinks_enabled = ! empty( $wp_rewrite->permalink_structure ); |
490 | 490 | |
| 491 | $image_base = buddypress()->plugin_url . 'bp-core/images/bp20/'; |
| 492 | |
491 | 493 | list( $display_version ) = explode( '-', bp_get_version() ); ?> |
492 | 494 | |
493 | 495 | <div class="wrap about-wrap"> |
494 | 496 | <h1><?php printf( __( 'Welcome to BuddyPress %s', 'buddypress' ), $display_version ); ?></h1> |
495 | 497 | <div class="about-text"> |
496 | 498 | <?php if ( $is_new_install ) : ?> |
497 | | <?php printf( __( 'It’s a great time to use BuddyPress! %s is our first version with a new component in over two years. Not only that, there are plenty of new features, enhancements, and bug fixes.', 'buddypress' ), $display_version ); ?> |
| 499 | <?php printf( __( 'It’s a great time to use BuddyPress! With a focus on speed, admin tools, and developer enhancements, %s is our leanest and most powerful version yet.', 'buddypress' ), $display_version ); ?> |
498 | 500 | <?php else : ?> |
499 | | <?php printf( __( 'Thanks for updating! BuddyPress %s is our first version with a new component in over two years. Not only that, there are plenty of new features, enhancements, and bug fixes.', 'buddypress' ), $display_version ); ?> |
| 501 | <?php printf( __( 'Thanks for updating! With a focus on speed, admin tools, and developer enhancements, BuddyPress %s is our leanest and most powerful version yet.', 'buddypress' ), $display_version ); ?> |
500 | 502 | <?php endif; ?> |
501 | 503 | </div> |
502 | 504 | |
503 | | <div class="changelog"> |
504 | | <h3><?php _e( 'Check out the highlights:', 'buddypress' ); ?></h3> |
505 | | |
506 | | <ul> |
507 | | <li><strong><?php _e( 'You can now add dynamic BuddyPress links to custom navigation menus.', 'buddypress' ); ?></strong></li> |
508 | | <li><strong><?php _e( 'Notifications have been moved into their own component.', 'buddypress' ); ?></strong></li> |
509 | | <li><strong><?php _e( 'Three new widgets, allowing easier site customization.', 'buddypress' ); ?></strong></li> |
510 | | <ul> |
511 | | </div> |
512 | | |
513 | 505 | <div class="bp-badge"></div> |
514 | 506 | |
515 | 507 | <h2 class="nav-tab-wrapper"> |
… |
… |
class BP_Admin { |
551 | 543 | <?php endif; ?> |
552 | 544 | |
553 | 545 | <div class="changelog"> |
554 | | <h3><?php _e( 'Dynamic links for custom navigation menus', 'buddypress' ); ?></h3> |
555 | | |
556 | | <div class="feature-section"> |
557 | | <p><?php printf( __( 'It’s now easy to add BuddyPress-specific links to your menus through <a href="%s">Appearance > Menus</a>. For example, you can now add a link to a specific user profile screen, and each person will end up at that screen inside their own user profile.', 'buddypress' ), admin_url( 'nav-menus.php' ) ); ?></p> |
558 | | </div> |
| 546 | <h2 class="about-headline-callout"><?php _e( 'Performance Improvements', 'buddypress' ); ?></h2> |
| 547 | <img class="about-overview-img" src="<?php echo $image_base ?>performance.png" alt="Performance improvements in BP 2.0" /> |
| 548 | <p><?php esc_html_e( 'Whether your community has tens of members or tens of thousands, we think the performance improvements in BuddyPress 2.0 will knock your socks off. We’ve slashed our memory footprint and query overhead across the board, with a special focus on the Activity and Members components.', 'buddypress' ) ?></p> |
559 | 549 | </div> |
560 | 550 | |
561 | 551 | <hr /> |
| 552 | |
562 | 553 | <div class="changelog"> |
563 | | <h3><?php _e( 'Notifications component', 'buddypress' ); ?></h3> |
| 554 | <h2 class="about-headline-callout"><?php _e( 'New Administrative Tools', 'buddypress' ); ?></h2> |
564 | 555 | |
565 | | <div class="feature-section"> |
566 | | <p><?php _e( 'The notification features have been promoted into a new component. Use it to keep your site’s members abreast of the latest connections and @mentions within the site, via email notifications and Toolbar alerts.', 'buddypress' ); ?></p> |
| 556 | <div class="feature-section col two-col"> |
| 557 | <div> |
| 558 | <h4><?php esc_html_e( 'Extended Profiles in Admin', 'buddypress' ); ?></h4> |
| 559 | <p><?php esc_html_e( 'Site administrators can edit members’ xProfile data at Dashboard > Users > Extended Profiles.', 'buddypress' ); ?></p> |
| 560 | <img src="<?php echo $image_base ?>admin-xprofile.jpg" style="width:90%" /> |
| 561 | </div> |
| 562 | |
| 563 | <div class="last-feature"> |
| 564 | <h4><?php esc_html_e( 'Registration Management', 'buddypress' ); ?></h4> |
| 565 | <p><?php esc_html_e( 'Perform common tasks with pending signups - including resending activation emails and manually activating accounts - on the new Pending tab of Dashboard > Users.', 'buddypress' ); ?></p> |
| 566 | <img src="<?php echo $image_base ?>users-pending.jpg" style="width:90%" /> |
| 567 | </div> |
| 568 | </div> |
| 569 | |
| 570 | <div class="feature-section col two-col"> |
| 571 | <div> |
| 572 | <h4><?php esc_html_e( 'BuddyPress Repair Tools', 'buddypress' ); ?></h4> |
| 573 | <p><?php esc_html_e( 'Dashboard > Tools > BuddyPress contains a number of tools for correcting data that occasionally gets out of sync on BP installs.', 'buddypress' ); ?></p> |
| 574 | <img src="<?php echo $image_base ?>tools-buddypress.jpg" style="width:90%" /> |
| 575 | </div> |
567 | 576 | |
| 577 | <div class="feature-section col two-col"> |
| 578 | <h4><?php esc_html_e( 'Mark Spammers in Admin', 'buddypress' ); ?></h4> |
| 579 | <p><?php esc_html_e( 'Admins on non-Multisite installations can now perform spam actions from Dashboard > Users > All Users.', 'buddypress' ); ?></p> |
| 580 | <img src="<?php echo $image_base ?>user-mark-spam.jpg" style="width:90%" /> |
| 581 | </div> |
568 | 582 | </div> |
| 583 | |
569 | 584 | </div> |
570 | 585 | |
571 | 586 | <hr /> |
| 587 | |
572 | 588 | <div class="changelog"> |
573 | | <h3><?php _e( 'Widgets', 'buddypress' ); ?></h3> |
| 589 | <h2 class="about-headline-callout"><?php esc_html_e( 'A More Dynamic Activity Stream', 'buddypress' ); ?></h2> |
| 590 | <div class="feature-section col two-col"> |
| 591 | <div> |
| 592 | <p><?php esc_html_e( 'Spend a lot of time viewing the activity stream? BuddyPress 2.0 automatically lets you know when new items are waiting to be loaded.', 'buddypress' ); ?></p> |
574 | 593 | |
575 | | <div class="feature-section"> |
576 | | <ul> |
577 | | <li><?php _e( '<strong>Friends Widget</strong>: a list of recently active, popular, and newest friends of the displayed member.', 'buddypress' ); ?></li> |
578 | | <li><?php _e( '<strong>Log In Widget</strong>: adds a simple “Log In” form to your site.', 'buddypress' ); ?></li> |
579 | | <li><?php _e( '<strong>Sitewide Notices Widget</strong>: display Sitewide Notices from the Private Messaging component.', 'buddypress' ); ?></li> |
580 | | </ul> |
| 594 | <p><?php esc_html_e( 'The activity stream is better integrated with blog posts, too. Comment on a blog post, and an activity item is posted. Comment on a blog-related activity item, and a blog comment is posted. No more worrying about fractured conversations.', 'buddypress' ) ?></p> |
| 595 | |
| 596 | <p><?php esc_html_e( 'We’ve also reworked the way that phrases like "Boone posted an update" are handled, so that they’re always up-to-date and always translatable.', 'buddypress' ) ?></p> |
| 597 | </div> |
| 598 | |
| 599 | <div class="feature-section col two-col"> |
| 600 | <img src="<?php echo $image_base ?>load-newest.jpg" style="width:90%" /> |
| 601 | </div> |
581 | 602 | </div> |
582 | 603 | </div> |
583 | 604 | |
584 | | <hr /> |
585 | 605 | <div class="changelog"> |
586 | | <h3><?php _e( 'Developer changes', 'buddypress' ); ?></h3> |
| 606 | <h2 class="about-headline-callout"><?php esc_html_e( 'Developer Tools', 'buddypress' ); ?></h2> |
587 | 607 | |
588 | | <div class="feature-section"> |
| 608 | <p><?php esc_html_e( 'BuddyPress 2.0 is full of new and improved tools for the theme and plugin developer. A few highlights:', 'buddypress' ) ?></p> |
589 | 609 | <ul> |
590 | | <li><?php _e( '<code>bp_redirect_canonical()</code> functionality has been reinstated', 'buddypress' ); ?></li> |
591 | | <li><?php _e( 'Improved phpDoc inline documentation', 'buddypress' ); ?></li> |
592 | | <li><?php printf( __( 'Improved compatibility with <a href="%s">develop.svn.wordpress.org</a> unit-test suite', 'buddypress' ), 'https://develop.svn.wordpress.org/' ); ?></li> |
593 | | <li><?php printf( __( '<a href="%s">…and lots more!</a>', 'buddypress' ), 'http://codex.buddypress.org/releases/version-1-9' ); ?></li> |
| 610 | <li><?php _e( 'The <code>BP_XProfile_Field_Type</code> class makes it a breeze to create new xProfile field types with custom display callbacks, validation, and more.', 'buddypress' ); ?></li> |
| 611 | <li><?php _e( 'Major improvements have taken place with respect to object caching throughout BuddyPress. If you use Memcached, APC, or some other persistent object caching backend on your BuddyPress site, you should notice huge performance boosts.', 'buddypress' ); ?></li> |
| 612 | <li><?php _e( 'Our internal metadata libraries have been rewritten to use WP’s <code>add_metadata()</code>, <code>update_metadata()</code>, and so on. This means greater consistency and parity between the components when storing and retrieving BuddyPress metadata.', 'buddypress' ); ?></li> |
| 613 | <li><?php printf( __( '<a href="%s">…and lots more!</a>', 'buddypress' ), 'http://codex.buddypress.org/releases/version-2-0' ); ?></li> |
594 | 614 | </ul> |
595 | 615 | </div> |
596 | 616 | |
| 617 | <hr /> |
| 618 | |
597 | 619 | <?php if ( current_user_can( $this->capability ) ) :?> |
598 | 620 | <div class="return-to-dashboard"> |
599 | 621 | <a href="<?php echo esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-components' ), $this->settings_page ) ) ); ?>"><?php _e( 'Go to the BuddyPress Settings page', 'buddypress' ); ?></a> |