Ticket #1284: 1284.3.patch
File 1284.3.patch, 17.5 KB (added by , 7 years ago) |
---|
-
buddypress.org/public_html/wp-content/themes/buddypress-org/footer.php
5 5 <div id="footer"> 6 6 <div class="links"> 7 7 <p> 8 See also:9 <a href="https://wordpress.org"><?php _e( 'WordPress.org', 'bporg' ); ?></a> •10 <a href="https://bbpress.org"><?php _e( 'bbPress.org', 'bporg' ); ?></a> •11 <a href="https://buddypress.org"><?php _e( 'BuddyPress.org', 'bporg' ); ?></a> •8 <?php _e( 'See also:', 'bporg' ); ?> 9 <a href="https://wordpress.org"><?php _e( 'WordPress.org', 'bporg' ); ?></a> • 10 <a href="https://bbpress.org"><?php _e( 'bbPress.org', 'bporg' ); ?></a> • 11 <a href="https://buddypress.org"><?php _e( 'BuddyPress.org', 'bporg' ); ?></a> • 12 12 <a href="https://ma.tt"><?php _e( 'Matt', 'bporg' ); ?></a> • 13 <a href="<?php bloginfo( 'rss2_url' ); ?>" title="<?php _e( 'RSS Feed for Articles', 'bporg' ); ?>"><?php _e( 'Blog RSS', 'bporg' ); ?></a>13 <a href="<?php bloginfo( 'rss2_url' ); ?>"><?php _e( 'Blog RSS', 'bporg' ); ?></a> 14 14 </p> 15 15 </div> 16 16 <div class="details"> 17 17 <p> 18 <a href="https://twitter.com/buddypressdev" class="twitter"><?php _e( 'Follow BuddyPress on Twitter', 'bporg' ); ?></a> •19 <a href="https://buddypress.org/about/gpl/"><?php _e( 'GPL', 'bporg'); ?></a> •20 <a href="https://buddypress.org/contact/"><?php _e( 'Contact Us', 'bporg'); ?></a> •21 <a href="https://buddypress.org/terms/"><?php _e( 'Terms of Service', 'bporg'); ?></a>18 <a href="https://twitter.com/buddypressdev" class="twitter"><?php _e( 'Follow BuddyPress on Twitter', 'bporg' ); ?></a> • 19 <a href="https://buddypress.org/about/gpl/"><?php _e( 'GPL', 'bporg' ); ?></a> • 20 <a href="https://buddypress.org/contact/"><?php _e( 'Contact Us', 'bporg' ); ?></a> • 21 <a href="https://buddypress.org/terms/"><?php _e( 'Terms of Service', 'bporg' ); ?></a> 22 22 </p> 23 23 </div> 24 24 </div> -
buddypress.org/public_html/wp-content/themes/buddypress-org/header-front.php
2 2 3 3 <div id="headline"><div id="headline-inner"> 4 4 <h2 class="graphic home"><?php bloginfo( 'description' ); ?></h2> 5 <p> BuddyPress helps you build any type of community website using WordPress, with member profiles, activity streams, user groups, messaging, and more.</p>5 <p><?php _e( 'BuddyPress helps you build any kind of community website using WordPress, with member profiles, activity streams, user groups, messaging, and more.', 'bporg' ); ?></p> 6 6 <div> 7 <a href="<?php bloginfo( 'url' ); ?>/download/" id="big-demo-button" class="button"> Download BuddyPress →</a>7 <a href="<?php bloginfo( 'url' ); ?>/download/" id="big-demo-button" class="button"><?php _e( 'Download BuddyPress →', 'bporg' ); ?></a> 8 8 <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/screenshots.png?v=6" srcset="<?php echo get_stylesheet_directory_uri(); ?>/images/screenshots.png?v=6 1x, <?php echo get_stylesheet_directory_uri(); ?>/images/screenshots-2x.png?v=6 2x" alt="Screenshots"> 9 9 </div> 10 10 </div></div> … … 12 12 13 13 <div id="showcase"><div id="showcase-inner"> 14 14 <div class="feature"> 15 <h3><?php _e( 'Profiles', 'bborg' ); ?></h3> 16 <p><a href="//buddypress.org/about/profiles/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_profiles.gif" alt="" width="78" height="58"></a>Custom profile fields.<br /> Visibility levels.<br /> Common field types.</p> 15 <h3><?php _e( 'Profiles', 'bporg' ); ?></h3> 16 <p> 17 <a href="//buddypress.org/about/profiles/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_profiles.gif" alt="" width="78" height="58"></a> 18 <?php _e( 'Custom profile fields.<br /> Visibility levels.<br /> Common field types.', 'bporg' ); ?> 19 </p> 17 20 </div> 18 21 <div class="feature"> 19 <h3><?php _e( 'Settings', 'bborg' ); ?></h3> 20 <p><a href="//buddypress.org/about/settings/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_settings.gif" alt="" width="78" height="58"></a>Manage account settings.<br /> Email notifications.<br /> Email and Password.</p> 22 <h3><?php _e( 'Settings', 'bporg' ); ?></h3> 23 <p> 24 <a href="//buddypress.org/about/settings/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_settings.gif" alt="" width="78" height="58"></a> 25 <?php _e( 'Manage account settings.<br /> Email notifications.<br /> Email and Password.', 'bporg' ); ?> 26 </p> 21 27 </div> 22 28 <div class="feature"> 23 <h3><?php _e( 'Groups', 'bborg' ); ?></h3> 24 <p><a href="//buddypress.org/about/groups/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_groups.gif" alt="" width="78" height="58"></a>Extensible user groups. Allow your users to create micro-communities.</p> 29 <h3><?php _e( 'Groups', 'bporg' ); ?></h3> 30 <p> 31 <a href="//buddypress.org/about/groups/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_groups.gif" alt="" width="78" height="58"></a> 32 <?php _e( 'Extensible user groups. Allow your users to create micro-communities.', 'bporg' ); ?> 33 </p> 25 34 </div> 26 35 <div class="feature" style="margin:0;"> 27 <h3><?php _e( 'Activity Streams', 'bborg' ); ?></h3> 28 <p><a href="//buddypress.org/about/activity/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_activity.gif" alt="" width="78" height="58"></a>For members and groups. Sitewide directory and single threads.</p> 36 <h3><?php _e( 'Activity Streams', 'bporg' ); ?></h3> 37 <p> 38 <a href="//buddypress.org/about/activity/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_activity.gif" alt="" width="78" height="58"></a> 39 <?php _e( 'For members and groups. Sitewide directory and single threads.', 'bporg' ); ?> 40 </p> 29 41 </div> 30 42 <div class="feature"> 31 <h3><?php _e( 'Notifications', 'bborg' ); ?></h3> 32 <p><a href="//buddypress.org/about/notifications/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_notifications.gif" alt="" width="78" height="58"></a>Get notified.<br /> Smart read/unread.<br /> Fully integrated.</p> 43 <h3><?php _e( 'Notifications', 'bporg' ); ?></h3> 44 <p> 45 <a href="//buddypress.org/about/notifications/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_notifications.gif" alt="" width="78" height="58"></a> 46 <?php _e( 'Get notified.<br /> Smart read/unread.<br /> Fully integrated.', 'bporg' ); ?> 47 </p> 33 48 </div> 34 49 <div class="feature"> 35 <h3><?php _e( 'Friendships', 'bborg' ); ?></h3> 36 <p><a href="//buddypress.org/about/friends/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_friends.gif" alt="" width="78" height="58"></a>Friendship connections.<br /> It's always about<br /> who you know!</p> 50 <h3><?php _e( 'Friendships', 'bporg' ); ?></h3> 51 <p> 52 <a href="//buddypress.org/about/friends/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_friends.gif" alt="" width="78" height="58"></a> 53 <?php _e( "Friendship connections.<br /> It's always about<br /> who you know!", 'bporg' ); ?> 54 </p> 37 55 </div> 38 56 <div class="feature"> 39 <h3><?php _e( 'Private Messaging', 'bborg' ); ?></h3> 40 <p><a href="//buddypress.org/about/private-messaging/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_pms.gif" alt="" width="78" height="58"></a>Private conversations, with several members at one time.</p> 57 <h3><?php _e( 'Private Messaging', 'bporg' ); ?></h3> 58 <p> 59 <a href="//buddypress.org/about/private-messaging/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_pms.gif" alt="" width="78" height="58"></a> 60 <?php _e( 'Private conversations, with several members at one time.', 'bporg' ); ?> 61 </p> 41 62 </div> 42 63 <div class="feature" style="margin:0;"> 43 <h3><?php _e( '...and more!', 'bborg' ); ?></h3> 44 <p><a href="//buddypress.org/about/more/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_more.gif" alt="" width="78" height="58"></a>Extend BuddyPress with hundreds of third party components.</p> 64 <h3><?php _e( '...and more!', 'bporg' ); ?></h3> 65 <p> 66 <a href="//buddypress.org/about/more/"><img src="<?php echo get_stylesheet_directory_uri(); ?>/images/feature_more.gif" alt="" width="78" height="58"></a> 67 <?php _e( 'Extend BuddyPress with hundreds of third party components.', 'bporg' ); ?> 68 </p> 45 69 </div> 46 70 </div></div> 47 71 -
buddypress.org/public_html/wp-content/themes/buddypress-org/page-plugins.php
12 12 <div class="bbp-pagination"> 13 13 <div class="bbp-pagination-count"> 14 14 15 <?php printf( 'Viewing %1$s to %2$s (%3$s)', number_format_i18n( $from_num ), number_format_i18n( $to_num ), number_format_i18n( $plugins->info['results'] ) ); ?> 15 <?php 16 /* translators: 1: starting number of plugins, 2: ending number, 3: total number */ 17 printf( __( 'Viewing %1$s to %2$s (%3$s)', 'bporg' ), 18 number_format_i18n( $from_num ), 19 number_format_i18n( $to_num ), 20 number_format_i18n( $plugins->info['results'] ) 21 ); 22 ?> 16 23 17 24 </div> 18 25 … … 40 47 41 48 $plugin_author_id = 0; 42 49 43 if ( ! empty( $plugin->contributors ) ) {50 if ( ! empty( $plugin->contributors ) ) { 44 51 $plugin_author = get_user_by( 'login', key( $plugin->contributors ) ); 45 52 $plugin_author_id = $plugin_author->ID; 46 53 } … … 47 54 ?> 48 55 49 56 <div class="single-plugin"> 50 <h3 class="plugin-title"><a href="<?php echo esc_url( 'https://wordpress.org/ extend/plugins/' . $plugin->slug ); ?>/" title="Plugin Information"><?php echo esc_html( $plugin->name ); ?></a></h3>57 <h3 class="plugin-title"><a href="<?php echo esc_url( 'https://wordpress.org/plugins/' . $plugin->slug ); ?>/"><?php echo esc_html( $plugin->name ); ?></a></h3> 51 58 52 59 <div class="plugin-meta"> 53 <?php if ( !empty( $plugin->version ) ) : ?><div>Version: <?php echo esc_html( $plugin->version ); ?></div><?php if ( !empty( $plugin->requires ) ) : ?><?php endif; ?><?php endif; ?> 54 <?php if ( !empty( $plugin->requires ) ) : ?><div>Requires: <?php echo esc_html( $plugin->requires ); ?></div><?php if ( !empty( $plugin->tested ) ) : ?><?php endif; ?><?php endif; ?> 55 <?php if ( !empty( $plugin->tested ) ) : ?><div>Compatible up to: <?php echo esc_html( $plugin->tested ); ?></div><?php endif; ?> 56 <div>Rating: <?php echo $plugin->rating_html; // raw html - do not escape ?></div> 60 <?php if ( ! empty( $plugin->version ) ) : ?> 61 <div><?php _e( 'Version:', 'bporg' ); ?> <?php echo esc_html( $plugin->version ); ?></div> 62 <?php endif; ?> 63 <?php if ( ! empty( $plugin->requires ) ) : ?> 64 <div><?php _e( 'Requires:', 'bporg' ); ?> <?php echo esc_html( $plugin->requires ); ?></div> 65 <?php endif; ?> 66 <?php if ( ! empty( $plugin->tested ) ) : ?> 67 <div><?php _e( 'Compatible up to:', 'bporg' ); ?> <?php echo esc_html( $plugin->tested ); ?></div> 68 <?php endif; ?> 69 <div><?php _e( 'Rating:', 'bporg' ); ?> <?php echo $plugin->rating_html; // raw html - do not escape ?></div> 57 70 </div> 58 71 59 72 <p class="plugin-description" style="font-size: 12px"> … … 67 80 <div class="bbp-pagination"> 68 81 <div class="bbp-pagination-count"> 69 82 70 <?php printf( 'Viewing %1$s to %2$s (%3$s)', number_format_i18n( $from_num ), number_format_i18n( $to_num ), number_format_i18n( $plugins->info['results'] ) ); ?> 83 <?php 84 /* translators: 1: starting number of plugins, 2: ending number, 3: total number */ 85 printf( __( 'Viewing %1$s to %2$s (%3$s)', 'bporg' ), 86 number_format_i18n( $from_num ), 87 number_format_i18n( $to_num ), 88 number_format_i18n( $plugins->info['results'] ) 89 ); 90 ?> 71 91 72 92 </div> 73 93 -
buddypress.org/public_html/wp-content/themes/buddypress-org/sidebar.php
22 22 <?php if ( bbp_is_single_forum() || bb_base_topic_search_query( false ) ) : ?> 23 23 24 24 <div> 25 <h3><?php _e( 'Forum Info', 'bporg' ); ?></h3>25 <h3><?php _e( 'Forum Info', 'bporg' ); ?></h3> 26 26 <ul class="forum-info"> 27 27 <?php bb_base_single_forum_description(); ?> 28 28 </ul> … … 31 31 <?php bb_base_topic_search_form(); ?> 32 32 33 33 <div> 34 <h3><?php _e( 'Forum Feeds', 'bporg' ); ?></h3>34 <h3><?php _e( 'Forum Feeds', 'bporg' ); ?></h3> 35 35 <ul> 36 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/" title="Forum Posts">Recent Posts</a></li>37 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/?type=topic" title="Forum Topics">Recent Topics</a></li>36 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/"><?php _e( 'Recent Posts', 'bporg' ); ?></a></li> 37 <li><a class="feed" href="<?php bbp_forum_permalink(); ?>feed/?type=topic"><?php _e( 'Recent Topics', 'bporg' ); ?></a></li> 38 38 </ul> 39 39 </div> 40 40 … … 41 41 <?php elseif ( bbp_is_single_topic() || bbp_is_topic_edit() || bbp_is_reply_edit() ) : ?> 42 42 43 43 <div> 44 <h3><?php _e( 'Topic Info', 'bporg' ); ?></h3>44 <h3><?php _e( 'Topic Info', 'bporg' ); ?></h3> 45 45 <ul class="topic-info"> 46 46 <?php bb_base_single_topic_description(); ?> 47 47 </ul> … … 74 74 <?php else : ?> 75 75 76 76 <div> 77 <h3><?php _e( 'Forums', 'bporg' ); ?></h3>77 <h3><?php _e( 'Forums', 'bporg' ); ?></h3> 78 78 <?php echo do_shortcode( '[bbp-forum-index]' ); ?> 79 79 </div> 80 80 <hr class="hidden" /> 81 81 82 82 <div> 83 <h3><?php _e( 'Views', 'bporg' ); ?></h3>83 <h3><?php _e( 'Views', 'bporg' ); ?></h3> 84 84 <ul> 85 85 86 86 <?php foreach ( bbp_get_views() as $view => $args ) : ?> 87 87 88 <li><a class="bbp-view-title" href="<?php bbp_view_url( $view ); ?>" title="<?php bbp_view_title( $view ); ?>"><?php bbp_view_title( $view ); ?></a></li>88 <li><a class="bbp-view-title" href="<?php bbp_view_url( $view ); ?>"><?php bbp_view_title( $view ); ?></a></li> 89 89 90 90 <?php endforeach; ?> 91 91 … … 93 93 </div> 94 94 95 95 <div> 96 <h3><?php _e( 'Feeds', 'bporg' ); ?></h3>96 <h3><?php _e( 'Feeds', 'bporg' ); ?></h3> 97 97 <ul> 98 <li><a class="feed" href="<?php bbp_forums_url(); ?>feed/" title="All Recent Posts">All Recent Posts</a></li>99 <li><a class="feed" href="<?php bbp_topics_url(); ?>feed/" title="All Recent Topics">All Recent Topics</a></li>98 <li><a class="feed" href="<?php bbp_forums_url(); ?>feed/"><?php _e( 'All Recent Posts', 'bporg' ); ?></a></li> 99 <li><a class="feed" href="<?php bbp_topics_url(); ?>feed/"><?php _e( 'All Recent Topics', 'bporg' ); ?></a></li> 100 100 </ul> 101 101 </div> 102 102 103 103 <div> 104 <h3><?php _e( 'Tags', 'bporg' ); ?></h3>104 <h3><?php _e( 'Tags', 'bporg' ); ?></h3> 105 105 <?php echo do_shortcode( '[bbp-topic-tags]' ); ?> 106 106 </div> 107 107 … … 111 111 112 112 <div class="feature"> 113 113 <h3><?php _e( 'Theme Development', 'bporg' ); ?></h3> 114 <p><a href="https://www.packtpub.com/web-development/buddypress-theme-development" title="BuddyPress Theme Development"><img width="225" alt="A book by: Tammie Lister" src="<?php echo get_stylesheet_directory_uri(); ?>/images/buddypress-packt.jpg"/></a></p>115 <p class="book-description"> An in-depth guide to designing, developing, and testing your very own custom BuddyPress theme.</p>114 <p><a href="https://www.packtpub.com/web-development/buddypress-theme-development"><img width="225" alt="<?php esc_attr_e( 'BuddyPress Theme Development. A book by Tammie Lister', 'bporg' ); ?>" src="<?php echo get_stylesheet_directory_uri(); ?>/images/buddypress-packt.jpg"/></a></p> 115 <p class="book-description"><?php _e( 'An in-depth guide to designing, developing, and testing your very own custom BuddyPress theme.', 'bporg' ); ?></p> 116 116 </div> 117 117 118 118 <?php elseif ( is_page( array( 'plugins' ) ) ) : ?> … … 120 120 <?php bb_base_plugin_search_form(); ?> 121 121 122 122 <div> 123 <h3><?php _e( 'Legacy', 'bporg' ); ?></h3>123 <h3><?php _e( 'Legacy', 'bporg' ); ?></h3> 124 124 <ul> 125 <li><a href="https://buddypress.org/support/forum/plugin-forums/" title="Plugin Forums">Legacy Plugin Forums</a></li>125 <li><a href="https://buddypress.org/support/forum/plugin-forums/"><?php _e( 'Legacy Plugin Forums', 'bporg' ); ?></a></li> 126 126 </ul> 127 127 </div> 128 128 … … 129 129 <?php elseif ( ( ! is_page( 'login' ) && ! is_page( 'register' ) && ! is_page( 'lost-password' ) ) || is_home() || is_singular( 'post' ) || is_archive() ) : ?> 130 130 131 131 <div> 132 <h3><?php _e( 'Categories', 'bporg' ); ?></h3>132 <h3><?php _e( 'Categories', 'bporg' ); ?></h3> 133 133 <ul> 134 134 <?php wp_list_categories( array( 'title_li' => false ) ); ?> 135 135 </ul> … … 136 136 </div> 137 137 138 138 <div> 139 <h3><?php _e( 'Tags', 'bporg' ); ?></h3>139 <h3><?php _e( 'Tags', 'bporg' ); ?></h3> 140 140 <?php wp_tag_cloud(); ?> 141 141 </div> 142 142