Ticket #7563: 7563-2.patch
File 7563-2.patch, 16.7 KB (added by , 7 years ago) |
---|
-
src/bp-core/admin/css/common-rtl.css
71 71 * 1.2.1 Headline Feature 72 72 */ 73 73 .buddypress .bp-headline-feature { 74 margin-bottom: 3em;74 margin-bottom: 2em; 75 75 margin-top: 3em; 76 76 padding: 2em 3em; 77 77 } … … 97 97 .buddypress .bp-headline-feature .headline-title { 98 98 font-size: 2.2em; 99 99 font-weight: 300; 100 line-height: 1;101 margin: 0 ;100 line-height: 2; 101 margin: 0 0 1em; 102 102 text-align: center; 103 103 } 104 104 … … 113 113 .buddypress .bp-features-section { 114 114 border-bottom: 1px solid #ccc; 115 115 clear: both; 116 margin-top: 3em; 116 margin-bottom: 3em; 117 margin-top: 2em; 117 118 overflow: hidden; 118 padding-bottom: 0;119 padding-bottom: 2em; 119 120 } 120 121 122 .buddypress .bp-features-section p { 123 font-size: 14px; 124 line-height: 1.5; 125 } 126 127 .buddypress .bp-features-section img { 128 margin-bottom: 20px; 129 } 130 121 131 .buddypress .bp-features-section span.dashicons { 122 132 background-color: #fff; 123 133 border-radius: 50%; … … 136 146 font-size: 2em; 137 147 font-weight: 300; 138 148 line-height: 1.5; 139 margin: 0auto 2em;149 margin: 1em auto 2em; 140 150 text-align: center; 141 151 } 142 152 … … 165 175 } 166 176 167 177 .buddypress .bp-feature:after { 178 clear: both; 168 179 content: ""; 180 margin-bottom: 2em; 169 181 } 170 182 171 183 .buddypress .bp-feature-imaged .feature-title { … … 185 197 } 186 198 187 199 .buddypress .bp-feature .feature-title { 188 font-size: 1 .25em;200 font-size: 1em; 189 201 line-height: 1.5; 190 202 margin-bottom: 0; 191 203 margin-right: 110px; … … 203 215 .buddypress .bp-changelog-section { 204 216 clear: both; 205 217 margin-bottom: 3em; 206 margin-top: 3em; 207 overflow: hidden; 218 margin-top: 4em; 208 219 padding-bottom: 0; 209 220 } 210 221 211 222 .buddypress .bp-changelog-section:after { 223 clear: both; 212 224 content: ""; 225 display: table; 213 226 } 214 227 215 228 .buddypress .bp-changelog-section .changelog-title { … … 219 232 margin: 0 auto 1.5em; 220 233 } 221 234 222 .buddypress .bp- changelog-section .two-coldiv {235 .buddypress .bp-two-column div { 223 236 float: right; 224 237 margin-left: 4.799999999%; 225 238 position: relative; … … 226 239 width: 47.6%; 227 240 } 228 241 229 .buddypress .bp- changelog-section .three-col .col{242 .buddypress .bp-three-column .bp-column { 230 243 float: right; 231 244 margin-left: 5%; 232 245 position: relative; … … 233 246 width: 29.95%; 234 247 } 235 248 236 .buddypress . two-col .col:nth-of-type(2n),237 .buddypress . three-col .col:nth-of-type(3n) {249 .buddypress .bp-two-column .bp-column:nth-of-type(2n), 250 .buddypress .bp-three-column .bp-column:nth-of-type(3n) { 238 251 margin-left: 0; 239 252 } 240 253 … … 242 255 margin-bottom: 3em; 243 256 } 244 257 258 .buddypress .bp-changelog:after { 259 clear: both; 260 content: ""; 261 display: table; 262 } 263 245 264 .buddypress .bp-changelog .title { 246 font-size: 1 em;247 margin-bottom: 0 ;265 font-size: 14px; 266 margin-bottom: 0.75em; 248 267 margin-top: 0; 249 268 } 250 269 251 270 .buddypress .bp-changelog p { 252 margin-bottom: 3em;271 margin-bottom: 0; 253 272 } 254 273 255 274 .bp-changelog-url { … … 258 277 259 278 .bp-assets { 260 279 clear: both; 261 margin-bottom: 2em; 262 margin-top: 2em; 280 margin-bottom: 3em; 263 281 } 264 282 265 283 @media screen and ( max-width: 782px ) { -
src/bp-core/admin/css/common.css
71 71 * 1.2.1 Headline Feature 72 72 */ 73 73 .buddypress .bp-headline-feature { 74 margin-bottom: 3em;74 margin-bottom: 2em; 75 75 margin-top: 3em; 76 76 padding: 2em 3em; 77 77 } … … 97 97 .buddypress .bp-headline-feature .headline-title { 98 98 font-size: 2.2em; 99 99 font-weight: 300; 100 line-height: 1;101 margin: 0 ;100 line-height: 2; 101 margin: 0 0 1em; 102 102 text-align: center; 103 103 } 104 104 … … 113 113 .buddypress .bp-features-section { 114 114 border-bottom: 1px solid #ccc; 115 115 clear: both; 116 margin-top: 3em; 116 margin-bottom: 3em; 117 margin-top: 2em; 117 118 overflow: hidden; 118 padding-bottom: 0;119 padding-bottom: 2em; 119 120 } 120 121 122 .buddypress .bp-features-section p { 123 font-size: 14px; 124 line-height: 1.5; 125 } 126 127 .buddypress .bp-features-section img { 128 margin-bottom: 20px; 129 } 130 121 131 .buddypress .bp-features-section span.dashicons { 122 132 background-color: #fff; 123 133 border-radius: 50%; … … 136 146 font-size: 2em; 137 147 font-weight: 300; 138 148 line-height: 1.5; 139 margin: 0auto 2em;149 margin: 1em auto 2em; 140 150 text-align: center; 141 151 } 142 152 … … 165 175 } 166 176 167 177 .buddypress .bp-feature:after { 178 clear: both; 168 179 content: ""; 180 margin-bottom: 2em; 169 181 } 170 182 171 183 .buddypress .bp-feature-imaged .feature-title { … … 185 197 } 186 198 187 199 .buddypress .bp-feature .feature-title { 188 font-size: 1 .25em;200 font-size: 1em; 189 201 line-height: 1.5; 190 202 margin-bottom: 0; 191 203 margin-left: 110px; … … 203 215 .buddypress .bp-changelog-section { 204 216 clear: both; 205 217 margin-bottom: 3em; 206 margin-top: 3em; 207 overflow: hidden; 218 margin-top: 4em; 208 219 padding-bottom: 0; 209 220 } 210 221 211 222 .buddypress .bp-changelog-section:after { 223 clear: both; 212 224 content: ""; 225 display: table; 213 226 } 214 227 215 228 .buddypress .bp-changelog-section .changelog-title { … … 219 232 margin: 0 auto 1.5em; 220 233 } 221 234 222 .buddypress .bp- changelog-section .two-coldiv {235 .buddypress .bp-two-column div { 223 236 float: left; 224 237 margin-right: 4.799999999%; 225 238 position: relative; … … 226 239 width: 47.6%; 227 240 } 228 241 229 .buddypress .bp- changelog-section .three-col .col{242 .buddypress .bp-three-column .bp-column { 230 243 float: left; 231 244 margin-right: 5%; 232 245 position: relative; … … 233 246 width: 29.95%; 234 247 } 235 248 236 .buddypress . two-col .col:nth-of-type(2n),237 .buddypress . three-col .col:nth-of-type(3n) {249 .buddypress .bp-two-column .bp-column:nth-of-type(2n), 250 .buddypress .bp-three-column .bp-column:nth-of-type(3n) { 238 251 margin-right: 0; 239 252 } 240 253 … … 242 255 margin-bottom: 3em; 243 256 } 244 257 258 .buddypress .bp-changelog:after { 259 clear: both; 260 content: ""; 261 display: table; 262 } 263 245 264 .buddypress .bp-changelog .title { 246 font-size: 1 em;247 margin-bottom: 0 ;265 font-size: 14px; 266 margin-bottom: 0.75em; 248 267 margin-top: 0; 249 268 } 250 269 251 270 .buddypress .bp-changelog p { 252 margin-bottom: 3em;271 margin-bottom: 0; 253 272 } 254 273 255 274 .bp-changelog-url { … … 258 277 259 278 .bp-assets { 260 279 clear: both; 261 margin-bottom: 2em; 262 margin-top: 2em; 280 margin-bottom: 3em; 263 281 } 264 282 265 283 @media screen and ( max-width: 782px ) { -
src/bp-core/classes/class-bp-admin.php
612 612 613 613 <?php endif; ?> 614 614 615 <div class="bp-headline-feature">616 <div class="bp-headline">617 <h3 class="headline-title"><?php esc_html_e( 'Modernizing the Codebase', 'buddypress' ); ?></h3>618 <p class="introduction"><?php619 /* translators: 1: BP REST API, 2: Link to Codex article */620 printf( __( 'To continue the migration of legacy code to modern standards and techniques necessary for the %1$s project and other new features moving forward, <a href="%2$s">BuddyPress 2.8 requires at least PHP 5.3</a>. This will allow us to build better, robust, and secure code, benefitting developers and users now and in the future.', 'buddypress'),621 '<code>BP REST API</code>',622 'https://codex.buddypress.org/getting-started/buddypress-2-8-will-require-php-5-3/' );623 ?></p>624 </div>625 </div>626 627 615 <div class="bp-features-section"> 628 616 629 617 <h3 class="headline-title"><?php esc_html_e( 'For Developers & Site Builders', 'buddypress' ); ?></h3> 630 618 631 <div class="bp-feature-with-images">632 633 <div class="bp-feature-imaged">634 <h4 class="feature-title"><?php esc_html_e( 'More helpful "Activate Pending Accounts" screen', 'buddypress' ); ?></h4>635 <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/pending-accounts.png' ); ?>" alt="<?php esc_attr_e( 'The improved pending account screen.', 'buddypress' ); ?>">636 <p><?php esc_html_e( 'When you click on the username on the "Users > Manage Signups" page, you can now view profile data entered by the user at the time of registration.', 'buddypress' ); ?></p>637 </div>638 639 <div class="bp-feature-imaged anon">640 <h4 class="feature-title"><?php641 /* translators: %s: List-Unsubscribe */642 printf( __( 'Support for %s header in emails', 'buddypress' ),643 '<code>List-Unsubscribe</code>' );644 ?></h4>645 <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/list-unsubscribe.png' ); ?>" alt="<?php esc_attr_e( 'Email header showing the list-unsubscribe feature.', 'buddypress' ); ?>">646 <p><?php esc_html_e( 'Allow users to unsubscribe from BuddyPress email notifications in some email clients such as Gmail (web), when properly configured.', 'buddypress' ); ?></p>647 </div>648 649 <div class="bp-feature-imaged">650 <h4 class="feature-title"><?php esc_html_e( 'Twenty Seventeen Companion Stylesheet', 'buddypress' ); ?></h4>651 <p><?php esc_html_e( 'BuddyPress looks great in WordPress\'s latest default theme with the new Twenty Seventeen companion stylesheet.', 'buddypress' ); ?></p>652 <p><?php653 /* translators: 1: Link to the Codex article, 2: functions.php */654 printf( __( 'To change the default two-column page layout to a full-width layout as seen in the image, add the <a href="%1$s">following code</a> to the %2$s file of your Twenty Seventeen child theme.', 'buddypress' ),655 'https://codex.buddypress.org/themes/bp-theme-compatibility-and-the-wordpress-default-themes/twenty-seventeen-theme/',656 '<code>functions.php</code>' );657 ?></p>658 </div>659 660 <div class="bp-feature-imaged anon">661 <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/twenty-seventeen.png' ); ?>" alt="<?php esc_attr_e( 'Full-width BuddyPress layout for Twenty Seventeen theme.', 'buddypress' ); ?>">662 </div>663 664 <div class="clear"></div>665 </div>666 667 619 <div class="bp-feature"> 668 <span class="dashicons dashicons-testimonial" aria-hidden="true"></span> 669 <h4 class="feature-title"><?php esc_html_e( 'More hooks for Messages', 'buddypress' ); ?></h4> 670 <p><?php esc_html_e( 'We\'ve added new filters and actions for different methods throughout the Messages component.', 'buddypress' ); ?></p> 620 <span class="dashicons dashicons-groups" aria-hidden="true"></span> 621 <h4 class="feature-title"><?php esc_html_e( 'Edit Group Slug', 'buddypress' ); ?></h4> 622 <p><?php esc_html_e( 'Allow administrators to change group names and permalinks. Navigate to the Groups screen in the wp-admin dashboard, click on the Edit link under the Group name, and adjust as needed.', 'buddypress' ); ?></p> 623 <?php esc_html_e( '', 'buddypress' ); ?> 671 624 </div> 672 625 673 626 <div class="bp-feature opposite"> 674 <span class="dashicons dashicons- search" aria-hidden="true"></span>675 <h4 class="feature-title"><?php esc_html_e( 'A more flexible Group search', 'buddypress' ); ?></h4>676 <p><?php677 /* translators: 1: search_column, 2: BP_Groups_Group::get() */678 printf( __( 'The new %1$s parameter allows developers to specify which columns should be matched, as well as where wildcard characters should be placed, when searching via %2$s.', 'buddypress' ),679 '<code>search_column</code>',680 '<code>BP_Groups_Group::get()</code>' );681 ?></p>627 <span class="dashicons dashicons-admin-users" aria-hidden="true"></span> 628 <h4 class="feature-title"><?php 629 /* translators: %s: 1: accessibility, 2: extended profile */ 630 printf( __( 'Improve %1$s of %2$s Fields', 'buddypress' ), 631 '<code>a11y</code>', 632 '<code>Extended Profile</code>' ); 633 ?></h4> 634 <p><?php esc_html_e( 'Related form fields are grouped together in fieldsets and all interactive form controls are associated with necessary ARIA states and properties.', 'buddypress' ); ?></p> 682 635 </div> 683 636 684 637 <div class="bp-feature"> 685 <span class="dashicons dashicons- groups" aria-hidden="true"></span>686 <h4 class="feature-title"><?php esc_html_e( ' Alphabetical sorting for Groups widget', 'buddypress' ); ?></h4>687 <p><?php esc_html_e( ' The groups widget can now be sorted alphabetically, in addition to sorting the results by recently active, popular, and newest groups.', 'buddypress' ); ?></p>638 <span class="dashicons dashicons-email" aria-hidden="true"></span> 639 <h4 class="feature-title"><?php esc_html_e( 'Send group invitation only once per user', 'buddypress' ); ?></h4> 640 <p><?php esc_html_e( 'Prevent duplicate group invitations from being sent to a user by double-checking if a group invitation has already been sent to that useer.', 'buddypress' ); ?></p> 688 641 </div> 689 642 690 643 <div class="bp-feature opposite"> 691 <span class="dashicons dashicons-email" aria-hidden="true"></span> 692 <h4 class="feature-title"><?php 693 /* translators: %s: PHPMailer */ 694 printf( __( 'Enable choice of %s', 'buddypress' ), '<code>PHPMailer</code>' ); 695 ?></h4> 644 <span class="dashicons dashicons-testimonial" aria-hidden="true"></span> 645 <h4 class="feature-title"><?php esc_html_e( 'Tooltips Usable for All Devices', 'buddypress' ); ?></h4> 696 646 <p><?php 697 /* translators: %s: PHPMailer */ 698 printf( __( 'Developers can specify which %s should be used when sending BuddyPress with a new filter.', 'buddypress' ), '<code>PHPMailer</code>' ); 647 /* translators: 1: title attribute, 2: :hover, 3: :focus */ 648 printf( __( 'Replaced %1$s attributes with tooltips which provide additional information and visual cues where needed on mouse %2$s and keyboard %3$s.', 'buddypress' ), 649 '<code>title</code>', 650 '<code>:hover</code>', 651 '<code>:focus</code>' ); 699 652 ?></p> 700 653 </div> 701 654 702 <div class="clear"></div>703 655 </div> 704 656 705 657 <div class="bp-changelog-section"> 658 706 659 <h3 class="changelog-title"><?php esc_html_e( 'More under the hood …', 'buddypress' ); ?></h3> 707 <div class="bp-changelog three-col">708 <div class=" col">709 <h4 class="title"><?php esc_html_e( ' Localization Improvements', 'buddypress' ); ?></h4>710 <p><?php esc_html_e( ' We continue to improve our localization internals, making it easier for translation editors to ensure that BuddyPress will be available for everyone in their own language.', 'buddypress' ); ?></p>660 <div class="bp-changelog bp-three-column"> 661 <div class="bp-column"> 662 <h4 class="title"><?php esc_html_e( 'Better support for private message thread links in emails', 'buddypress' ); ?></h4> 663 <p><?php esc_html_e( 'Redirect non-authenticated users to the login screen and authenticated users to the message linked.', 'buddypress' ); ?></p> 711 664 </div> 712 <div class=" col">713 <h4 class="title"><?php esc_html_e( ' Developer Reference', 'buddypress' ); ?></h4>714 <p><?php esc_html_e( 'Re gular updates to inline code documentation make it easier for developers to understand how BuddyPress works.', 'buddypress' ); ?></p>665 <div class="bp-column"> 666 <h4 class="title"><?php esc_html_e( 'Compatibility with Bootstrap themes', 'buddypress' ); ?></h4> 667 <p><?php esc_html_e( 'Removed issues with BuddyPress-generated content being hidden in the Groups loop and Activity comments in Bootstrap themes.', 'buddypress' ); ?></p> 715 668 </div> 716 669 717 <div class=" col">718 <h4 class="title"><?php esc_html_e( ' Accessibility Upgrades', 'buddypress' ); ?></h4>719 <p><?php esc_html_e( ' Continued improvements for universal access help make BuddyPress back- and front-end screens usable for everyone (and on more devices).', 'buddypress' ); ?></p>670 <div class="bp-column"> 671 <h4 class="title"><?php esc_html_e( 'Improve profile image uploads', 'buddypress' ); ?></h4> 672 <p><?php esc_html_e( 'Fixed issues with uploading in iOS Safari and uploading files with non-ASCII filenames.', 'buddypress' ); ?></p> 720 673 </div> 721 674 </div> 722 <div class="clear"></div> 675 676 <div class="bp-changelog bp-three-column"> 677 <div class="bp-column"> 678 <h4 class="title"><?php esc_html_e( 'URL compatibility for LightSpeed Servers', 'buddypress' ); ?></h4> 679 <p><?php 680 /* translators: %s: trailingslashit() */ 681 printf( __( 'Audited and changed template link functions to use %s where necessary.', 'buddypress' ), 682 '<code>trailingslashit()</code>' ); 683 ?></p> 684 </div> 685 <div class="bp-column"> 686 <h4 class="title"><?php esc_html_e( 'Template Packs UI in BuddyPress > Settings.', 'buddypress' ); ?></h4> 687 <p><?php esc_html_e( 'Register your new BuddyPress theme package and allow the user to select which template pack to use.', 'buddypress' ); ?></p> 688 </div> 689 690 <div class="bp-column"> 691 <h4 class="title"><?php 692 /* translators: %s: bp_group_link() */ 693 printf( __( 'New template function %s', 'buddypress' ), 694 '<code>bp_group_link()</code>' ); 695 ?></h4> 696 <p><?php esc_html_e( 'Output a group name as a text hyperlink where appropriate.', 'buddypress' ); ?></p> 697 </div> 698 </div> 699 723 700 </div> 724 701 725 702 <div class="bp-assets">