Version Description
= 4.4.0 = See: https://codex.buddypress.org/releases/version-4-4-0/
= 4.3.0 = See: https://codex.buddypress.org/releases/version-4-3-0/
= 4.2.0 = See: https://codex.buddypress.org/releases/version-4-2-0/
= 4.1.0 = See: https://codex.buddypress.org/releases/version-4-1-0/
= 4.0.0 = See: https://codex.buddypress.org/releases/version-4-0-0/
Download this release
Release Info
| Developer | imath |
| Plugin | |
| Version | 5.0.0-RC1 |
| Comparing to | |
| See all releases | |
Code changes from version 5.0.0-beta2 to 5.0.0-RC1
- bp-core/admin/css/hello-rtl.css +97 -163
- bp-core/admin/css/hello-rtl.min.css +1 -1
- bp-core/admin/css/hello.css +97 -163
- bp-core/admin/css/hello.min.css +1 -1
- bp-core/admin/js/hello.js +84 -92
- bp-core/admin/js/hello.min.js +1 -1
- bp-core/admin/sass/hello.scss +101 -210
- bp-core/classes/class-bp-admin.php +153 -64
- bp-core/images/bp-nouveau-improvements.png +0 -0
- bp-core/images/buddypress-blocks-category.png +0 -0
- bp-core/images/data-export.png +0 -0
- bp-core/images/manage-members-interface.png +0 -0
- bp-core/images/site-health-buddypress-section.png +0 -0
- bp-friends/classes/class-bp-friends-friendship.php +5 -5
- bp-loader.php +1 -1
- buddypress.pot +210 -111
- class-buddypress.php +1 -1
bp-core/admin/css/hello-rtl.css
CHANGED
|
@@ -9,15 +9,12 @@ TABLE OF CONTENTS:
|
|
| 9 |
1.0 - Typography and colour
|
| 10 |
2.0 - Dashicons
|
| 11 |
3.0 - Elements
|
| 12 |
-
3.1 -
|
| 13 |
-
3.2 - Modal
|
| 14 |
-
3.3 - Modal header
|
| 15 |
-
3.4 - Modal content
|
| 16 |
4.0 - Content styles
|
| 17 |
-
4.1 -
|
| 18 |
-
4.2 -
|
| 19 |
-
4.3 -
|
| 20 |
-
4.4 - Content content
|
| 21 |
5.0 - Media
|
| 22 |
6.0 - Media Queries
|
| 23 |
6.1 - Desktop Medium
|
|
@@ -32,48 +29,23 @@ TABLE OF CONTENTS:
|
|
| 32 |
--bp-hello-container-size: 15%;
|
| 33 |
}
|
| 34 |
|
| 35 |
-
|
| 36 |
-
|
| 37 |
}
|
| 38 |
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
}
|
| 43 |
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
font-
|
| 47 |
-
font-weight: 400;
|
| 48 |
-
}
|
| 49 |
-
|
| 50 |
-
.bp-hello-content p {
|
| 51 |
-
font-size: 16px;
|
| 52 |
}
|
| 53 |
|
| 54 |
/*------------------------------------------------------------------------------
|
| 55 |
* 2.0 - Dashicons
|
| 56 |
*----------------------------------------------------------------------------*/
|
| 57 |
-
.bp-hello-close .button {
|
| 58 |
-
padding: 5px !important;
|
| 59 |
-
}
|
| 60 |
-
|
| 61 |
-
.bp-hello-close .close-modal:before {
|
| 62 |
-
content: "\f158";
|
| 63 |
-
color: #23282d;
|
| 64 |
-
/* wp toolbar */
|
| 65 |
-
font: 400 1.5em/1 dashicons;
|
| 66 |
-
speak: none;
|
| 67 |
-
-webkit-font-smoothing: antialiased;
|
| 68 |
-
-moz-osx-font-smoothing: grayscale;
|
| 69 |
-
background-image: none !important;
|
| 70 |
-
}
|
| 71 |
-
|
| 72 |
-
.bp-hello-close .close-modal:focus:before, .bp-hello-close .close-modal:hover:before {
|
| 73 |
-
transition: all 0.1s ease-in-out;
|
| 74 |
-
color: var(--bp-hello-color-primary);
|
| 75 |
-
}
|
| 76 |
-
|
| 77 |
.bp-hello-social li a:before {
|
| 78 |
color: #23282d;
|
| 79 |
/* wp toolbar */
|
|
@@ -97,41 +69,34 @@ TABLE OF CONTENTS:
|
|
| 97 |
content: "\f301";
|
| 98 |
}
|
| 99 |
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
/*
|
| 104 |
-
* 3.1 - Backdrop and container
|
| 105 |
-
*/
|
| 106 |
-
#bp-hello-backdrop {
|
| 107 |
-
position: fixed;
|
| 108 |
-
top: 0;
|
| 109 |
-
right: 0;
|
| 110 |
-
left: 0;
|
| 111 |
-
bottom: 0;
|
| 112 |
-
z-index: 9998;
|
| 113 |
-
display: none;
|
| 114 |
}
|
| 115 |
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
.bp-disable-scroll {
|
| 124 |
-
overflow: hidden;
|
| 125 |
}
|
| 126 |
|
|
|
|
|
|
|
|
|
|
| 127 |
/*
|
| 128 |
-
* 3.
|
| 129 |
*/
|
| 130 |
-
|
| 131 |
display: flex;
|
| 132 |
flex-wrap: wrap;
|
| 133 |
-
|
| 134 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
}
|
| 136 |
|
| 137 |
.bp-hello-social-cta,
|
|
@@ -156,92 +121,95 @@ TABLE OF CONTENTS:
|
|
| 156 |
}
|
| 157 |
|
| 158 |
/*
|
| 159 |
-
* 3.
|
| 160 |
*/
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
max-height: 58px;
|
| 164 |
}
|
| 165 |
|
| 166 |
-
/*
|
| 167 |
-
* 3.4 - Modal content
|
| 168 |
-
*/
|
| 169 |
.bp-hello-content {
|
| 170 |
padding: 0 25px;
|
| 171 |
-
|
| 172 |
-
overflow-y: auto;
|
| 173 |
-
-webkit-overflow-scrolling: touch;
|
| 174 |
}
|
| 175 |
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
/*
|
| 180 |
-
* 4.1 - Backdrop and container
|
| 181 |
-
*/
|
| 182 |
-
#bp-hello-backdrop {
|
| 183 |
-
background-color: rgba(0, 0, 0, 0.8);
|
| 184 |
-
transition: opacity 0.15s ease-out;
|
| 185 |
}
|
| 186 |
|
| 187 |
-
#
|
| 188 |
-
|
| 189 |
}
|
| 190 |
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
border
|
| 196 |
-
background-color: white;
|
| 197 |
-
border-top: 1px solid var(--bp-hello-color-secondary);
|
| 198 |
-
padding: 6px 25px;
|
| 199 |
}
|
| 200 |
|
| 201 |
-
.
|
| 202 |
-
|
|
|
|
|
|
|
|
|
|
| 203 |
}
|
| 204 |
|
| 205 |
-
.bp-hello-
|
| 206 |
-
|
| 207 |
}
|
| 208 |
|
| 209 |
-
.bp-hello-
|
| 210 |
-
|
| 211 |
}
|
| 212 |
|
| 213 |
-
.bp-hello-
|
| 214 |
-
|
|
|
|
| 215 |
}
|
| 216 |
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
*/
|
| 220 |
-
.bp-hello-header {
|
| 221 |
-
padding: 6px 25px;
|
| 222 |
}
|
| 223 |
|
| 224 |
-
.bp-hello-
|
| 225 |
-
|
|
|
|
| 226 |
}
|
| 227 |
|
| 228 |
-
|
| 229 |
-
|
|
|
|
|
|
|
| 230 |
}
|
| 231 |
|
| 232 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 233 |
text-align: right;
|
| 234 |
}
|
| 235 |
|
| 236 |
-
.bp-hello-
|
| 237 |
-
position: absolute;
|
| 238 |
-
top: 20px;
|
| 239 |
-
left: 25px;
|
| 240 |
text-align: left;
|
| 241 |
}
|
| 242 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 243 |
/*
|
| 244 |
-
* 4.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 245 |
*/
|
| 246 |
.bp-hello-content {
|
| 247 |
background-color: white;
|
|
@@ -259,6 +227,11 @@ TABLE OF CONTENTS:
|
|
| 259 |
width: 100%;
|
| 260 |
}
|
| 261 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 262 |
/*------------------------------------------------------------------------------
|
| 263 |
* 6.0 - Media Queries
|
| 264 |
*----------------------------------------------------------------------------*/
|
|
@@ -266,45 +239,8 @@ TABLE OF CONTENTS:
|
|
| 266 |
* 6.1 - Desktop Medium
|
| 267 |
*/
|
| 268 |
@media only screen and (min-width: 1024px) {
|
| 269 |
-
#bp-hello-backdrop {
|
| 270 |
-
display: block;
|
| 271 |
-
}
|
| 272 |
-
#bp-hello-container {
|
| 273 |
-
position: fixed;
|
| 274 |
-
top: 60px;
|
| 275 |
-
right: var(--bp-hello-container-size);
|
| 276 |
-
left: var(--bp-hello-container-size);
|
| 277 |
-
bottom: 30px;
|
| 278 |
-
z-index: 9999;
|
| 279 |
-
border-radius: 3px;
|
| 280 |
-
}
|
| 281 |
-
#bp-hello-container .bp-hello-header h1 {
|
| 282 |
-
line-height: inherit;
|
| 283 |
-
}
|
| 284 |
-
.bp-hello-header {
|
| 285 |
-
height: auto;
|
| 286 |
-
max-height: inherit;
|
| 287 |
-
padding: 6px 30px;
|
| 288 |
-
}
|
| 289 |
-
.bp-hello-close {
|
| 290 |
-
left: 30px;
|
| 291 |
-
}
|
| 292 |
-
.bp-hello-close .close-modal:before {
|
| 293 |
-
line-height: 0.7;
|
| 294 |
-
}
|
| 295 |
-
.bp-hello-footer {
|
| 296 |
-
position: fixed;
|
| 297 |
-
right: var(--bp-hello-container-size);
|
| 298 |
-
left: var(--bp-hello-container-size);
|
| 299 |
-
bottom: 30px;
|
| 300 |
-
z-index: 10000;
|
| 301 |
-
height: auto;
|
| 302 |
-
max-height: inherit;
|
| 303 |
-
padding: 6px 30px;
|
| 304 |
-
}
|
| 305 |
.bp-hello-content {
|
| 306 |
-
|
| 307 |
-
padding: 0 30px;
|
| 308 |
}
|
| 309 |
.bp-hello-content p {
|
| 310 |
font-size: 14px;
|
|
@@ -314,10 +250,8 @@ TABLE OF CONTENTS:
|
|
| 314 |
/**
|
| 315 |
* 6.2 - Desktop Large
|
| 316 |
*/
|
| 317 |
-
@media screen and (min-
|
| 318 |
-
#
|
| 319 |
-
|
| 320 |
-
right: calc((100% - 896px) / 2);
|
| 321 |
-
left: calc((100% - 896px) / 2);
|
| 322 |
}
|
| 323 |
}
|
| 9 |
1.0 - Typography and colour
|
| 10 |
2.0 - Dashicons
|
| 11 |
3.0 - Elements
|
| 12 |
+
3.1 - Modal footer
|
| 13 |
+
3.2 - Modal content
|
|
|
|
|
|
|
| 14 |
4.0 - Content styles
|
| 15 |
+
4.1 - Footer content
|
| 16 |
+
4.2 - Header content
|
| 17 |
+
4.3 - Content content
|
|
|
|
| 18 |
5.0 - Media
|
| 19 |
6.0 - Media Queries
|
| 20 |
6.1 - Desktop Medium
|
| 29 |
--bp-hello-container-size: 15%;
|
| 30 |
}
|
| 31 |
|
| 32 |
+
.bp-hello-content p {
|
| 33 |
+
font-size: 16px;
|
| 34 |
}
|
| 35 |
|
| 36 |
+
.bp-hello-content ul,
|
| 37 |
+
.bp-hello-content ol {
|
| 38 |
+
list-style: inherit;
|
| 39 |
}
|
| 40 |
|
| 41 |
+
.bp-hello-content h3 {
|
| 42 |
+
font-size: 1.1em;
|
| 43 |
+
font-weight: 500;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
}
|
| 45 |
|
| 46 |
/*------------------------------------------------------------------------------
|
| 47 |
* 2.0 - Dashicons
|
| 48 |
*----------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
.bp-hello-social li a:before {
|
| 50 |
color: #23282d;
|
| 51 |
/* wp toolbar */
|
| 69 |
content: "\f301";
|
| 70 |
}
|
| 71 |
|
| 72 |
+
div.dashicons {
|
| 73 |
+
width: -webkit-fit-content;
|
| 74 |
+
width: fit-content;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
}
|
| 76 |
|
| 77 |
+
div.dashicons.big {
|
| 78 |
+
font-size: 128px;
|
| 79 |
+
display: block;
|
| 80 |
+
color: var(--bp-hello-color-primary);
|
| 81 |
+
height: 128px;
|
| 82 |
+
width: 128px;
|
|
|
|
|
|
|
|
|
|
| 83 |
}
|
| 84 |
|
| 85 |
+
/*------------------------------------------------------------------------------
|
| 86 |
+
* 3.0 - Elements
|
| 87 |
+
*----------------------------------------------------------------------------*/
|
| 88 |
/*
|
| 89 |
+
* 3.1 - Modal footer
|
| 90 |
*/
|
| 91 |
+
#plugin-information-footer {
|
| 92 |
display: flex;
|
| 93 |
flex-wrap: wrap;
|
| 94 |
+
padding: 0 16px;
|
| 95 |
+
height: auto;
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
#plugin-information-footer .dashicons-heart {
|
| 99 |
+
color: #be3631;
|
| 100 |
}
|
| 101 |
|
| 102 |
.bp-hello-social-cta,
|
| 121 |
}
|
| 122 |
|
| 123 |
/*
|
| 124 |
+
* 3.2 - Modal content
|
| 125 |
*/
|
| 126 |
+
#bp-hello-container {
|
| 127 |
+
display: none;
|
|
|
|
| 128 |
}
|
| 129 |
|
|
|
|
|
|
|
|
|
|
| 130 |
.bp-hello-content {
|
| 131 |
padding: 0 25px;
|
| 132 |
+
padding-bottom: 20px;
|
|
|
|
|
|
|
| 133 |
}
|
| 134 |
|
| 135 |
+
#dynamic-content {
|
| 136 |
+
padding-bottom: 40px;
|
| 137 |
+
display: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 138 |
}
|
| 139 |
|
| 140 |
+
#dynamic-content.show {
|
| 141 |
+
display: block;
|
| 142 |
}
|
| 143 |
|
| 144 |
+
.plugin-details-modal #TB_title {
|
| 145 |
+
/* stylelint-disable-line */
|
| 146 |
+
height: 0;
|
| 147 |
+
background: none;
|
| 148 |
+
border: none;
|
|
|
|
|
|
|
|
|
|
| 149 |
}
|
| 150 |
|
| 151 |
+
#TB_window.plugin-details-modal.thickbox-loading:before {
|
| 152 |
+
/* stylelint-disable-line */
|
| 153 |
+
z-index: 10;
|
| 154 |
+
margin-top: 40px;
|
| 155 |
+
background-color: none;
|
| 156 |
}
|
| 157 |
|
| 158 |
+
.bp-hello-aligncenter * {
|
| 159 |
+
margin: 10px auto;
|
| 160 |
}
|
| 161 |
|
| 162 |
+
.bp-hello-alignleft {
|
| 163 |
+
float: right;
|
| 164 |
}
|
| 165 |
|
| 166 |
+
.bp-hello-alignleft:after {
|
| 167 |
+
content: "";
|
| 168 |
+
clear: right;
|
| 169 |
}
|
| 170 |
|
| 171 |
+
.bp-hello-alignright {
|
| 172 |
+
float: left;
|
|
|
|
|
|
|
|
|
|
| 173 |
}
|
| 174 |
|
| 175 |
+
.bp-hello-alignright:after {
|
| 176 |
+
content: "";
|
| 177 |
+
clear: left;
|
| 178 |
}
|
| 179 |
|
| 180 |
+
.bp-hello-divider {
|
| 181 |
+
clear: both;
|
| 182 |
+
border: none;
|
| 183 |
+
margin-bottom: 20px;
|
| 184 |
}
|
| 185 |
|
| 186 |
+
/*------------------------------------------------------------------------------
|
| 187 |
+
* 4.0 - Content styles
|
| 188 |
+
*----------------------------------------------------------------------------*/
|
| 189 |
+
/*
|
| 190 |
+
* 4.1 - Footer content
|
| 191 |
+
*/
|
| 192 |
+
.bp-hello-social-cta {
|
| 193 |
text-align: right;
|
| 194 |
}
|
| 195 |
|
| 196 |
+
.bp-hello-social-links {
|
|
|
|
|
|
|
|
|
|
| 197 |
text-align: left;
|
| 198 |
}
|
| 199 |
|
| 200 |
+
.bp-hello-social li a {
|
| 201 |
+
text-decoration: none;
|
| 202 |
+
}
|
| 203 |
+
|
| 204 |
/*
|
| 205 |
+
* 4.2 - Header content
|
| 206 |
+
*/
|
| 207 |
+
#plugin-information-title.with-banner {
|
| 208 |
+
background-image: url(https://ps.w.org/buddypress/assets/banner-772x250.png);
|
| 209 |
+
}
|
| 210 |
+
|
| 211 |
+
/*
|
| 212 |
+
* 4.3 - Content content
|
| 213 |
*/
|
| 214 |
.bp-hello-content {
|
| 215 |
background-color: white;
|
| 227 |
width: 100%;
|
| 228 |
}
|
| 229 |
|
| 230 |
+
.bp-hello-content .bp-hello-alignleft img,
|
| 231 |
+
.bp-hello-content .bp-hello-alignright img {
|
| 232 |
+
max-width: 200px;
|
| 233 |
+
}
|
| 234 |
+
|
| 235 |
/*------------------------------------------------------------------------------
|
| 236 |
* 6.0 - Media Queries
|
| 237 |
*----------------------------------------------------------------------------*/
|
| 239 |
* 6.1 - Desktop Medium
|
| 240 |
*/
|
| 241 |
@media only screen and (min-width: 1024px) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 242 |
.bp-hello-content {
|
| 243 |
+
padding: 0 30px 20px;
|
|
|
|
| 244 |
}
|
| 245 |
.bp-hello-content p {
|
| 246 |
font-size: 14px;
|
| 250 |
/**
|
| 251 |
* 6.2 - Desktop Large
|
| 252 |
*/
|
| 253 |
+
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
|
| 254 |
+
#plugin-information-title.with-banner {
|
| 255 |
+
background-image: url(https://ps.w.org/buddypress/assets/banner-1544x500.png);
|
|
|
|
|
|
|
| 256 |
}
|
| 257 |
}
|
bp-core/admin/css/hello-rtl.min.css
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
:root{--bp-hello-color-primary:#d34600;--bp-hello-color-secondary:#e5e5e5;--bp-hello-container-size:15%}
|
| 1 |
+
:root{--bp-hello-color-primary:#d34600;--bp-hello-color-secondary:#e5e5e5;--bp-hello-container-size:15%}.bp-hello-content p{font-size:16px}.bp-hello-content ol,.bp-hello-content ul{list-style:inherit}.bp-hello-content h3{font-size:1.1em;font-weight:500}.bp-hello-social li a:before{color:#23282d;font:400 30px/.6 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-image:none!important}.bp-hello-social li a:hover:before{transition:all .1s ease-in-out;color:var(--bp-hello-color-primary)}.bp-hello-social li a.support:before{content:"\f448"}.bp-hello-social li a.twitter:before{content:"\f301"}div.dashicons{width:-webkit-fit-content;width:fit-content}div.dashicons.big{font-size:128px;display:block;color:var(--bp-hello-color-primary);height:128px;width:128px}#plugin-information-footer{display:flex;flex-wrap:wrap;padding:0 16px;height:auto}#plugin-information-footer .dashicons-heart{color:#be3631}.bp-hello-social-cta,.bp-hello-social-links{flex-basis:50%}.bp-hello-social-links ul{display:inline-block}.bp-hello-social li{position:relative;bottom:-5px;display:inline-block;list-style-type:none;margin-bottom:0}.bp-hello-social li:last-child a{margin-right:4px}#bp-hello-container{display:none}.bp-hello-content{padding:0 25px;padding-bottom:20px}#dynamic-content{padding-bottom:40px;display:none}#dynamic-content.show{display:block}.plugin-details-modal #TB_title{height:0;background:0 0;border:none}#TB_window.plugin-details-modal.thickbox-loading:before{z-index:10;margin-top:40px;background-color:none}.bp-hello-aligncenter *{margin:10px auto}.bp-hello-alignleft{float:right}.bp-hello-alignleft:after{content:"";clear:right}.bp-hello-alignright{float:left}.bp-hello-alignright:after{content:"";clear:left}.bp-hello-divider{clear:both;border:none;margin-bottom:20px}.bp-hello-social-cta{text-align:right}.bp-hello-social-links{text-align:left}.bp-hello-social li a{text-decoration:none}#plugin-information-title.with-banner{background-image:url(https://ps.w.org/buddypress/assets/banner-772x250.png)}.bp-hello-content{background-color:#fff}.bp-hello-content img{border-radius:2px;max-width:100%}.bp-hello-content iframe{width:100%}.bp-hello-content .bp-hello-alignleft img,.bp-hello-content .bp-hello-alignright img{max-width:200px}@media only screen and (min-width:1024px){.bp-hello-content{padding:0 30px 20px}.bp-hello-content p{font-size:14px}}@media only screen and (-webkit-min-device-pixel-ratio:1.5){#plugin-information-title.with-banner{background-image:url(https://ps.w.org/buddypress/assets/banner-1544x500.png)}}
|
bp-core/admin/css/hello.css
CHANGED
|
@@ -9,15 +9,12 @@ TABLE OF CONTENTS:
|
|
| 9 |
1.0 - Typography and colour
|
| 10 |
2.0 - Dashicons
|
| 11 |
3.0 - Elements
|
| 12 |
-
3.1 -
|
| 13 |
-
3.2 - Modal
|
| 14 |
-
3.3 - Modal header
|
| 15 |
-
3.4 - Modal content
|
| 16 |
4.0 - Content styles
|
| 17 |
-
4.1 -
|
| 18 |
-
4.2 -
|
| 19 |
-
4.3 -
|
| 20 |
-
4.4 - Content content
|
| 21 |
5.0 - Media
|
| 22 |
6.0 - Media Queries
|
| 23 |
6.1 - Desktop Medium
|
|
@@ -32,48 +29,23 @@ TABLE OF CONTENTS:
|
|
| 32 |
--bp-hello-container-size: 15%;
|
| 33 |
}
|
| 34 |
|
| 35 |
-
|
| 36 |
-
|
| 37 |
}
|
| 38 |
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
}
|
| 43 |
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
font-
|
| 47 |
-
font-weight: 400;
|
| 48 |
-
}
|
| 49 |
-
|
| 50 |
-
.bp-hello-content p {
|
| 51 |
-
font-size: 16px;
|
| 52 |
}
|
| 53 |
|
| 54 |
/*------------------------------------------------------------------------------
|
| 55 |
* 2.0 - Dashicons
|
| 56 |
*----------------------------------------------------------------------------*/
|
| 57 |
-
.bp-hello-close .button {
|
| 58 |
-
padding: 5px !important;
|
| 59 |
-
}
|
| 60 |
-
|
| 61 |
-
.bp-hello-close .close-modal:before {
|
| 62 |
-
content: "\f158";
|
| 63 |
-
color: #23282d;
|
| 64 |
-
/* wp toolbar */
|
| 65 |
-
font: 400 1.5em/1 dashicons;
|
| 66 |
-
speak: none;
|
| 67 |
-
-webkit-font-smoothing: antialiased;
|
| 68 |
-
-moz-osx-font-smoothing: grayscale;
|
| 69 |
-
background-image: none !important;
|
| 70 |
-
}
|
| 71 |
-
|
| 72 |
-
.bp-hello-close .close-modal:focus:before, .bp-hello-close .close-modal:hover:before {
|
| 73 |
-
transition: all 0.1s ease-in-out;
|
| 74 |
-
color: var(--bp-hello-color-primary);
|
| 75 |
-
}
|
| 76 |
-
|
| 77 |
.bp-hello-social li a:before {
|
| 78 |
color: #23282d;
|
| 79 |
/* wp toolbar */
|
|
@@ -97,41 +69,34 @@ TABLE OF CONTENTS:
|
|
| 97 |
content: "\f301";
|
| 98 |
}
|
| 99 |
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
/*
|
| 104 |
-
* 3.1 - Backdrop and container
|
| 105 |
-
*/
|
| 106 |
-
#bp-hello-backdrop {
|
| 107 |
-
position: fixed;
|
| 108 |
-
top: 0;
|
| 109 |
-
left: 0;
|
| 110 |
-
right: 0;
|
| 111 |
-
bottom: 0;
|
| 112 |
-
z-index: 9998;
|
| 113 |
-
display: none;
|
| 114 |
}
|
| 115 |
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
.bp-disable-scroll {
|
| 124 |
-
overflow: hidden;
|
| 125 |
}
|
| 126 |
|
|
|
|
|
|
|
|
|
|
| 127 |
/*
|
| 128 |
-
* 3.
|
| 129 |
*/
|
| 130 |
-
|
| 131 |
display: flex;
|
| 132 |
flex-wrap: wrap;
|
| 133 |
-
|
| 134 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
}
|
| 136 |
|
| 137 |
.bp-hello-social-cta,
|
|
@@ -156,92 +121,95 @@ TABLE OF CONTENTS:
|
|
| 156 |
}
|
| 157 |
|
| 158 |
/*
|
| 159 |
-
* 3.
|
| 160 |
*/
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
max-height: 58px;
|
| 164 |
}
|
| 165 |
|
| 166 |
-
/*
|
| 167 |
-
* 3.4 - Modal content
|
| 168 |
-
*/
|
| 169 |
.bp-hello-content {
|
| 170 |
padding: 0 25px;
|
| 171 |
-
|
| 172 |
-
overflow-y: auto;
|
| 173 |
-
-webkit-overflow-scrolling: touch;
|
| 174 |
}
|
| 175 |
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
/*
|
| 180 |
-
* 4.1 - Backdrop and container
|
| 181 |
-
*/
|
| 182 |
-
#bp-hello-backdrop {
|
| 183 |
-
background-color: rgba(0, 0, 0, 0.8);
|
| 184 |
-
transition: opacity 0.15s ease-out;
|
| 185 |
}
|
| 186 |
|
| 187 |
-
#
|
| 188 |
-
|
| 189 |
}
|
| 190 |
|
| 191 |
-
|
| 192 |
-
|
| 193 |
-
|
| 194 |
-
|
| 195 |
-
border
|
| 196 |
-
background-color: white;
|
| 197 |
-
border-top: 1px solid var(--bp-hello-color-secondary);
|
| 198 |
-
padding: 6px 25px;
|
| 199 |
}
|
| 200 |
|
| 201 |
-
.
|
| 202 |
-
|
|
|
|
|
|
|
|
|
|
| 203 |
}
|
| 204 |
|
| 205 |
-
.bp-hello-
|
| 206 |
-
|
| 207 |
}
|
| 208 |
|
| 209 |
-
.bp-hello-
|
| 210 |
-
|
| 211 |
}
|
| 212 |
|
| 213 |
-
.bp-hello-
|
| 214 |
-
|
|
|
|
| 215 |
}
|
| 216 |
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
*/
|
| 220 |
-
.bp-hello-header {
|
| 221 |
-
padding: 6px 25px;
|
| 222 |
}
|
| 223 |
|
| 224 |
-
.bp-hello-
|
| 225 |
-
|
|
|
|
| 226 |
}
|
| 227 |
|
| 228 |
-
|
| 229 |
-
|
|
|
|
|
|
|
| 230 |
}
|
| 231 |
|
| 232 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 233 |
text-align: left;
|
| 234 |
}
|
| 235 |
|
| 236 |
-
.bp-hello-
|
| 237 |
-
position: absolute;
|
| 238 |
-
top: 20px;
|
| 239 |
-
right: 25px;
|
| 240 |
text-align: right;
|
| 241 |
}
|
| 242 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 243 |
/*
|
| 244 |
-
* 4.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 245 |
*/
|
| 246 |
.bp-hello-content {
|
| 247 |
background-color: white;
|
|
@@ -259,6 +227,11 @@ TABLE OF CONTENTS:
|
|
| 259 |
width: 100%;
|
| 260 |
}
|
| 261 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 262 |
/*------------------------------------------------------------------------------
|
| 263 |
* 6.0 - Media Queries
|
| 264 |
*----------------------------------------------------------------------------*/
|
|
@@ -266,45 +239,8 @@ TABLE OF CONTENTS:
|
|
| 266 |
* 6.1 - Desktop Medium
|
| 267 |
*/
|
| 268 |
@media only screen and (min-width: 1024px) {
|
| 269 |
-
#bp-hello-backdrop {
|
| 270 |
-
display: block;
|
| 271 |
-
}
|
| 272 |
-
#bp-hello-container {
|
| 273 |
-
position: fixed;
|
| 274 |
-
top: 60px;
|
| 275 |
-
left: var(--bp-hello-container-size);
|
| 276 |
-
right: var(--bp-hello-container-size);
|
| 277 |
-
bottom: 30px;
|
| 278 |
-
z-index: 9999;
|
| 279 |
-
border-radius: 3px;
|
| 280 |
-
}
|
| 281 |
-
#bp-hello-container .bp-hello-header h1 {
|
| 282 |
-
line-height: inherit;
|
| 283 |
-
}
|
| 284 |
-
.bp-hello-header {
|
| 285 |
-
height: auto;
|
| 286 |
-
max-height: inherit;
|
| 287 |
-
padding: 6px 30px;
|
| 288 |
-
}
|
| 289 |
-
.bp-hello-close {
|
| 290 |
-
right: 30px;
|
| 291 |
-
}
|
| 292 |
-
.bp-hello-close .close-modal:before {
|
| 293 |
-
line-height: 0.7;
|
| 294 |
-
}
|
| 295 |
-
.bp-hello-footer {
|
| 296 |
-
position: fixed;
|
| 297 |
-
left: var(--bp-hello-container-size);
|
| 298 |
-
right: var(--bp-hello-container-size);
|
| 299 |
-
bottom: 30px;
|
| 300 |
-
z-index: 10000;
|
| 301 |
-
height: auto;
|
| 302 |
-
max-height: inherit;
|
| 303 |
-
padding: 6px 30px;
|
| 304 |
-
}
|
| 305 |
.bp-hello-content {
|
| 306 |
-
|
| 307 |
-
padding: 0 30px;
|
| 308 |
}
|
| 309 |
.bp-hello-content p {
|
| 310 |
font-size: 14px;
|
|
@@ -314,10 +250,8 @@ TABLE OF CONTENTS:
|
|
| 314 |
/**
|
| 315 |
* 6.2 - Desktop Large
|
| 316 |
*/
|
| 317 |
-
@media screen and (min-
|
| 318 |
-
#
|
| 319 |
-
|
| 320 |
-
left: calc((100% - 896px) / 2);
|
| 321 |
-
right: calc((100% - 896px) / 2);
|
| 322 |
}
|
| 323 |
}
|
| 9 |
1.0 - Typography and colour
|
| 10 |
2.0 - Dashicons
|
| 11 |
3.0 - Elements
|
| 12 |
+
3.1 - Modal footer
|
| 13 |
+
3.2 - Modal content
|
|
|
|
|
|
|
| 14 |
4.0 - Content styles
|
| 15 |
+
4.1 - Footer content
|
| 16 |
+
4.2 - Header content
|
| 17 |
+
4.3 - Content content
|
|
|
|
| 18 |
5.0 - Media
|
| 19 |
6.0 - Media Queries
|
| 20 |
6.1 - Desktop Medium
|
| 29 |
--bp-hello-container-size: 15%;
|
| 30 |
}
|
| 31 |
|
| 32 |
+
.bp-hello-content p {
|
| 33 |
+
font-size: 16px;
|
| 34 |
}
|
| 35 |
|
| 36 |
+
.bp-hello-content ul,
|
| 37 |
+
.bp-hello-content ol {
|
| 38 |
+
list-style: inherit;
|
| 39 |
}
|
| 40 |
|
| 41 |
+
.bp-hello-content h3 {
|
| 42 |
+
font-size: 1.1em;
|
| 43 |
+
font-weight: 500;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
}
|
| 45 |
|
| 46 |
/*------------------------------------------------------------------------------
|
| 47 |
* 2.0 - Dashicons
|
| 48 |
*----------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
.bp-hello-social li a:before {
|
| 50 |
color: #23282d;
|
| 51 |
/* wp toolbar */
|
| 69 |
content: "\f301";
|
| 70 |
}
|
| 71 |
|
| 72 |
+
div.dashicons {
|
| 73 |
+
width: -webkit-fit-content;
|
| 74 |
+
width: fit-content;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
}
|
| 76 |
|
| 77 |
+
div.dashicons.big {
|
| 78 |
+
font-size: 128px;
|
| 79 |
+
display: block;
|
| 80 |
+
color: var(--bp-hello-color-primary);
|
| 81 |
+
height: 128px;
|
| 82 |
+
width: 128px;
|
|
|
|
|
|
|
|
|
|
| 83 |
}
|
| 84 |
|
| 85 |
+
/*------------------------------------------------------------------------------
|
| 86 |
+
* 3.0 - Elements
|
| 87 |
+
*----------------------------------------------------------------------------*/
|
| 88 |
/*
|
| 89 |
+
* 3.1 - Modal footer
|
| 90 |
*/
|
| 91 |
+
#plugin-information-footer {
|
| 92 |
display: flex;
|
| 93 |
flex-wrap: wrap;
|
| 94 |
+
padding: 0 16px;
|
| 95 |
+
height: auto;
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
#plugin-information-footer .dashicons-heart {
|
| 99 |
+
color: #be3631;
|
| 100 |
}
|
| 101 |
|
| 102 |
.bp-hello-social-cta,
|
| 121 |
}
|
| 122 |
|
| 123 |
/*
|
| 124 |
+
* 3.2 - Modal content
|
| 125 |
*/
|
| 126 |
+
#bp-hello-container {
|
| 127 |
+
display: none;
|
|
|
|
| 128 |
}
|
| 129 |
|
|
|
|
|
|
|
|
|
|
| 130 |
.bp-hello-content {
|
| 131 |
padding: 0 25px;
|
| 132 |
+
padding-bottom: 20px;
|
|
|
|
|
|
|
| 133 |
}
|
| 134 |
|
| 135 |
+
#dynamic-content {
|
| 136 |
+
padding-bottom: 40px;
|
| 137 |
+
display: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 138 |
}
|
| 139 |
|
| 140 |
+
#dynamic-content.show {
|
| 141 |
+
display: block;
|
| 142 |
}
|
| 143 |
|
| 144 |
+
.plugin-details-modal #TB_title {
|
| 145 |
+
/* stylelint-disable-line */
|
| 146 |
+
height: 0;
|
| 147 |
+
background: none;
|
| 148 |
+
border: none;
|
|
|
|
|
|
|
|
|
|
| 149 |
}
|
| 150 |
|
| 151 |
+
#TB_window.plugin-details-modal.thickbox-loading:before {
|
| 152 |
+
/* stylelint-disable-line */
|
| 153 |
+
z-index: 10;
|
| 154 |
+
margin-top: 40px;
|
| 155 |
+
background-color: none;
|
| 156 |
}
|
| 157 |
|
| 158 |
+
.bp-hello-aligncenter * {
|
| 159 |
+
margin: 10px auto;
|
| 160 |
}
|
| 161 |
|
| 162 |
+
.bp-hello-alignleft {
|
| 163 |
+
float: left;
|
| 164 |
}
|
| 165 |
|
| 166 |
+
.bp-hello-alignleft:after {
|
| 167 |
+
content: "";
|
| 168 |
+
clear: left;
|
| 169 |
}
|
| 170 |
|
| 171 |
+
.bp-hello-alignright {
|
| 172 |
+
float: right;
|
|
|
|
|
|
|
|
|
|
| 173 |
}
|
| 174 |
|
| 175 |
+
.bp-hello-alignright:after {
|
| 176 |
+
content: "";
|
| 177 |
+
clear: right;
|
| 178 |
}
|
| 179 |
|
| 180 |
+
.bp-hello-divider {
|
| 181 |
+
clear: both;
|
| 182 |
+
border: none;
|
| 183 |
+
margin-bottom: 20px;
|
| 184 |
}
|
| 185 |
|
| 186 |
+
/*------------------------------------------------------------------------------
|
| 187 |
+
* 4.0 - Content styles
|
| 188 |
+
*----------------------------------------------------------------------------*/
|
| 189 |
+
/*
|
| 190 |
+
* 4.1 - Footer content
|
| 191 |
+
*/
|
| 192 |
+
.bp-hello-social-cta {
|
| 193 |
text-align: left;
|
| 194 |
}
|
| 195 |
|
| 196 |
+
.bp-hello-social-links {
|
|
|
|
|
|
|
|
|
|
| 197 |
text-align: right;
|
| 198 |
}
|
| 199 |
|
| 200 |
+
.bp-hello-social li a {
|
| 201 |
+
text-decoration: none;
|
| 202 |
+
}
|
| 203 |
+
|
| 204 |
/*
|
| 205 |
+
* 4.2 - Header content
|
| 206 |
+
*/
|
| 207 |
+
#plugin-information-title.with-banner {
|
| 208 |
+
background-image: url(https://ps.w.org/buddypress/assets/banner-772x250.png);
|
| 209 |
+
}
|
| 210 |
+
|
| 211 |
+
/*
|
| 212 |
+
* 4.3 - Content content
|
| 213 |
*/
|
| 214 |
.bp-hello-content {
|
| 215 |
background-color: white;
|
| 227 |
width: 100%;
|
| 228 |
}
|
| 229 |
|
| 230 |
+
.bp-hello-content .bp-hello-alignleft img,
|
| 231 |
+
.bp-hello-content .bp-hello-alignright img {
|
| 232 |
+
max-width: 200px;
|
| 233 |
+
}
|
| 234 |
+
|
| 235 |
/*------------------------------------------------------------------------------
|
| 236 |
* 6.0 - Media Queries
|
| 237 |
*----------------------------------------------------------------------------*/
|
| 239 |
* 6.1 - Desktop Medium
|
| 240 |
*/
|
| 241 |
@media only screen and (min-width: 1024px) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 242 |
.bp-hello-content {
|
| 243 |
+
padding: 0 30px 20px;
|
|
|
|
| 244 |
}
|
| 245 |
.bp-hello-content p {
|
| 246 |
font-size: 14px;
|
| 250 |
/**
|
| 251 |
* 6.2 - Desktop Large
|
| 252 |
*/
|
| 253 |
+
@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
|
| 254 |
+
#plugin-information-title.with-banner {
|
| 255 |
+
background-image: url(https://ps.w.org/buddypress/assets/banner-1544x500.png);
|
|
|
|
|
|
|
| 256 |
}
|
| 257 |
}
|
bp-core/admin/css/hello.min.css
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
:root{--bp-hello-color-primary:#d34600;--bp-hello-color-secondary:#e5e5e5;--bp-hello-container-size:15%}
|
| 1 |
+
:root{--bp-hello-color-primary:#d34600;--bp-hello-color-secondary:#e5e5e5;--bp-hello-container-size:15%}.bp-hello-content p{font-size:16px}.bp-hello-content ol,.bp-hello-content ul{list-style:inherit}.bp-hello-content h3{font-size:1.1em;font-weight:500}.bp-hello-social li a:before{color:#23282d;font:400 30px/.6 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-image:none!important}.bp-hello-social li a:hover:before{transition:all .1s ease-in-out;color:var(--bp-hello-color-primary)}.bp-hello-social li a.support:before{content:"\f448"}.bp-hello-social li a.twitter:before{content:"\f301"}div.dashicons{width:-webkit-fit-content;width:fit-content}div.dashicons.big{font-size:128px;display:block;color:var(--bp-hello-color-primary);height:128px;width:128px}#plugin-information-footer{display:flex;flex-wrap:wrap;padding:0 16px;height:auto}#plugin-information-footer .dashicons-heart{color:#be3631}.bp-hello-social-cta,.bp-hello-social-links{flex-basis:50%}.bp-hello-social-links ul{display:inline-block}.bp-hello-social li{position:relative;bottom:-5px;display:inline-block;list-style-type:none;margin-bottom:0}.bp-hello-social li:last-child a{margin-left:4px}#bp-hello-container{display:none}.bp-hello-content{padding:0 25px;padding-bottom:20px}#dynamic-content{padding-bottom:40px;display:none}#dynamic-content.show{display:block}.plugin-details-modal #TB_title{height:0;background:0 0;border:none}#TB_window.plugin-details-modal.thickbox-loading:before{z-index:10;margin-top:40px;background-color:none}.bp-hello-aligncenter *{margin:10px auto}.bp-hello-alignleft{float:left}.bp-hello-alignleft:after{content:"";clear:left}.bp-hello-alignright{float:right}.bp-hello-alignright:after{content:"";clear:right}.bp-hello-divider{clear:both;border:none;margin-bottom:20px}.bp-hello-social-cta{text-align:left}.bp-hello-social-links{text-align:right}.bp-hello-social li a{text-decoration:none}#plugin-information-title.with-banner{background-image:url(https://ps.w.org/buddypress/assets/banner-772x250.png)}.bp-hello-content{background-color:#fff}.bp-hello-content img{border-radius:2px;max-width:100%}.bp-hello-content iframe{width:100%}.bp-hello-content .bp-hello-alignleft img,.bp-hello-content .bp-hello-alignright img{max-width:200px}@media only screen and (min-width:1024px){.bp-hello-content{padding:0 30px 20px}.bp-hello-content p{font-size:14px}}@media only screen and (-webkit-min-device-pixel-ratio:1.5){#plugin-information-title.with-banner{background-image:url(https://ps.w.org/buddypress/assets/banner-1544x500.png)}}
|
bp-core/admin/js/hello.js
CHANGED
|
@@ -1,116 +1,108 @@
|
|
|
|
|
| 1 |
/**
|
| 2 |
* Loads for BuddyPress Hello in wp-admin for query string `hello=buddypress`.
|
| 3 |
*
|
| 4 |
* @since 3.0.0
|
| 5 |
*/
|
| 6 |
-
(function() {
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
var backdrop = document.getElementById( 'bp-hello-backdrop' ),
|
| 12 |
-
modal = document.getElementById( 'bp-hello-container' );
|
| 13 |
-
|
| 14 |
-
document.body.classList.add( 'bp-disable-scroll' );
|
| 15 |
-
|
| 16 |
-
// Show modal and overlay.
|
| 17 |
-
backdrop.style.display = '';
|
| 18 |
-
modal.style.display = '';
|
| 19 |
-
|
| 20 |
-
// Focus the "X" so bp_hello_handle_keyboard_events() works.
|
| 21 |
-
var focus_target = modal.querySelectorAll( 'a[href], button' );
|
| 22 |
-
focus_target = Array.prototype.slice.call( focus_target );
|
| 23 |
-
focus_target[0].focus();
|
| 24 |
-
|
| 25 |
-
// Events.
|
| 26 |
-
modal.addEventListener( 'keydown', bp_hello_handle_keyboard_events );
|
| 27 |
-
backdrop.addEventListener( 'click', bp_hello_close_modal );
|
| 28 |
-
};
|
| 29 |
|
| 30 |
/**
|
| 31 |
-
*
|
| 32 |
-
*
|
| 33 |
-
* @param {Event} event - A click event.
|
| 34 |
*/
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
return;
|
| 39 |
}
|
| 40 |
|
| 41 |
-
|
| 42 |
-
modal_close_click = event.target.classList.contains( 'close-modal' );
|
| 43 |
-
|
| 44 |
-
if ( ! modal_close_click && ! backdrop_click ) {
|
| 45 |
-
return;
|
| 46 |
-
}
|
| 47 |
|
| 48 |
-
|
| 49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
|
| 51 |
-
|
| 52 |
-
* Close the Hello modal.
|
| 53 |
-
*/
|
| 54 |
-
var bp_hello_close_modal = function() {
|
| 55 |
-
var backdrop = document.getElementById( 'bp-hello-backdrop' ),
|
| 56 |
-
modal = document.getElementById( 'bp-hello-container' );
|
| 57 |
-
|
| 58 |
-
document.body.classList.remove( 'bp-disable-scroll' );
|
| 59 |
-
|
| 60 |
-
// Remove modal and overlay.
|
| 61 |
-
modal.parentNode.removeChild( modal );
|
| 62 |
-
backdrop.parentNode.removeChild( backdrop );
|
| 63 |
};
|
| 64 |
|
| 65 |
/**
|
| 66 |
-
*
|
| 67 |
*
|
| 68 |
-
* @param {
|
| 69 |
*/
|
| 70 |
-
var
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
modal.querySelectorAll( 'a[href], button' )
|
| 74 |
-
),
|
| 75 |
-
first_tab_stop = focus_targets[0],
|
| 76 |
-
last_tab_stop = focus_targets[ focus_targets.length - 1 ];
|
| 77 |
-
|
| 78 |
-
// Check for TAB key press.
|
| 79 |
-
if ( event.keyCode !== 9 ) {
|
| 80 |
-
return;
|
| 81 |
}
|
| 82 |
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
event.preventDefault();
|
| 91 |
-
first_tab_stop.focus();
|
| 92 |
-
}
|
| 93 |
};
|
| 94 |
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
if (
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
}
|
| 108 |
-
}
|
| 109 |
|
| 110 |
// Init modal after the screen's loaded.
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
}
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
}());
|
| 1 |
+
/* global bpHelloStrings */
|
| 2 |
/**
|
| 3 |
* Loads for BuddyPress Hello in wp-admin for query string `hello=buddypress`.
|
| 4 |
*
|
| 5 |
* @since 3.0.0
|
| 6 |
*/
|
| 7 |
+
(function( $, bp ) {
|
| 8 |
+
// Bail if not set
|
| 9 |
+
if ( typeof bpHelloStrings === 'undefined' ) {
|
| 10 |
+
return;
|
| 11 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
/**
|
| 14 |
+
* Open the BuddyPress Hello modal.
|
|
|
|
|
|
|
| 15 |
*/
|
| 16 |
+
var bpHelloOpenModal = function() {
|
| 17 |
+
if ( 'function' !== typeof window.tb_show ) {
|
| 18 |
+
return false;
|
|
|
|
| 19 |
}
|
| 20 |
|
| 21 |
+
window.tb_show( 'BuddyPress', '#TB_inline?inlineId=bp-hello-container' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
+
$( '#TB_window' ).attr( {
|
| 24 |
+
'role': 'dialog',
|
| 25 |
+
'aria-label': bpHelloStrings.modalLabel
|
| 26 |
+
} )
|
| 27 |
+
.addClass( 'plugin-details-modal' )
|
| 28 |
+
.removeClass( 'thickbox-loading' );
|
| 29 |
|
| 30 |
+
$( '#TB_ajaxContent' ).prop( 'style', 'height: 100%; width: auto; padding: 0; border: none;' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
};
|
| 32 |
|
| 33 |
/**
|
| 34 |
+
* Prints an error message.
|
| 35 |
*
|
| 36 |
+
* @param {string} message The error message to display.
|
| 37 |
*/
|
| 38 |
+
var printErrorMessage = function( message ) {
|
| 39 |
+
if ( ! message ) {
|
| 40 |
+
message = bpHelloStrings.pageNotFound;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
}
|
| 42 |
|
| 43 |
+
$( '#dynamic-content' ).html(
|
| 44 |
+
$('<div></div>' ).prop( 'id', 'message' )
|
| 45 |
+
.addClass( 'notice notice-error error' )
|
| 46 |
+
.html(
|
| 47 |
+
$( '<p></p>' ).html( message )
|
| 48 |
+
)
|
| 49 |
+
);
|
|
|
|
|
|
|
|
|
|
| 50 |
};
|
| 51 |
|
| 52 |
+
// Listen to Tab Menu clicks to display the different screens.
|
| 53 |
+
$( '#plugin-information-tabs').on( 'click', 'a', function( event ) {
|
| 54 |
+
event.preventDefault();
|
| 55 |
+
|
| 56 |
+
var anchor = $( event.currentTarget ), target = $( '#dynamic-content' );
|
| 57 |
+
|
| 58 |
+
if ( anchor.hasClass( 'dynamic' ) ) {
|
| 59 |
+
$( '#top-features' ).hide();
|
| 60 |
+
target.html( '' );
|
| 61 |
+
target.addClass( 'show' );
|
| 62 |
+
|
| 63 |
+
$( '#TB_window' ).addClass( 'thickbox-loading' );
|
| 64 |
+
|
| 65 |
+
bp.apiRequest( {
|
| 66 |
+
url: anchor.data( 'endpoint' ),
|
| 67 |
+
type: 'GET',
|
| 68 |
+
beforeSend: function( xhr, settings ) {
|
| 69 |
+
settings.url = settings.url.replace( '&_wpnonce=none', '' );
|
| 70 |
+
},
|
| 71 |
+
data: {
|
| 72 |
+
context: 'view',
|
| 73 |
+
slug: anchor.data( 'slug' ),
|
| 74 |
+
_wpnonce: 'none'
|
| 75 |
+
}
|
| 76 |
+
} ).done( function( data ) {
|
| 77 |
+
var page = _.first( data );
|
| 78 |
+
|
| 79 |
+
if ( page && page.content ) {
|
| 80 |
+
target.html( page.content.rendered );
|
| 81 |
+
} else {
|
| 82 |
+
printErrorMessage();
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
} ).fail( function( error ) {
|
| 86 |
+
if ( ! error || ! error.message ) {
|
| 87 |
+
return false;
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
printErrorMessage( error.message );
|
| 91 |
+
|
| 92 |
+
} ).always( function() {
|
| 93 |
+
$( '#TB_window' ).removeClass( 'thickbox-loading' );
|
| 94 |
+
} );
|
| 95 |
+
|
| 96 |
+
} else {
|
| 97 |
+
$( '#top-features' ).show();
|
| 98 |
+
target.html( '' );
|
| 99 |
+
target.removeClass( 'show' );
|
| 100 |
}
|
| 101 |
+
} );
|
| 102 |
|
| 103 |
// Init modal after the screen's loaded.
|
| 104 |
+
$( document ).ready( function() {
|
| 105 |
+
bpHelloOpenModal();
|
| 106 |
+
} );
|
| 107 |
+
|
| 108 |
+
}( jQuery, window.bp || {} ) );
|
|
|
bp-core/admin/js/hello.min.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
!function(){var
|
| 1 |
+
!function(n,e){if("undefined"!=typeof bpHelloStrings){var o=function(){if("function"!=typeof window.tb_show)return!1;window.tb_show("BuddyPress","#TB_inline?inlineId=bp-hello-container"),n("#TB_window").attr({role:"dialog","aria-label":bpHelloStrings.modalLabel}).addClass("plugin-details-modal").removeClass("thickbox-loading"),n("#TB_ajaxContent").prop("style","height: 100%; width: auto; padding: 0; border: none;")},t=function(e){e||(e=bpHelloStrings.pageNotFound),n("#dynamic-content").html(n("<div></div>").prop("id","message").addClass("notice notice-error error").html(n("<p></p>").html(e)))};n("#plugin-information-tabs").on("click","a",function(o){o.preventDefault();var a=n(o.currentTarget),i=n("#dynamic-content");a.hasClass("dynamic")?(n("#top-features").hide(),i.html(""),i.addClass("show"),n("#TB_window").addClass("thickbox-loading"),e.apiRequest({url:a.data("endpoint"),type:"GET",beforeSend:function(n,e){e.url=e.url.replace("&_wpnonce=none","")},data:{context:"view",slug:a.data("slug"),_wpnonce:"none"}}).done(function(n){var e=_.first(n);e&&e.content?i.html(e.content.rendered):t()}).fail(function(n){if(!n||!n.message)return!1;t(n.message)}).always(function(){n("#TB_window").removeClass("thickbox-loading")})):(n("#top-features").show(),i.html(""),i.removeClass("show"))}),n(document).ready(function(){o()})}}(jQuery,window.bp||{});
|
bp-core/admin/sass/hello.scss
CHANGED
|
@@ -9,15 +9,12 @@ TABLE OF CONTENTS:
|
|
| 9 |
1.0 - Typography and colour
|
| 10 |
2.0 - Dashicons
|
| 11 |
3.0 - Elements
|
| 12 |
-
3.1 -
|
| 13 |
-
3.2 - Modal
|
| 14 |
-
3.3 - Modal header
|
| 15 |
-
3.4 - Modal content
|
| 16 |
4.0 - Content styles
|
| 17 |
-
4.1 -
|
| 18 |
-
4.2 -
|
| 19 |
-
4.3 -
|
| 20 |
-
4.4 - Content content
|
| 21 |
5.0 - Media
|
| 22 |
6.0 - Media Queries
|
| 23 |
6.1 - Desktop Medium
|
|
@@ -33,67 +30,26 @@ TABLE OF CONTENTS:
|
|
| 33 |
--bp-hello-container-size: 15%;
|
| 34 |
}
|
| 35 |
|
| 36 |
-
#bp-hello-container {
|
| 37 |
-
|
| 38 |
-
a {
|
| 39 |
-
color: var(--bp-hello-color-primary);
|
| 40 |
-
|
| 41 |
-
&:hover {
|
| 42 |
-
-webkit-transition: all 0.1s ease-in-out;
|
| 43 |
-
-o-transition: all 0.1s ease-in-out;
|
| 44 |
-
transition: all 0.1s ease-in-out;
|
| 45 |
-
color: rgb(0, 0, 0);
|
| 46 |
-
}
|
| 47 |
-
}
|
| 48 |
-
|
| 49 |
-
.bp-hello-header {
|
| 50 |
-
|
| 51 |
-
h1 {
|
| 52 |
-
line-height: 1.7;
|
| 53 |
-
font-size: 21px;
|
| 54 |
-
font-weight: 400;
|
| 55 |
-
}
|
| 56 |
-
}
|
| 57 |
-
}
|
| 58 |
-
|
| 59 |
.bp-hello-content {
|
| 60 |
|
| 61 |
p {
|
| 62 |
font-size: 16px;
|
| 63 |
}
|
| 64 |
-
}
|
| 65 |
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
.bp-hello-close {
|
| 70 |
-
|
| 71 |
-
.button {
|
| 72 |
-
padding: 5px !important;
|
| 73 |
}
|
| 74 |
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
content: "\f158";
|
| 79 |
-
color: #23282d; /* wp toolbar */
|
| 80 |
-
font: 400 1.5em/1 dashicons;
|
| 81 |
-
speak: none;
|
| 82 |
-
-webkit-font-smoothing: antialiased;
|
| 83 |
-
-moz-osx-font-smoothing: grayscale;
|
| 84 |
-
background-image: none !important;
|
| 85 |
-
}
|
| 86 |
-
|
| 87 |
-
&:focus:before,
|
| 88 |
-
&:hover:before {
|
| 89 |
-
-webkit-transition: all 0.1s ease-in-out;
|
| 90 |
-
-o-transition: all 0.1s ease-in-out;
|
| 91 |
-
transition: all 0.1s ease-in-out;
|
| 92 |
-
color: var(--bp-hello-color-primary);
|
| 93 |
-
}
|
| 94 |
}
|
| 95 |
}
|
| 96 |
|
|
|
|
|
|
|
|
|
|
| 97 |
.bp-hello-social {
|
| 98 |
|
| 99 |
li a {
|
|
@@ -124,47 +80,36 @@ TABLE OF CONTENTS:
|
|
| 124 |
}
|
| 125 |
}
|
| 126 |
|
| 127 |
-
|
| 128 |
-
* 3.0 - Elements
|
| 129 |
-
*----------------------------------------------------------------------------*/
|
| 130 |
-
|
| 131 |
-
/*
|
| 132 |
-
* 3.1 - Backdrop and container
|
| 133 |
-
*/
|
| 134 |
-
#bp-hello-backdrop {
|
| 135 |
-
position: fixed;
|
| 136 |
-
top: 0;
|
| 137 |
-
left: 0;
|
| 138 |
-
right: 0;
|
| 139 |
-
bottom: 0;
|
| 140 |
-
z-index: 9998;
|
| 141 |
|
| 142 |
-
|
| 143 |
-
}
|
| 144 |
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
|
|
|
|
|
|
| 150 |
}
|
| 151 |
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
|
| 156 |
/*
|
| 157 |
-
* 3.
|
| 158 |
*/
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
display: -ms-flexbox;
|
| 162 |
display: flex;
|
| 163 |
-
-ms-flex-wrap: wrap;
|
| 164 |
flex-wrap: wrap;
|
|
|
|
|
|
|
| 165 |
|
| 166 |
-
|
| 167 |
-
|
|
|
|
| 168 |
}
|
| 169 |
|
| 170 |
.bp-hello-social-cta,
|
|
@@ -196,57 +141,74 @@ TABLE OF CONTENTS:
|
|
| 196 |
}
|
| 197 |
|
| 198 |
/*
|
| 199 |
-
* 3.
|
| 200 |
*/
|
| 201 |
-
|
| 202 |
-
|
| 203 |
-
|
| 204 |
}
|
| 205 |
|
| 206 |
-
/*
|
| 207 |
-
* 3.4 - Modal content
|
| 208 |
-
*/
|
| 209 |
.bp-hello-content {
|
| 210 |
padding: 0 25px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 211 |
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
-webkit-overflow-scrolling: touch;
|
| 216 |
}
|
| 217 |
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
|
|
|
|
|
|
| 221 |
|
| 222 |
-
/*
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
background-color: rgba(0, 0, 0, 0.8);
|
| 227 |
-
-webkit-transition: opacity 0.15s ease-out;
|
| 228 |
-
-o-transition: opacity 0.15s ease-out;
|
| 229 |
-
transition: opacity 0.15s ease-out;
|
| 230 |
}
|
| 231 |
|
| 232 |
-
|
| 233 |
-
|
| 234 |
}
|
| 235 |
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
*/
|
| 239 |
-
.bp-hello-footer {
|
| 240 |
-
border-radius: 0 0 3px 3px;
|
| 241 |
-
background-color: rgb(255, 255, 255);
|
| 242 |
-
border-top: 1px solid var(--bp-hello-color-secondary);
|
| 243 |
-
padding: 6px 25px;
|
| 244 |
|
| 245 |
-
|
| 246 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 247 |
}
|
| 248 |
}
|
| 249 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 250 |
.bp-hello-social-cta {
|
| 251 |
text-align: left;
|
| 252 |
}
|
|
@@ -266,36 +228,14 @@ TABLE OF CONTENTS:
|
|
| 266 |
}
|
| 267 |
|
| 268 |
/*
|
| 269 |
-
* 4.
|
| 270 |
*/
|
| 271 |
-
.
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
h1 {
|
| 275 |
-
width: calc(100% - 51px); // Approx. width of "X" button block.
|
| 276 |
-
}
|
| 277 |
-
}
|
| 278 |
-
|
| 279 |
-
#bp-hello-container {
|
| 280 |
-
|
| 281 |
-
.bp-hello-header {
|
| 282 |
-
border-bottom: 1px solid var(--bp-hello-color-secondary);
|
| 283 |
-
}
|
| 284 |
-
}
|
| 285 |
-
|
| 286 |
-
.bp-hello-title {
|
| 287 |
-
text-align: left;
|
| 288 |
-
}
|
| 289 |
-
|
| 290 |
-
.bp-hello-close {
|
| 291 |
-
position: absolute;
|
| 292 |
-
top: 20px;
|
| 293 |
-
right: 25px;
|
| 294 |
-
text-align: right;
|
| 295 |
}
|
| 296 |
|
| 297 |
/*
|
| 298 |
-
* 4.
|
| 299 |
*/
|
| 300 |
.bp-hello-content {
|
| 301 |
background-color: rgb(255, 255, 255);
|
|
@@ -314,6 +254,11 @@ TABLE OF CONTENTS:
|
|
| 314 |
iframe {
|
| 315 |
width: 100%;
|
| 316 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 317 |
}
|
| 318 |
|
| 319 |
/*------------------------------------------------------------------------------
|
|
@@ -325,75 +270,21 @@ TABLE OF CONTENTS:
|
|
| 325 |
*/
|
| 326 |
@media only screen and (min-width: 1024px) {
|
| 327 |
|
| 328 |
-
#bp-hello-backdrop {
|
| 329 |
-
display: block;
|
| 330 |
-
}
|
| 331 |
-
|
| 332 |
-
#bp-hello-container {
|
| 333 |
-
position: fixed;
|
| 334 |
-
top: 60px;
|
| 335 |
-
left: var(--bp-hello-container-size);
|
| 336 |
-
right: var(--bp-hello-container-size);
|
| 337 |
-
bottom: 30px;
|
| 338 |
-
z-index: 9999;
|
| 339 |
-
|
| 340 |
-
border-radius: 3px;
|
| 341 |
-
|
| 342 |
-
.bp-hello-header {
|
| 343 |
-
|
| 344 |
-
h1 {
|
| 345 |
-
line-height: inherit;
|
| 346 |
-
}
|
| 347 |
-
}
|
| 348 |
-
}
|
| 349 |
-
|
| 350 |
-
.bp-hello-header {
|
| 351 |
-
height: auto;
|
| 352 |
-
max-height: inherit;
|
| 353 |
-
padding: 6px 30px;
|
| 354 |
-
}
|
| 355 |
-
|
| 356 |
-
.bp-hello-close {
|
| 357 |
-
right: 30px;
|
| 358 |
-
|
| 359 |
-
.close-modal:before {
|
| 360 |
-
line-height: 0.7;
|
| 361 |
-
}
|
| 362 |
-
}
|
| 363 |
-
|
| 364 |
-
.bp-hello-footer {
|
| 365 |
-
position: fixed; // Fixed position above "content" div.
|
| 366 |
-
left: var(--bp-hello-container-size);
|
| 367 |
-
right: var(--bp-hello-container-size);
|
| 368 |
-
bottom: 30px;
|
| 369 |
-
z-index: 10000; // See #bp-hello-backdrop
|
| 370 |
-
|
| 371 |
-
height: auto;
|
| 372 |
-
max-height: inherit;
|
| 373 |
-
|
| 374 |
-
padding: 6px 30px;
|
| 375 |
-
}
|
| 376 |
-
|
| 377 |
.bp-hello-content {
|
| 378 |
-
|
| 379 |
-
|
| 380 |
-
padding: 0 30px;
|
| 381 |
|
| 382 |
-
|
| 383 |
-
|
| 384 |
-
}
|
| 385 |
}
|
| 386 |
}
|
| 387 |
|
| 388 |
/**
|
| 389 |
* 6.2 - Desktop Large
|
| 390 |
*/
|
| 391 |
-
@media screen and (min-
|
| 392 |
|
| 393 |
-
#
|
| 394 |
-
|
| 395 |
-
// Approx. max-width of modal at Desktop Medium size.
|
| 396 |
-
left: calc((100% - 896px) / 2);
|
| 397 |
-
right: calc((100% - 896px) / 2);
|
| 398 |
}
|
| 399 |
}
|
| 9 |
1.0 - Typography and colour
|
| 10 |
2.0 - Dashicons
|
| 11 |
3.0 - Elements
|
| 12 |
+
3.1 - Modal footer
|
| 13 |
+
3.2 - Modal content
|
|
|
|
|
|
|
| 14 |
4.0 - Content styles
|
| 15 |
+
4.1 - Footer content
|
| 16 |
+
4.2 - Header content
|
| 17 |
+
4.3 - Content content
|
|
|
|
| 18 |
5.0 - Media
|
| 19 |
6.0 - Media Queries
|
| 20 |
6.1 - Desktop Medium
|
| 30 |
--bp-hello-container-size: 15%;
|
| 31 |
}
|
| 32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
.bp-hello-content {
|
| 34 |
|
| 35 |
p {
|
| 36 |
font-size: 16px;
|
| 37 |
}
|
|
|
|
| 38 |
|
| 39 |
+
ul,
|
| 40 |
+
ol {
|
| 41 |
+
list-style: inherit;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
}
|
| 43 |
|
| 44 |
+
h3 {
|
| 45 |
+
font-size: 1.1em;
|
| 46 |
+
font-weight: 500;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
}
|
| 48 |
}
|
| 49 |
|
| 50 |
+
/*------------------------------------------------------------------------------
|
| 51 |
+
* 2.0 - Dashicons
|
| 52 |
+
*----------------------------------------------------------------------------*/
|
| 53 |
.bp-hello-social {
|
| 54 |
|
| 55 |
li a {
|
| 80 |
}
|
| 81 |
}
|
| 82 |
|
| 83 |
+
div.dashicons {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
|
| 85 |
+
width: fit-content;
|
|
|
|
| 86 |
|
| 87 |
+
&.big {
|
| 88 |
+
font-size: 128px;
|
| 89 |
+
display: block;
|
| 90 |
+
color: var(--bp-hello-color-primary);
|
| 91 |
+
height: 128px;
|
| 92 |
+
width: 128px;
|
| 93 |
+
}
|
| 94 |
}
|
| 95 |
|
| 96 |
+
/*------------------------------------------------------------------------------
|
| 97 |
+
* 3.0 - Elements
|
| 98 |
+
*----------------------------------------------------------------------------*/
|
| 99 |
|
| 100 |
/*
|
| 101 |
+
* 3.1 - Modal footer
|
| 102 |
*/
|
| 103 |
+
#plugin-information-footer {
|
| 104 |
+
|
|
|
|
| 105 |
display: flex;
|
|
|
|
| 106 |
flex-wrap: wrap;
|
| 107 |
+
padding: 0 16px;
|
| 108 |
+
height: auto;
|
| 109 |
|
| 110 |
+
.dashicons-heart {
|
| 111 |
+
color: #be3631;
|
| 112 |
+
}
|
| 113 |
}
|
| 114 |
|
| 115 |
.bp-hello-social-cta,
|
| 141 |
}
|
| 142 |
|
| 143 |
/*
|
| 144 |
+
* 3.2 - Modal content
|
| 145 |
*/
|
| 146 |
+
|
| 147 |
+
#bp-hello-container {
|
| 148 |
+
display: none;
|
| 149 |
}
|
| 150 |
|
|
|
|
|
|
|
|
|
|
| 151 |
.bp-hello-content {
|
| 152 |
padding: 0 25px;
|
| 153 |
+
padding-bottom: 20px;
|
| 154 |
+
}
|
| 155 |
+
|
| 156 |
+
#dynamic-content {
|
| 157 |
+
padding-bottom: 40px;
|
| 158 |
+
display: none;
|
| 159 |
|
| 160 |
+
&.show {
|
| 161 |
+
display: block;
|
| 162 |
+
}
|
|
|
|
| 163 |
}
|
| 164 |
|
| 165 |
+
.plugin-details-modal #TB_title { /* stylelint-disable-line */
|
| 166 |
+
height: 0;
|
| 167 |
+
background: none;
|
| 168 |
+
border: none;
|
| 169 |
+
}
|
| 170 |
|
| 171 |
+
#TB_window.plugin-details-modal.thickbox-loading:before { /* stylelint-disable-line */
|
| 172 |
+
z-index: 10;
|
| 173 |
+
margin-top: 40px;
|
| 174 |
+
background-color: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 175 |
}
|
| 176 |
|
| 177 |
+
.bp-hello-aligncenter * {
|
| 178 |
+
margin: 10px auto;
|
| 179 |
}
|
| 180 |
|
| 181 |
+
.bp-hello-alignleft {
|
| 182 |
+
float: left;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 183 |
|
| 184 |
+
&:after {
|
| 185 |
+
content: "";
|
| 186 |
+
clear: left;
|
| 187 |
+
}
|
| 188 |
+
}
|
| 189 |
+
|
| 190 |
+
.bp-hello-alignright {
|
| 191 |
+
float: right;
|
| 192 |
+
|
| 193 |
+
&:after {
|
| 194 |
+
content: "";
|
| 195 |
+
clear: right;
|
| 196 |
}
|
| 197 |
}
|
| 198 |
|
| 199 |
+
.bp-hello-divider {
|
| 200 |
+
clear: both;
|
| 201 |
+
border: none;
|
| 202 |
+
margin-bottom: 20px;
|
| 203 |
+
}
|
| 204 |
+
|
| 205 |
+
/*------------------------------------------------------------------------------
|
| 206 |
+
* 4.0 - Content styles
|
| 207 |
+
*----------------------------------------------------------------------------*/
|
| 208 |
+
|
| 209 |
+
/*
|
| 210 |
+
* 4.1 - Footer content
|
| 211 |
+
*/
|
| 212 |
.bp-hello-social-cta {
|
| 213 |
text-align: left;
|
| 214 |
}
|
| 228 |
}
|
| 229 |
|
| 230 |
/*
|
| 231 |
+
* 4.2 - Header content
|
| 232 |
*/
|
| 233 |
+
#plugin-information-title.with-banner {
|
| 234 |
+
background-image: url(https://ps.w.org/buddypress/assets/banner-772x250.png);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 235 |
}
|
| 236 |
|
| 237 |
/*
|
| 238 |
+
* 4.3 - Content content
|
| 239 |
*/
|
| 240 |
.bp-hello-content {
|
| 241 |
background-color: rgb(255, 255, 255);
|
| 254 |
iframe {
|
| 255 |
width: 100%;
|
| 256 |
}
|
| 257 |
+
|
| 258 |
+
.bp-hello-alignleft img,
|
| 259 |
+
.bp-hello-alignright img {
|
| 260 |
+
max-width: 200px;
|
| 261 |
+
}
|
| 262 |
}
|
| 263 |
|
| 264 |
/*------------------------------------------------------------------------------
|
| 270 |
*/
|
| 271 |
@media only screen and (min-width: 1024px) {
|
| 272 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 273 |
.bp-hello-content {
|
| 274 |
+
padding: 0 30px 20px;
|
| 275 |
+
}
|
|
|
|
| 276 |
|
| 277 |
+
.bp-hello-content p {
|
| 278 |
+
font-size: 14px;
|
|
|
|
| 279 |
}
|
| 280 |
}
|
| 281 |
|
| 282 |
/**
|
| 283 |
* 6.2 - Desktop Large
|
| 284 |
*/
|
| 285 |
+
@media only screen and ( -webkit-min-device-pixel-ratio: 1.5 ) {
|
| 286 |
|
| 287 |
+
#plugin-information-title.with-banner {
|
| 288 |
+
background-image: url(https://ps.w.org/buddypress/assets/banner-1544x500.png);
|
|
|
|
|
|
|
|
|
|
| 289 |
}
|
| 290 |
}
|
bp-core/classes/class-bp-admin.php
CHANGED
|
@@ -536,17 +536,21 @@ class BP_Admin {
|
|
| 536 |
public function enqueue_scripts() {
|
| 537 |
wp_enqueue_style( 'bp-admin-common-css' );
|
| 538 |
|
| 539 |
-
// BuddyPress Hello
|
| 540 |
if ( 0 === strpos( get_current_screen()->id, 'dashboard' ) && ! empty( $_GET['hello'] ) && $_GET['hello'] === 'buddypress' ) {
|
| 541 |
wp_enqueue_style( 'bp-hello-css' );
|
| 542 |
wp_enqueue_script( 'bp-hello-js' );
|
|
|
|
|
|
|
|
|
|
|
|
|
| 543 |
}
|
| 544 |
}
|
| 545 |
|
| 546 |
/**
|
| 547 |
* Registers BuddyPress's suggested privacy policy language.
|
| 548 |
*
|
| 549 |
-
* @since
|
| 550 |
*/
|
| 551 |
public function add_privacy_policy_content() {
|
| 552 |
// Nothing to do if we're running < WP 4.9.6.
|
|
@@ -617,76 +621,161 @@ class BP_Admin {
|
|
| 617 |
if ( 0 !== strpos( get_current_screen()->id, 'dashboard' ) || empty( $_GET['hello'] ) || $_GET['hello'] !== 'buddypress' ) {
|
| 618 |
return;
|
| 619 |
}
|
| 620 |
-
?>
|
| 621 |
|
| 622 |
-
|
| 623 |
-
|
|
|
|
|
|
|
| 624 |
|
| 625 |
-
<div id="bp-hello-container"
|
| 626 |
-
<div
|
| 627 |
-
<div class="
|
| 628 |
-
<
|
| 629 |
-
|
| 630 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 631 |
</div>
|
| 632 |
-
|
| 633 |
-
|
| 634 |
-
<
|
|
|
|
| 635 |
</div>
|
| 636 |
-
</div>
|
| 637 |
|
| 638 |
-
|
| 639 |
-
|
| 640 |
-
|
| 641 |
-
|
| 642 |
-
|
| 643 |
-
|
| 644 |
-
|
| 645 |
-
|
| 646 |
-
|
| 647 |
-
|
| 648 |
-
|
| 649 |
-
|
| 650 |
-
|
| 651 |
-
|
| 652 |
-
|
| 653 |
-
|
| 654 |
-
|
| 655 |
-
|
| 656 |
-
|
| 657 |
-
|
| 658 |
-
|
| 659 |
-
|
| 660 |
-
|
| 661 |
-
|
| 662 |
-
|
| 663 |
-
|
| 664 |
-
|
| 665 |
-
|
| 666 |
-
|
| 667 |
-
|
| 668 |
-
|
| 669 |
-
|
| 670 |
-
|
| 671 |
-
|
| 672 |
-
|
| 673 |
-
|
| 674 |
-
|
| 675 |
-
|
| 676 |
-
|
| 677 |
-
|
| 678 |
-
|
| 679 |
-
|
| 680 |
-
|
| 681 |
-
|
| 682 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 683 |
|
| 684 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 685 |
<div class="bp-hello-social-cta">
|
| 686 |
<p>
|
| 687 |
<?php
|
| 688 |
printf(
|
| 689 |
-
_n( 'Built by <a href="%s">%
|
|
|
|
| 690 |
esc_url( bp_get_admin_url( 'admin.php?page=bp-credits' ) ),
|
| 691 |
number_format_i18n( 35 )
|
| 692 |
);
|
|
@@ -1097,7 +1186,7 @@ class BP_Admin {
|
|
| 1097 |
// 3.0
|
| 1098 |
'bp-hello-css' => array(
|
| 1099 |
'file' => "{$url}hello{$min}.css",
|
| 1100 |
-
'dependencies' => array( 'bp-admin-common-css' ),
|
| 1101 |
),
|
| 1102 |
) );
|
| 1103 |
|
|
@@ -1140,7 +1229,7 @@ class BP_Admin {
|
|
| 1140 |
// 3.0
|
| 1141 |
'bp-hello-js' => array(
|
| 1142 |
'file' => "{$url}hello{$min}.js",
|
| 1143 |
-
'dependencies' => array(),
|
| 1144 |
'footer' => true,
|
| 1145 |
),
|
| 1146 |
) );
|
| 536 |
public function enqueue_scripts() {
|
| 537 |
wp_enqueue_style( 'bp-admin-common-css' );
|
| 538 |
|
| 539 |
+
// BuddyPress Hello.
|
| 540 |
if ( 0 === strpos( get_current_screen()->id, 'dashboard' ) && ! empty( $_GET['hello'] ) && $_GET['hello'] === 'buddypress' ) {
|
| 541 |
wp_enqueue_style( 'bp-hello-css' );
|
| 542 |
wp_enqueue_script( 'bp-hello-js' );
|
| 543 |
+
wp_localize_script( 'bp-hello-js', 'bpHelloStrings', array(
|
| 544 |
+
'pageNotFound' => __( 'Sorry, the page you requested was not found.', 'buddypress' ),
|
| 545 |
+
'modalLabel' => __( 'Hello BuddyPress', 'buddypress' ),
|
| 546 |
+
) );
|
| 547 |
}
|
| 548 |
}
|
| 549 |
|
| 550 |
/**
|
| 551 |
* Registers BuddyPress's suggested privacy policy language.
|
| 552 |
*
|
| 553 |
+
* @since 4.0.0
|
| 554 |
*/
|
| 555 |
public function add_privacy_policy_content() {
|
| 556 |
// Nothing to do if we're running < WP 4.9.6.
|
| 621 |
if ( 0 !== strpos( get_current_screen()->id, 'dashboard' ) || empty( $_GET['hello'] ) || $_GET['hello'] !== 'buddypress' ) {
|
| 622 |
return;
|
| 623 |
}
|
|
|
|
| 624 |
|
| 625 |
+
// Get BuddyPress stable version.
|
| 626 |
+
$version = preg_replace( '/-.*/', '', bp_get_version() );
|
| 627 |
+
$version_slug = 'version-' . str_replace( '.', '-', $version );
|
| 628 |
+
?>
|
| 629 |
|
| 630 |
+
<div id="bp-hello-container">
|
| 631 |
+
<div id="plugin-information-scrollable">
|
| 632 |
+
<div id='plugin-information-title' class="with-banner">
|
| 633 |
+
<div class='vignette'></div>
|
| 634 |
+
<h2>
|
| 635 |
+
<?php printf(
|
| 636 |
+
/* translators: %s is the placehoder for the BuddyPress version number. */
|
| 637 |
+
esc_html__( 'BuddyPress %s', 'buddypress' ),
|
| 638 |
+
$version
|
| 639 |
+
); ?>
|
| 640 |
+
</h2>
|
| 641 |
</div>
|
| 642 |
+
<div id="plugin-information-tabs">
|
| 643 |
+
<a name="whats-new" href="#whats-new" class="current"><?php esc_html_e( 'What\'s new?', 'buddypress' ); ?></a>
|
| 644 |
+
<a name="changelog" href="#changelog" class="dynamic" data-slug="<?php echo esc_attr( $version_slug ); ?>" data-endpoint="https://codex.buddypress.org/wp-json/wp/v2/pages"><?php esc_html_e( 'Changelog', 'buddypress' ); ?></a>
|
| 645 |
+
<a name="get-involved" href="#get-involved" class="dynamic" data-slug="participate-and-contribute" data-endpoint="https://codex.buddypress.org/wp-json/wp/v2/pages"><?php esc_html_e( 'Get involved', 'buddypress' ); ?></a>
|
| 646 |
</div>
|
|
|
|
| 647 |
|
| 648 |
+
<div class="bp-hello-content">
|
| 649 |
+
<div id="dynamic-content"></div>
|
| 650 |
+
<div id="top-features">
|
| 651 |
+
<h2><?php esc_html_e( 'Introducing the BP REST API', 'buddypress' ); ?></h2>
|
| 652 |
+
<figure class="bp-hello-alignleft">
|
| 653 |
+
<div class="dashicons dashicons-rest-api big"></div>
|
| 654 |
+
</figure>
|
| 655 |
+
<p>
|
| 656 |
+
<?php esc_html_e( 'BuddyPress 5.0.0 comes with REST API endpoints for members, groups, activities, users, private messages, screen notifications and extended profiles.', 'buddypress' ); ?>
|
| 657 |
+
</p>
|
| 658 |
+
<p>
|
| 659 |
+
<?php esc_html_e( 'BuddyPress endpoints provide machine-readable external access to your WordPress site with a clear, standards-driven interface, paving the way for new and innovative methods of interacting with your community through plugins, themes, apps, and beyond.', 'buddypress' ); ?>
|
| 660 |
+
<?php printf(
|
| 661 |
+
/* translators: %s is the placehoder for the link to the BP REST API documentation site. */
|
| 662 |
+
esc_html__( 'Ready to get started with development? Check out the %s.', 'buddypress' ),
|
| 663 |
+
sprintf(
|
| 664 |
+
'<a href="%1$s">%2$s</a>',
|
| 665 |
+
esc_url( 'https://developer.buddypress.org/bp-rest-api/' ),
|
| 666 |
+
esc_html__( 'BP REST API reference', 'buddypress' )
|
| 667 |
+
)
|
| 668 |
+
); ?>
|
| 669 |
+
</p>
|
| 670 |
+
|
| 671 |
+
<hr class="bp-hello-divider"/>
|
| 672 |
+
|
| 673 |
+
<h2><?php esc_html_e( 'A new interface for managing group members.', 'buddypress' ); ?></h2>
|
| 674 |
+
<p>
|
| 675 |
+
<?php esc_html_e( 'The best way to show the power of the BP REST API is to start using it for one of our Core features.', 'buddypress' ); ?>
|
| 676 |
+
</p>
|
| 677 |
+
<figure class="bp-hello-aligncenter">
|
| 678 |
+
<img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/images/manage-members-interface.png' ); ?>" alt="<?php esc_attr_e( 'Screenshot of the Group Members management interface in the administration and on the front-end of your site.', 'buddypress' ); ?>" />
|
| 679 |
+
</figure>
|
| 680 |
+
<p>
|
| 681 |
+
<?php esc_html_e( 'Group administrators will love our new interface for managing group membership. Whether you\'re working as a group admin on the front-end Manage tab, or as the site admin on the Dashboard, the new REST API-based tools are faster, easier to use, and more consistent.', 'buddypress' ); ?>
|
| 682 |
+
</p>
|
| 683 |
+
|
| 684 |
+
<hr class="bp-hello-divider"/>
|
| 685 |
+
|
| 686 |
+
<h2><?php esc_html_e( 'Improved Group invites and membership requests.', 'buddypress' ); ?></h2>
|
| 687 |
+
<figure class="bp-hello-alignright">
|
| 688 |
+
<div class="dashicons dashicons-buddicons-groups big"></div>
|
| 689 |
+
</figure>
|
| 690 |
+
<p>
|
| 691 |
+
<?php esc_html_e( 'Thanks to the new BP Invitations API, Group invites and membership requests are now managed in a more consistent way.', 'buddypress' ); ?>
|
| 692 |
+
</p>
|
| 693 |
+
<p>
|
| 694 |
+
<?php esc_html_e( 'The BP Invitations API abstracts how these two actions are handled and allows developers to use them for any object on your site (e.g., Sites of a WordPress network).', 'buddypress' ); ?>
|
| 695 |
+
<?php printf(
|
| 696 |
+
/* translators: %s is the placehoder for the link to the BP Invitations API development note. */
|
| 697 |
+
esc_html__( 'Read more about the %s.', 'buddypress' ),
|
| 698 |
+
sprintf(
|
| 699 |
+
'<a href="%1$s">%2$s</a>',
|
| 700 |
+
esc_url( 'https://bpdevel.wordpress.com/2019/09/16/new-invitations-api-coming-in-buddypress-5-0/' ),
|
| 701 |
+
esc_html__( 'BP Invitations API', 'buddypress' )
|
| 702 |
+
)
|
| 703 |
+
); ?>
|
| 704 |
+
</p>
|
| 705 |
+
|
| 706 |
+
<hr class="bp-hello-divider"/>
|
| 707 |
+
|
| 708 |
+
<h2><?php esc_html_e( 'Help our support volunteers help you.', 'buddypress' ); ?></h2>
|
| 709 |
+
<p>
|
| 710 |
+
<?php esc_html_e( 'Knowing your WordPress and BuddyPress configuration is very important when one of our beloved support volunteers tries to help you fix an issue. That\'s why we added a BuddyPress section to the Site Health Info Administration screen.', 'buddypress' ); ?>
|
| 711 |
+
</p>
|
| 712 |
+
<figure class="bp-hello-aligncenter">
|
| 713 |
+
<img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/images/site-health-buddypress-section.png' ); ?>" alt="<?php esc_attr_e( 'Screenshot of the BuddyPress section of the Site Health Info Administration screen.', 'buddypress' ); ?>" />
|
| 714 |
+
</figure>
|
| 715 |
+
<p>
|
| 716 |
+
<?php esc_html_e( 'The panel is displayed at the bottom of the screen. It includes the BuddyPress version, active components, active template pack, and a list of other component-specific settings information.', 'buddypress' ); ?>
|
| 717 |
+
</p>
|
| 718 |
+
|
| 719 |
+
<hr class="bp-hello-divider"/>
|
| 720 |
+
|
| 721 |
+
<h2><?php esc_html_e( 'Improved integrations with WordPress', 'buddypress' ); ?></h2>
|
| 722 |
+
<figure class="bp-hello-aligncenter">
|
| 723 |
+
<img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/images/bp-nouveau-improvements.png' );?>" alt="<?php esc_attr_e( 'Screenshot of the BuddyPress members directory & Password control in Twenty Ninteen.', 'buddypress' ); ?>" />
|
| 724 |
+
</figure>
|
| 725 |
+
|
| 726 |
+
<p>
|
| 727 |
+
<?php esc_html_e( 'In BuddyPress 5.0.0, the BP Nouveau template pack looks better than ever with the Twenty Nineteen theme.', 'buddypress' ); ?>
|
| 728 |
+
<?php esc_html_e( 'Nouveau also now uses the same password control as the one used in WordPress Core, for better consistency between BuddyPress and WordPress spaces.', 'buddypress' ); ?>
|
| 729 |
+
</p>
|
| 730 |
+
|
| 731 |
+
<p>
|
| 732 |
+
<strong><?php esc_html_e( 'BuddyPress Blocks now have their own category into the Block Editor.', 'buddypress' ); ?></strong>
|
| 733 |
+
</p>
|
| 734 |
+
<figure class="bp-hello-aligncenter">
|
| 735 |
+
<img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/images/buddypress-blocks-category.png' ); ?>" alt="<?php esc_attr_e( 'Screenshot of the BuddyPress block category.', 'buddypress' ); ?>" />
|
| 736 |
+
</figure>
|
| 737 |
+
<p>
|
| 738 |
+
<?php esc_html_e( 'Developers building tools for the Block Editor can now add their blocks to the BuddyPress category. This change provides a foundation for organizing custom BuddyPress blocks.', 'buddypress' ); ?>
|
| 739 |
+
<?php printf(
|
| 740 |
+
/* translators: %s is the placehoder for the link to the blocks category development note. */
|
| 741 |
+
esc_html__( 'Read more about this feature in the %s.', 'buddypress' ),
|
| 742 |
+
sprintf(
|
| 743 |
+
'<a href="%1$s">%2$s</a>',
|
| 744 |
+
esc_url( 'https://bpdevel.wordpress.com/2019/07/31/a-category-to-store-your-buddypress-blocks/' ),
|
| 745 |
+
esc_html__( 'development note', 'buddypress' )
|
| 746 |
+
)
|
| 747 |
+
); ?>
|
| 748 |
+
</p>
|
| 749 |
+
|
| 750 |
+
<hr class="bp-hello-divider"/>
|
| 751 |
+
|
| 752 |
+
<h2><?php echo esc_html( _x( 'Your feedback', 'screen heading', 'buddypress' ) ); ?></h2>
|
| 753 |
+
<p>
|
| 754 |
+
<?php
|
| 755 |
+
printf(
|
| 756 |
+
/* translators: %s is the placehoder for the link to BuddyPress support forums. */
|
| 757 |
+
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' ),
|
| 758 |
+
sprintf(
|
| 759 |
+
'<a href="%1$s">%2$s</a>',
|
| 760 |
+
esc_url( 'https://buddypress.org/support/' ),
|
| 761 |
+
esc_html__( 'share your feedback', 'buddypress' )
|
| 762 |
+
)
|
| 763 |
+
);
|
| 764 |
+
?>
|
| 765 |
+
</p>
|
| 766 |
+
<p><?php esc_html_e( 'Thank you for using BuddyPress! 😊', 'buddypress' ); ?></p>
|
| 767 |
|
| 768 |
+
<br /><br />
|
| 769 |
+
</div>
|
| 770 |
+
</div>
|
| 771 |
+
</div>
|
| 772 |
+
<div id="plugin-information-footer">
|
| 773 |
<div class="bp-hello-social-cta">
|
| 774 |
<p>
|
| 775 |
<?php
|
| 776 |
printf(
|
| 777 |
+
_n( 'Built with %1$s by <a href="%2$s">%3$d volunteer</a>.', 'Built with %1$s by <a href="%2$s">%3$d volunteers</a>.', 35, 'buddypress' ),
|
| 778 |
+
'<span class="dashicons dashicons-heart"></span>',
|
| 779 |
esc_url( bp_get_admin_url( 'admin.php?page=bp-credits' ) ),
|
| 780 |
number_format_i18n( 35 )
|
| 781 |
);
|
| 1186 |
// 3.0
|
| 1187 |
'bp-hello-css' => array(
|
| 1188 |
'file' => "{$url}hello{$min}.css",
|
| 1189 |
+
'dependencies' => array( 'bp-admin-common-css', 'thickbox' ),
|
| 1190 |
),
|
| 1191 |
) );
|
| 1192 |
|
| 1229 |
// 3.0
|
| 1230 |
'bp-hello-js' => array(
|
| 1231 |
'file' => "{$url}hello{$min}.js",
|
| 1232 |
+
'dependencies' => array( 'thickbox', 'bp-api-request' ),
|
| 1233 |
'footer' => true,
|
| 1234 |
),
|
| 1235 |
) );
|
bp-core/images/bp-nouveau-improvements.png
ADDED
|
Binary file
|
bp-core/images/buddypress-blocks-category.png
ADDED
|
Binary file
|
bp-core/images/data-export.png
DELETED
|
Binary file
|
bp-core/images/manage-members-interface.png
ADDED
|
Binary file
|
bp-core/images/site-health-buddypress-section.png
ADDED
|
Binary file
|
bp-friends/classes/class-bp-friends-friendship.php
CHANGED
|
@@ -197,7 +197,7 @@ class BP_Friends_Friendship {
|
|
| 197 |
*
|
| 198 |
* @param BP_Friends_Friendship $value Current friendship request object.
|
| 199 |
*/
|
| 200 |
-
|
| 201 |
|
| 202 |
return $result;
|
| 203 |
}
|
|
@@ -614,9 +614,9 @@ class BP_Friends_Friendship {
|
|
| 614 |
*
|
| 615 |
* @since 3.0.0
|
| 616 |
*
|
| 617 |
-
* @param int $user_id The ID of the primary user for whom we want
|
| 618 |
* to check friendships statuses.
|
| 619 |
-
* @param int|array|string $possible_friend_ids The IDs of the one or more users
|
| 620 |
* to check friendship status with primary user.
|
| 621 |
* @return null
|
| 622 |
*/
|
|
@@ -628,7 +628,7 @@ class BP_Friends_Friendship {
|
|
| 628 |
$fetch = array();
|
| 629 |
foreach ( $possible_friend_ids as $friend_id ) {
|
| 630 |
// Check for cached items in both friendship directions.
|
| 631 |
-
if ( false === bp_core_get_incremented_cache( $user_id . ':' . $friend_id, 'bp_friends' )
|
| 632 |
|| false === bp_core_get_incremented_cache( $friend_id . ':' . $user_id, 'bp_friends' ) ) {
|
| 633 |
$fetch[] = $friend_id;
|
| 634 |
}
|
|
@@ -649,7 +649,7 @@ class BP_Friends_Friendship {
|
|
| 649 |
if ( 1 === (int) $friendship->is_confirmed ) {
|
| 650 |
$status_initiator = $status_friend = 'is_friend';
|
| 651 |
} else {
|
| 652 |
-
$status_initiator = 'pending';
|
| 653 |
$status_friend = 'awaiting_response';
|
| 654 |
}
|
| 655 |
bp_core_set_incremented_cache( $initiator_user_id . ':' . $friend_user_id, 'bp_friends', $status_initiator );
|
| 197 |
*
|
| 198 |
* @param BP_Friends_Friendship $value Current friendship request object.
|
| 199 |
*/
|
| 200 |
+
do_action_ref_array( 'friends_friendship_after_save', array( &$this ) );
|
| 201 |
|
| 202 |
return $result;
|
| 203 |
}
|
| 614 |
*
|
| 615 |
* @since 3.0.0
|
| 616 |
*
|
| 617 |
+
* @param int $user_id The ID of the primary user for whom we want
|
| 618 |
* to check friendships statuses.
|
| 619 |
+
* @param int|array|string $possible_friend_ids The IDs of the one or more users
|
| 620 |
* to check friendship status with primary user.
|
| 621 |
* @return null
|
| 622 |
*/
|
| 628 |
$fetch = array();
|
| 629 |
foreach ( $possible_friend_ids as $friend_id ) {
|
| 630 |
// Check for cached items in both friendship directions.
|
| 631 |
+
if ( false === bp_core_get_incremented_cache( $user_id . ':' . $friend_id, 'bp_friends' )
|
| 632 |
|| false === bp_core_get_incremented_cache( $friend_id . ':' . $user_id, 'bp_friends' ) ) {
|
| 633 |
$fetch[] = $friend_id;
|
| 634 |
}
|
| 649 |
if ( 1 === (int) $friendship->is_confirmed ) {
|
| 650 |
$status_initiator = $status_friend = 'is_friend';
|
| 651 |
} else {
|
| 652 |
+
$status_initiator = 'pending';
|
| 653 |
$status_friend = 'awaiting_response';
|
| 654 |
}
|
| 655 |
bp_core_set_incremented_cache( $initiator_user_id . ':' . $friend_user_id, 'bp_friends', $status_initiator );
|
bp-loader.php
CHANGED
|
@@ -15,7 +15,7 @@
|
|
| 15 |
* Description: BuddyPress adds community features to WordPress. Member Profiles, Activity Streams, Direct Messaging, Notifications, and more!
|
| 16 |
* Author: The BuddyPress Community
|
| 17 |
* Author URI: https://buddypress.org/
|
| 18 |
-
* Version: 5.0.0-
|
| 19 |
* Text Domain: buddypress
|
| 20 |
* Domain Path: /bp-languages/
|
| 21 |
* License: GPLv2 or later (license.txt)
|
| 15 |
* Description: BuddyPress adds community features to WordPress. Member Profiles, Activity Streams, Direct Messaging, Notifications, and more!
|
| 16 |
* Author: The BuddyPress Community
|
| 17 |
* Author URI: https://buddypress.org/
|
| 18 |
+
* Version: 5.0.0-RC1
|
| 19 |
* Text Domain: buddypress
|
| 20 |
* Domain Path: /bp-languages/
|
| 21 |
* License: GPLv2 or later (license.txt)
|
buddypress.pot
CHANGED
|
@@ -2,9 +2,9 @@
|
|
| 2 |
# This file is distributed under the GPLv2 or later (license.txt).
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
-
"Project-Id-Version: BuddyPress 5.0.0-
|
| 6 |
"Report-Msgid-Bugs-To: https://buddypress.trac.wordpress.org\n"
|
| 7 |
-
"POT-Creation-Date: 2019-09-
|
| 8 |
"MIME-Version: 1.0\n"
|
| 9 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 10 |
"Content-Transfer-Encoding: 8bit\n"
|
|
@@ -561,7 +561,7 @@ msgstr ""
|
|
| 561 |
#: bp-activity/bp-activity-notifications.php:389
|
| 562 |
#: bp-activity/classes/class-bp-activity-oembed-extension.php:138
|
| 563 |
#: bp-activity/classes/class-bp-activity-theme-compat.php:161
|
| 564 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 565 |
msgid "Activity"
|
| 566 |
msgstr ""
|
| 567 |
|
|
@@ -1395,7 +1395,7 @@ msgstr ""
|
|
| 1395 |
#: bp-core/admin/bp-core-admin-components.php:24
|
| 1396 |
#: bp-core/admin/bp-core-admin-settings.php:267
|
| 1397 |
#: bp-core/admin/bp-core-admin-slugs.php:24
|
| 1398 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 1399 |
msgid "BuddyPress Settings"
|
| 1400 |
msgstr ""
|
| 1401 |
|
|
@@ -1580,7 +1580,7 @@ msgid "Pages"
|
|
| 1580 |
msgstr ""
|
| 1581 |
|
| 1582 |
#: bp-core/admin/bp-core-admin-functions.php:434
|
| 1583 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 1584 |
msgid "Credits"
|
| 1585 |
msgstr ""
|
| 1586 |
|
|
@@ -3091,33 +3091,41 @@ msgstr ""
|
|
| 3091 |
msgid "Settings"
|
| 3092 |
msgstr ""
|
| 3093 |
|
| 3094 |
-
#: bp-core/classes/class-bp-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3095 |
msgid "Suggested text:"
|
| 3096 |
msgstr ""
|
| 3097 |
|
| 3098 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3099 |
msgid "What personal data we collect and why we collect it"
|
| 3100 |
msgstr ""
|
| 3101 |
|
| 3102 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3103 |
msgid ""
|
| 3104 |
"Sites powered by BuddyPress rely heavily on user-provided data. In this "
|
| 3105 |
"section, you should note what data you collect, from both registered users "
|
| 3106 |
"and anonymous visitors."
|
| 3107 |
msgstr ""
|
| 3108 |
|
| 3109 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3110 |
msgid "Profile Data"
|
| 3111 |
msgstr ""
|
| 3112 |
|
| 3113 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3114 |
msgid ""
|
| 3115 |
"In this section you should note what information is collected on user "
|
| 3116 |
"profiles. The suggested text gives an overview of the kinds of profile data "
|
| 3117 |
"collected by BuddyPress."
|
| 3118 |
msgstr ""
|
| 3119 |
|
| 3120 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3121 |
msgid ""
|
| 3122 |
"When you register for the site, you may be asked to provide certain "
|
| 3123 |
"personal data for display on your profile. The \"Name\" field is required "
|
|
@@ -3126,7 +3134,7 @@ msgid ""
|
|
| 3126 |
"administrator."
|
| 3127 |
msgstr ""
|
| 3128 |
|
| 3129 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3130 |
msgid ""
|
| 3131 |
"User information provided during account registration can be modified or "
|
| 3132 |
"removed on the Profile > Edit panel. In most cases, users also have control "
|
|
@@ -3136,14 +3144,14 @@ msgid ""
|
|
| 3136 |
"for all users."
|
| 3137 |
msgstr ""
|
| 3138 |
|
| 3139 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3140 |
msgid ""
|
| 3141 |
"In this section you should describe the kinds of information collected in "
|
| 3142 |
"the activity stream, how and whether it can be edited or deleted, and to "
|
| 3143 |
"whom the activity is visible."
|
| 3144 |
msgstr ""
|
| 3145 |
|
| 3146 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3147 |
msgid ""
|
| 3148 |
"This site records certain user actions, in the form of \"activity\" data. "
|
| 3149 |
"Activity includes updates and comments posted directly to activity streams, "
|
|
@@ -3151,7 +3159,7 @@ msgid ""
|
|
| 3151 |
"such as new friendships, newly joined groups, and profile updates."
|
| 3152 |
msgstr ""
|
| 3153 |
|
| 3154 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3155 |
msgid ""
|
| 3156 |
"The content of activity items obey the same privacy rules as the contexts "
|
| 3157 |
"in which the activity items are created. For example, activity updates "
|
|
@@ -3160,26 +3168,26 @@ msgid ""
|
|
| 3160 |
"Site administrators can view all activity items, regardless of context."
|
| 3161 |
msgstr ""
|
| 3162 |
|
| 3163 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3164 |
msgid ""
|
| 3165 |
"Activity items may be deleted at any time by users who created them. Site "
|
| 3166 |
"administrators can edit all activity items."
|
| 3167 |
msgstr ""
|
| 3168 |
|
| 3169 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3170 |
#: bp-messages/bp-messages-notifications.php:263
|
| 3171 |
#: bp-messages/classes/class-bp-messages-component.php:223
|
| 3172 |
#: bp-messages/classes/class-bp-messages-component.php:331
|
| 3173 |
msgid "Messages"
|
| 3174 |
msgstr ""
|
| 3175 |
|
| 3176 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3177 |
msgid ""
|
| 3178 |
"In this section you should describe any personal data related to private "
|
| 3179 |
"messages."
|
| 3180 |
msgstr ""
|
| 3181 |
|
| 3182 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3183 |
msgid ""
|
| 3184 |
"The content of private messages is visible only to the sender and the "
|
| 3185 |
"recipients of the message. With the exception of site administrators, who "
|
|
@@ -3188,24 +3196,24 @@ msgid ""
|
|
| 3188 |
"any message."
|
| 3189 |
msgstr ""
|
| 3190 |
|
| 3191 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3192 |
msgid "Cookies"
|
| 3193 |
msgstr ""
|
| 3194 |
|
| 3195 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3196 |
msgid ""
|
| 3197 |
"In this section you should describe the BuddyPress-specific cookies that "
|
| 3198 |
"your site collects. The suggested text describes the default cookies."
|
| 3199 |
msgstr ""
|
| 3200 |
|
| 3201 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3202 |
msgid ""
|
| 3203 |
"We use a cookie to show success and failure messages to logged-in users, in "
|
| 3204 |
"response to certain actions, like joining a group. These cookies contain no "
|
| 3205 |
"personal data, and are deleted immediately after the next page load."
|
| 3206 |
msgstr ""
|
| 3207 |
|
| 3208 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3209 |
msgid ""
|
| 3210 |
"We use cookies on group, member, and activity directories to keep track of "
|
| 3211 |
"a user's browsing preferences. These preferences include the last-selected "
|
|
@@ -3213,7 +3221,7 @@ msgid ""
|
|
| 3213 |
"These cookies contain no personal data, and are deleted after 24 hours."
|
| 3214 |
msgstr ""
|
| 3215 |
|
| 3216 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3217 |
msgid ""
|
| 3218 |
"When a logged-in user creates a new group, we use a number of cookies to "
|
| 3219 |
"keep track of the group creation process. These cookies contain no personal "
|
|
@@ -3221,163 +3229,259 @@ msgid ""
|
|
| 3221 |
"after 24 hours."
|
| 3222 |
msgstr ""
|
| 3223 |
|
| 3224 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3225 |
-
|
| 3226 |
-
msgid "
|
| 3227 |
msgstr ""
|
| 3228 |
|
| 3229 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3230 |
-
msgid "
|
| 3231 |
msgstr ""
|
| 3232 |
|
| 3233 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3234 |
-
msgid ""
|
| 3235 |
-
"BuddyPress boasts a proud history of letting community members and managers "
|
| 3236 |
-
"control their data, independent of third-party, commercial entities. In "
|
| 3237 |
-
"this spirit, as well as the spirit of recent regulations like the EU's "
|
| 3238 |
-
"General Data Protection Regulation (GDPR), BuddyPress 4.0 introduces a "
|
| 3239 |
-
"suite of tools allowing users and site admins to manage member data and "
|
| 3240 |
-
"privacy."
|
| 3241 |
msgstr ""
|
| 3242 |
|
| 3243 |
#: bp-core/classes/class-bp-admin.php:645
|
| 3244 |
-
msgid "
|
| 3245 |
msgstr ""
|
| 3246 |
|
| 3247 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3248 |
-
msgid "
|
| 3249 |
msgstr ""
|
| 3250 |
|
| 3251 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3252 |
msgid ""
|
| 3253 |
-
"
|
| 3254 |
-
"
|
| 3255 |
-
"
|
| 3256 |
-
"included in exports that are initiated either from the Export Data panel or "
|
| 3257 |
-
"via WP's Tools > Export Personal Data interface."
|
| 3258 |
msgstr ""
|
| 3259 |
|
| 3260 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3261 |
msgid ""
|
| 3262 |
-
"BuddyPress
|
| 3263 |
-
"
|
| 3264 |
-
"
|
| 3265 |
-
"
|
| 3266 |
-
"your theme supports it."
|
| 3267 |
msgstr ""
|
| 3268 |
|
| 3269 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3270 |
-
|
|
|
|
|
|
|
| 3271 |
msgstr ""
|
| 3272 |
|
| 3273 |
-
#: bp-core/classes/class-bp-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3274 |
msgid ""
|
| 3275 |
-
"
|
| 3276 |
-
"
|
| 3277 |
-
"templates, including more accessible markup and improved appearance on "
|
| 3278 |
-
"mobile devices."
|
| 3279 |
msgstr ""
|
| 3280 |
|
| 3281 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3282 |
-
msgid "
|
|
|
|
|
|
|
| 3283 |
msgstr ""
|
| 3284 |
|
| 3285 |
-
#: bp-core/classes/class-bp-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3286 |
msgid ""
|
| 3287 |
-
"
|
| 3288 |
-
"
|
| 3289 |
-
"
|
| 3290 |
-
"codebase and in our automated testing tools; we've reworked some automated "
|
| 3291 |
-
"tests for faster performance; we've ensured compatibility with upcoming "
|
| 3292 |
-
"changes in WordPress; and we've fixed a number of bugs in the formatting "
|
| 3293 |
-
"and sending of emails."
|
| 3294 |
msgstr ""
|
| 3295 |
|
| 3296 |
-
#: bp-core/classes/class-bp-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3297 |
msgid ""
|
| 3298 |
-
"
|
| 3299 |
-
"BuddyPress
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3300 |
msgstr ""
|
| 3301 |
|
| 3302 |
-
#: bp-core/classes/class-bp-admin.php:
|
|
|
|
| 3303 |
msgid ""
|
| 3304 |
" How are you using BuddyPress? Receiving your feedback and suggestions for "
|
| 3305 |
"future versions of BuddyPress genuinely motivates and encourages our "
|
| 3306 |
-
"contributors. Please
|
| 3307 |
-
"version of BuddyPress on our website. "
|
| 3308 |
msgstr ""
|
| 3309 |
|
| 3310 |
-
#: bp-core/classes/class-bp-admin.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3311 |
msgid "Thank you for using BuddyPress! 😊"
|
| 3312 |
msgstr ""
|
| 3313 |
|
| 3314 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3315 |
-
msgid "Built by <a href=\"%s\">%
|
| 3316 |
-
msgid_plural "Built by <a href=\"%s\">%
|
| 3317 |
msgstr[0] ""
|
| 3318 |
msgstr[1] ""
|
| 3319 |
|
| 3320 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3321 |
msgid "Meet the contributors behind BuddyPress:"
|
| 3322 |
msgstr ""
|
| 3323 |
|
| 3324 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3325 |
msgid "Project Leaders"
|
| 3326 |
msgstr ""
|
| 3327 |
|
| 3328 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3329 |
msgid "Project Lead"
|
| 3330 |
msgstr ""
|
| 3331 |
|
| 3332 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3333 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3334 |
msgid "Lead Developer"
|
| 3335 |
msgstr ""
|
| 3336 |
|
| 3337 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3338 |
msgid "BuddyPress Team"
|
| 3339 |
msgstr ""
|
| 3340 |
|
| 3341 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3342 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3343 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3344 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3345 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3346 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3347 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3348 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3349 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3350 |
msgid "Core Developer"
|
| 3351 |
msgstr ""
|
| 3352 |
|
| 3353 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3354 |
msgid "Navigator"
|
| 3355 |
msgstr ""
|
| 3356 |
|
| 3357 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3358 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3359 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3360 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3361 |
msgid "Community Support"
|
| 3362 |
msgstr ""
|
| 3363 |
|
| 3364 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3365 |
msgid "Recent Rockstars"
|
| 3366 |
msgstr ""
|
| 3367 |
|
| 3368 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3369 |
msgid "Contributors to BuddyPress %s"
|
| 3370 |
msgstr ""
|
| 3371 |
|
| 3372 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3373 |
msgid "With our thanks to these Open Source projects"
|
| 3374 |
msgstr ""
|
| 3375 |
|
| 3376 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3377 |
msgid "Contributor Emeriti"
|
| 3378 |
msgstr ""
|
| 3379 |
|
| 3380 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 3381 |
msgid "Project Founder"
|
| 3382 |
msgstr ""
|
| 3383 |
|
|
@@ -11222,7 +11326,7 @@ msgctxt "screen heading"
|
|
| 11222 |
msgid "Emails"
|
| 11223 |
msgstr ""
|
| 11224 |
|
| 11225 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 11226 |
msgctxt "screen heading"
|
| 11227 |
msgid "Your feedback"
|
| 11228 |
msgstr ""
|
|
@@ -11547,12 +11651,7 @@ msgctxt "Colloquial alternative to \"learn about BuddyPress\""
|
|
| 11547 |
msgid "Hello, BuddyPress!"
|
| 11548 |
msgstr ""
|
| 11549 |
|
| 11550 |
-
#: bp-core/classes/class-bp-admin.php:
|
| 11551 |
-
msgctxt "section heading"
|
| 11552 |
-
msgid "New in BuddyPress"
|
| 11553 |
-
msgstr ""
|
| 11554 |
-
|
| 11555 |
-
#: bp-core/classes/class-bp-admin.php:959
|
| 11556 |
msgctxt "Email post type"
|
| 11557 |
msgid "Situations"
|
| 11558 |
msgstr ""
|
| 2 |
# This file is distributed under the GPLv2 or later (license.txt).
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
+
"Project-Id-Version: BuddyPress 5.0.0-RC1\n"
|
| 6 |
"Report-Msgid-Bugs-To: https://buddypress.trac.wordpress.org\n"
|
| 7 |
+
"POT-Creation-Date: 2019-09-16 22:41:25+00:00\n"
|
| 8 |
"MIME-Version: 1.0\n"
|
| 9 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 10 |
"Content-Transfer-Encoding: 8bit\n"
|
| 561 |
#: bp-activity/bp-activity-notifications.php:389
|
| 562 |
#: bp-activity/classes/class-bp-activity-oembed-extension.php:138
|
| 563 |
#: bp-activity/classes/class-bp-activity-theme-compat.php:161
|
| 564 |
+
#: bp-core/classes/class-bp-admin.php:578
|
| 565 |
msgid "Activity"
|
| 566 |
msgstr ""
|
| 567 |
|
| 1395 |
#: bp-core/admin/bp-core-admin-components.php:24
|
| 1396 |
#: bp-core/admin/bp-core-admin-settings.php:267
|
| 1397 |
#: bp-core/admin/bp-core-admin-slugs.php:24
|
| 1398 |
+
#: bp-core/classes/class-bp-admin.php:830
|
| 1399 |
msgid "BuddyPress Settings"
|
| 1400 |
msgstr ""
|
| 1401 |
|
| 1580 |
msgstr ""
|
| 1581 |
|
| 1582 |
#: bp-core/admin/bp-core-admin-functions.php:434
|
| 1583 |
+
#: bp-core/classes/class-bp-admin.php:832
|
| 1584 |
msgid "Credits"
|
| 1585 |
msgstr ""
|
| 1586 |
|
| 3091 |
msgid "Settings"
|
| 3092 |
msgstr ""
|
| 3093 |
|
| 3094 |
+
#: bp-core/classes/class-bp-admin.php:544
|
| 3095 |
+
msgid "Sorry, the page you requested was not found."
|
| 3096 |
+
msgstr ""
|
| 3097 |
+
|
| 3098 |
+
#: bp-core/classes/class-bp-admin.php:545
|
| 3099 |
+
msgid "Hello BuddyPress"
|
| 3100 |
+
msgstr ""
|
| 3101 |
+
|
| 3102 |
+
#: bp-core/classes/class-bp-admin.php:561
|
| 3103 |
msgid "Suggested text:"
|
| 3104 |
msgstr ""
|
| 3105 |
|
| 3106 |
+
#: bp-core/classes/class-bp-admin.php:566
|
| 3107 |
msgid "What personal data we collect and why we collect it"
|
| 3108 |
msgstr ""
|
| 3109 |
|
| 3110 |
+
#: bp-core/classes/class-bp-admin.php:567
|
| 3111 |
msgid ""
|
| 3112 |
"Sites powered by BuddyPress rely heavily on user-provided data. In this "
|
| 3113 |
"section, you should note what data you collect, from both registered users "
|
| 3114 |
"and anonymous visitors."
|
| 3115 |
msgstr ""
|
| 3116 |
|
| 3117 |
+
#: bp-core/classes/class-bp-admin.php:570
|
| 3118 |
msgid "Profile Data"
|
| 3119 |
msgstr ""
|
| 3120 |
|
| 3121 |
+
#: bp-core/classes/class-bp-admin.php:571
|
| 3122 |
msgid ""
|
| 3123 |
"In this section you should note what information is collected on user "
|
| 3124 |
"profiles. The suggested text gives an overview of the kinds of profile data "
|
| 3125 |
"collected by BuddyPress."
|
| 3126 |
msgstr ""
|
| 3127 |
|
| 3128 |
+
#: bp-core/classes/class-bp-admin.php:573
|
| 3129 |
msgid ""
|
| 3130 |
"When you register for the site, you may be asked to provide certain "
|
| 3131 |
"personal data for display on your profile. The \"Name\" field is required "
|
| 3134 |
"administrator."
|
| 3135 |
msgstr ""
|
| 3136 |
|
| 3137 |
+
#: bp-core/classes/class-bp-admin.php:574
|
| 3138 |
msgid ""
|
| 3139 |
"User information provided during account registration can be modified or "
|
| 3140 |
"removed on the Profile > Edit panel. In most cases, users also have control "
|
| 3144 |
"for all users."
|
| 3145 |
msgstr ""
|
| 3146 |
|
| 3147 |
+
#: bp-core/classes/class-bp-admin.php:579
|
| 3148 |
msgid ""
|
| 3149 |
"In this section you should describe the kinds of information collected in "
|
| 3150 |
"the activity stream, how and whether it can be edited or deleted, and to "
|
| 3151 |
"whom the activity is visible."
|
| 3152 |
msgstr ""
|
| 3153 |
|
| 3154 |
+
#: bp-core/classes/class-bp-admin.php:581
|
| 3155 |
msgid ""
|
| 3156 |
"This site records certain user actions, in the form of \"activity\" data. "
|
| 3157 |
"Activity includes updates and comments posted directly to activity streams, "
|
| 3159 |
"such as new friendships, newly joined groups, and profile updates."
|
| 3160 |
msgstr ""
|
| 3161 |
|
| 3162 |
+
#: bp-core/classes/class-bp-admin.php:582
|
| 3163 |
msgid ""
|
| 3164 |
"The content of activity items obey the same privacy rules as the contexts "
|
| 3165 |
"in which the activity items are created. For example, activity updates "
|
| 3168 |
"Site administrators can view all activity items, regardless of context."
|
| 3169 |
msgstr ""
|
| 3170 |
|
| 3171 |
+
#: bp-core/classes/class-bp-admin.php:583
|
| 3172 |
msgid ""
|
| 3173 |
"Activity items may be deleted at any time by users who created them. Site "
|
| 3174 |
"administrators can edit all activity items."
|
| 3175 |
msgstr ""
|
| 3176 |
|
| 3177 |
+
#: bp-core/classes/class-bp-admin.php:587
|
| 3178 |
#: bp-messages/bp-messages-notifications.php:263
|
| 3179 |
#: bp-messages/classes/class-bp-messages-component.php:223
|
| 3180 |
#: bp-messages/classes/class-bp-messages-component.php:331
|
| 3181 |
msgid "Messages"
|
| 3182 |
msgstr ""
|
| 3183 |
|
| 3184 |
+
#: bp-core/classes/class-bp-admin.php:588
|
| 3185 |
msgid ""
|
| 3186 |
"In this section you should describe any personal data related to private "
|
| 3187 |
"messages."
|
| 3188 |
msgstr ""
|
| 3189 |
|
| 3190 |
+
#: bp-core/classes/class-bp-admin.php:590
|
| 3191 |
msgid ""
|
| 3192 |
"The content of private messages is visible only to the sender and the "
|
| 3193 |
"recipients of the message. With the exception of site administrators, who "
|
| 3196 |
"any message."
|
| 3197 |
msgstr ""
|
| 3198 |
|
| 3199 |
+
#: bp-core/classes/class-bp-admin.php:593
|
| 3200 |
msgid "Cookies"
|
| 3201 |
msgstr ""
|
| 3202 |
|
| 3203 |
+
#: bp-core/classes/class-bp-admin.php:594
|
| 3204 |
msgid ""
|
| 3205 |
"In this section you should describe the BuddyPress-specific cookies that "
|
| 3206 |
"your site collects. The suggested text describes the default cookies."
|
| 3207 |
msgstr ""
|
| 3208 |
|
| 3209 |
+
#: bp-core/classes/class-bp-admin.php:596
|
| 3210 |
msgid ""
|
| 3211 |
"We use a cookie to show success and failure messages to logged-in users, in "
|
| 3212 |
"response to certain actions, like joining a group. These cookies contain no "
|
| 3213 |
"personal data, and are deleted immediately after the next page load."
|
| 3214 |
msgstr ""
|
| 3215 |
|
| 3216 |
+
#: bp-core/classes/class-bp-admin.php:598
|
| 3217 |
msgid ""
|
| 3218 |
"We use cookies on group, member, and activity directories to keep track of "
|
| 3219 |
"a user's browsing preferences. These preferences include the last-selected "
|
| 3221 |
"These cookies contain no personal data, and are deleted after 24 hours."
|
| 3222 |
msgstr ""
|
| 3223 |
|
| 3224 |
+
#: bp-core/classes/class-bp-admin.php:601
|
| 3225 |
msgid ""
|
| 3226 |
"When a logged-in user creates a new group, we use a number of cookies to "
|
| 3227 |
"keep track of the group creation process. These cookies contain no personal "
|
| 3229 |
"after 24 hours."
|
| 3230 |
msgstr ""
|
| 3231 |
|
| 3232 |
+
#: bp-core/classes/class-bp-admin.php:637
|
| 3233 |
+
#. translators: %s is the placehoder for the BuddyPress version number.
|
| 3234 |
+
msgid "BuddyPress %s"
|
| 3235 |
msgstr ""
|
| 3236 |
|
| 3237 |
+
#: bp-core/classes/class-bp-admin.php:643
|
| 3238 |
+
msgid "What's new?"
|
| 3239 |
msgstr ""
|
| 3240 |
|
| 3241 |
+
#: bp-core/classes/class-bp-admin.php:644
|
| 3242 |
+
msgid "Changelog"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3243 |
msgstr ""
|
| 3244 |
|
| 3245 |
#: bp-core/classes/class-bp-admin.php:645
|
| 3246 |
+
msgid "Get involved"
|
| 3247 |
msgstr ""
|
| 3248 |
|
| 3249 |
+
#: bp-core/classes/class-bp-admin.php:651
|
| 3250 |
+
msgid "Introducing the BP REST API"
|
| 3251 |
msgstr ""
|
| 3252 |
|
| 3253 |
+
#: bp-core/classes/class-bp-admin.php:656
|
| 3254 |
msgid ""
|
| 3255 |
+
"BuddyPress 5.0.0 comes with REST API endpoints for members, groups, "
|
| 3256 |
+
"activities, users, private messages, screen notifications and extended "
|
| 3257 |
+
"profiles."
|
|
|
|
|
|
|
| 3258 |
msgstr ""
|
| 3259 |
|
| 3260 |
+
#: bp-core/classes/class-bp-admin.php:659
|
| 3261 |
msgid ""
|
| 3262 |
+
"BuddyPress endpoints provide machine-readable external access to your "
|
| 3263 |
+
"WordPress site with a clear, standards-driven interface, paving the way for "
|
| 3264 |
+
"new and innovative methods of interacting with your community through "
|
| 3265 |
+
"plugins, themes, apps, and beyond."
|
|
|
|
| 3266 |
msgstr ""
|
| 3267 |
|
| 3268 |
+
#: bp-core/classes/class-bp-admin.php:662
|
| 3269 |
+
#. translators: %s is the placehoder for the link to the BP REST API
|
| 3270 |
+
#. documentation site.
|
| 3271 |
+
msgid "Ready to get started with development? Check out the %s."
|
| 3272 |
msgstr ""
|
| 3273 |
|
| 3274 |
+
#: bp-core/classes/class-bp-admin.php:666
|
| 3275 |
+
msgid "BP REST API reference"
|
| 3276 |
+
msgstr ""
|
| 3277 |
+
|
| 3278 |
+
#: bp-core/classes/class-bp-admin.php:673
|
| 3279 |
+
msgid "A new interface for managing group members."
|
| 3280 |
+
msgstr ""
|
| 3281 |
+
|
| 3282 |
+
#: bp-core/classes/class-bp-admin.php:675
|
| 3283 |
msgid ""
|
| 3284 |
+
"The best way to show the power of the BP REST API is to start using it for "
|
| 3285 |
+
"one of our Core features."
|
|
|
|
|
|
|
| 3286 |
msgstr ""
|
| 3287 |
|
| 3288 |
+
#: bp-core/classes/class-bp-admin.php:678
|
| 3289 |
+
msgid ""
|
| 3290 |
+
"Screenshot of the Group Members management interface in the administration "
|
| 3291 |
+
"and on the front-end of your site."
|
| 3292 |
msgstr ""
|
| 3293 |
|
| 3294 |
+
#: bp-core/classes/class-bp-admin.php:681
|
| 3295 |
+
msgid ""
|
| 3296 |
+
"Group administrators will love our new interface for managing group "
|
| 3297 |
+
"membership. Whether you're working as a group admin on the front-end Manage "
|
| 3298 |
+
"tab, or as the site admin on the Dashboard, the new REST API-based tools "
|
| 3299 |
+
"are faster, easier to use, and more consistent."
|
| 3300 |
+
msgstr ""
|
| 3301 |
+
|
| 3302 |
+
#: bp-core/classes/class-bp-admin.php:686
|
| 3303 |
+
msgid "Improved Group invites and membership requests."
|
| 3304 |
+
msgstr ""
|
| 3305 |
+
|
| 3306 |
+
#: bp-core/classes/class-bp-admin.php:691
|
| 3307 |
+
msgid ""
|
| 3308 |
+
"Thanks to the new BP Invitations API, Group invites and membership requests "
|
| 3309 |
+
"are now managed in a more consistent way."
|
| 3310 |
+
msgstr ""
|
| 3311 |
+
|
| 3312 |
+
#: bp-core/classes/class-bp-admin.php:694
|
| 3313 |
+
msgid ""
|
| 3314 |
+
"The BP Invitations API abstracts how these two actions are handled and "
|
| 3315 |
+
"allows developers to use them for any object on your site (e.g., Sites of a "
|
| 3316 |
+
"WordPress network)."
|
| 3317 |
+
msgstr ""
|
| 3318 |
+
|
| 3319 |
+
#: bp-core/classes/class-bp-admin.php:697
|
| 3320 |
+
#. translators: %s is the placehoder for the link to the BP Invitations API
|
| 3321 |
+
#. development note.
|
| 3322 |
+
msgid "Read more about the %s."
|
| 3323 |
+
msgstr ""
|
| 3324 |
+
|
| 3325 |
+
#: bp-core/classes/class-bp-admin.php:701
|
| 3326 |
+
msgid "BP Invitations API"
|
| 3327 |
+
msgstr ""
|
| 3328 |
+
|
| 3329 |
+
#: bp-core/classes/class-bp-admin.php:708
|
| 3330 |
+
msgid "Help our support volunteers help you."
|
| 3331 |
+
msgstr ""
|
| 3332 |
+
|
| 3333 |
+
#: bp-core/classes/class-bp-admin.php:710
|
| 3334 |
+
msgid ""
|
| 3335 |
+
"Knowing your WordPress and BuddyPress configuration is very important when "
|
| 3336 |
+
"one of our beloved support volunteers tries to help you fix an issue. "
|
| 3337 |
+
"That's why we added a BuddyPress section to the Site Health Info "
|
| 3338 |
+
"Administration screen."
|
| 3339 |
+
msgstr ""
|
| 3340 |
+
|
| 3341 |
+
#: bp-core/classes/class-bp-admin.php:713
|
| 3342 |
+
msgid ""
|
| 3343 |
+
"Screenshot of the BuddyPress section of the Site Health Info Administration "
|
| 3344 |
+
"screen."
|
| 3345 |
+
msgstr ""
|
| 3346 |
+
|
| 3347 |
+
#: bp-core/classes/class-bp-admin.php:716
|
| 3348 |
+
msgid ""
|
| 3349 |
+
"The panel is displayed at the bottom of the screen. It includes the "
|
| 3350 |
+
"BuddyPress version, active components, active template pack, and a list of "
|
| 3351 |
+
"other component-specific settings information."
|
| 3352 |
+
msgstr ""
|
| 3353 |
+
|
| 3354 |
+
#: bp-core/classes/class-bp-admin.php:721
|
| 3355 |
+
msgid "Improved integrations with WordPress"
|
| 3356 |
+
msgstr ""
|
| 3357 |
+
|
| 3358 |
+
#: bp-core/classes/class-bp-admin.php:723
|
| 3359 |
+
msgid ""
|
| 3360 |
+
"Screenshot of the BuddyPress members directory & Password control in Twenty "
|
| 3361 |
+
"Ninteen."
|
| 3362 |
+
msgstr ""
|
| 3363 |
+
|
| 3364 |
+
#: bp-core/classes/class-bp-admin.php:727
|
| 3365 |
+
msgid ""
|
| 3366 |
+
"In BuddyPress 5.0.0, the BP Nouveau template pack looks better than ever "
|
| 3367 |
+
"with the Twenty Nineteen theme."
|
| 3368 |
+
msgstr ""
|
| 3369 |
+
|
| 3370 |
+
#: bp-core/classes/class-bp-admin.php:728
|
| 3371 |
msgid ""
|
| 3372 |
+
"Nouveau also now uses the same password control as the one used in "
|
| 3373 |
+
"WordPress Core, for better consistency between BuddyPress and WordPress "
|
| 3374 |
+
"spaces."
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3375 |
msgstr ""
|
| 3376 |
|
| 3377 |
+
#: bp-core/classes/class-bp-admin.php:732
|
| 3378 |
+
msgid "BuddyPress Blocks now have their own category into the Block Editor."
|
| 3379 |
+
msgstr ""
|
| 3380 |
+
|
| 3381 |
+
#: bp-core/classes/class-bp-admin.php:735
|
| 3382 |
+
msgid "Screenshot of the BuddyPress block category."
|
| 3383 |
+
msgstr ""
|
| 3384 |
+
|
| 3385 |
+
#: bp-core/classes/class-bp-admin.php:738
|
| 3386 |
msgid ""
|
| 3387 |
+
"Developers building tools for the Block Editor can now add their blocks to "
|
| 3388 |
+
"the BuddyPress category. This change provides a foundation for organizing "
|
| 3389 |
+
"custom BuddyPress blocks."
|
| 3390 |
+
msgstr ""
|
| 3391 |
+
|
| 3392 |
+
#: bp-core/classes/class-bp-admin.php:741
|
| 3393 |
+
#. translators: %s is the placehoder for the link to the blocks category
|
| 3394 |
+
#. development note.
|
| 3395 |
+
msgid "Read more about this feature in the %s."
|
| 3396 |
+
msgstr ""
|
| 3397 |
+
|
| 3398 |
+
#: bp-core/classes/class-bp-admin.php:745
|
| 3399 |
+
msgid "development note"
|
| 3400 |
msgstr ""
|
| 3401 |
|
| 3402 |
+
#: bp-core/classes/class-bp-admin.php:757
|
| 3403 |
+
#. translators: %s is the placehoder for the link to BuddyPress support forums.
|
| 3404 |
msgid ""
|
| 3405 |
" How are you using BuddyPress? Receiving your feedback and suggestions for "
|
| 3406 |
"future versions of BuddyPress genuinely motivates and encourages our "
|
| 3407 |
+
"contributors. Please %s about this version of BuddyPress on our website. "
|
|
|
|
| 3408 |
msgstr ""
|
| 3409 |
|
| 3410 |
+
#: bp-core/classes/class-bp-admin.php:761
|
| 3411 |
+
msgid "share your feedback"
|
| 3412 |
+
msgstr ""
|
| 3413 |
+
|
| 3414 |
+
#: bp-core/classes/class-bp-admin.php:766
|
| 3415 |
msgid "Thank you for using BuddyPress! 😊"
|
| 3416 |
msgstr ""
|
| 3417 |
|
| 3418 |
+
#: bp-core/classes/class-bp-admin.php:777
|
| 3419 |
+
msgid "Built with %1$s by <a href=\"%2$s\">%3$d volunteer</a>."
|
| 3420 |
+
msgid_plural "Built with %1$s by <a href=\"%2$s\">%3$d volunteers</a>."
|
| 3421 |
msgstr[0] ""
|
| 3422 |
msgstr[1] ""
|
| 3423 |
|
| 3424 |
+
#: bp-core/classes/class-bp-admin.php:834
|
| 3425 |
msgid "Meet the contributors behind BuddyPress:"
|
| 3426 |
msgstr ""
|
| 3427 |
|
| 3428 |
+
#: bp-core/classes/class-bp-admin.php:836
|
| 3429 |
msgid "Project Leaders"
|
| 3430 |
msgstr ""
|
| 3431 |
|
| 3432 |
+
#: bp-core/classes/class-bp-admin.php:841
|
| 3433 |
msgid "Project Lead"
|
| 3434 |
msgstr ""
|
| 3435 |
|
| 3436 |
+
#: bp-core/classes/class-bp-admin.php:846
|
| 3437 |
+
#: bp-core/classes/class-bp-admin.php:851
|
| 3438 |
msgid "Lead Developer"
|
| 3439 |
msgstr ""
|
| 3440 |
|
| 3441 |
+
#: bp-core/classes/class-bp-admin.php:855
|
| 3442 |
msgid "BuddyPress Team"
|
| 3443 |
msgstr ""
|
| 3444 |
|
| 3445 |
+
#: bp-core/classes/class-bp-admin.php:860
|
| 3446 |
+
#: bp-core/classes/class-bp-admin.php:865
|
| 3447 |
+
#: bp-core/classes/class-bp-admin.php:870
|
| 3448 |
+
#: bp-core/classes/class-bp-admin.php:880
|
| 3449 |
+
#: bp-core/classes/class-bp-admin.php:885
|
| 3450 |
+
#: bp-core/classes/class-bp-admin.php:905
|
| 3451 |
+
#: bp-core/classes/class-bp-admin.php:910
|
| 3452 |
+
#: bp-core/classes/class-bp-admin.php:915
|
| 3453 |
+
#: bp-core/classes/class-bp-admin.php:920
|
| 3454 |
msgid "Core Developer"
|
| 3455 |
msgstr ""
|
| 3456 |
|
| 3457 |
+
#: bp-core/classes/class-bp-admin.php:875
|
| 3458 |
msgid "Navigator"
|
| 3459 |
msgstr ""
|
| 3460 |
|
| 3461 |
+
#: bp-core/classes/class-bp-admin.php:890
|
| 3462 |
+
#: bp-core/classes/class-bp-admin.php:895
|
| 3463 |
+
#: bp-core/classes/class-bp-admin.php:900
|
| 3464 |
+
#: bp-core/classes/class-bp-admin.php:925
|
| 3465 |
msgid "Community Support"
|
| 3466 |
msgstr ""
|
| 3467 |
|
| 3468 |
+
#: bp-core/classes/class-bp-admin.php:929
|
| 3469 |
msgid "Recent Rockstars"
|
| 3470 |
msgstr ""
|
| 3471 |
|
| 3472 |
+
#: bp-core/classes/class-bp-admin.php:953
|
| 3473 |
msgid "Contributors to BuddyPress %s"
|
| 3474 |
msgstr ""
|
| 3475 |
|
| 3476 |
+
#: bp-core/classes/class-bp-admin.php:993
|
| 3477 |
msgid "With our thanks to these Open Source projects"
|
| 3478 |
msgstr ""
|
| 3479 |
|
| 3480 |
+
#: bp-core/classes/class-bp-admin.php:1007
|
| 3481 |
msgid "Contributor Emeriti"
|
| 3482 |
msgstr ""
|
| 3483 |
|
| 3484 |
+
#: bp-core/classes/class-bp-admin.php:1012
|
| 3485 |
msgid "Project Founder"
|
| 3486 |
msgstr ""
|
| 3487 |
|
| 11326 |
msgid "Emails"
|
| 11327 |
msgstr ""
|
| 11328 |
|
| 11329 |
+
#: bp-core/classes/class-bp-admin.php:752
|
| 11330 |
msgctxt "screen heading"
|
| 11331 |
msgid "Your feedback"
|
| 11332 |
msgstr ""
|
| 11651 |
msgid "Hello, BuddyPress!"
|
| 11652 |
msgstr ""
|
| 11653 |
|
| 11654 |
+
#: bp-core/classes/class-bp-admin.php:1048
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11655 |
msgctxt "Email post type"
|
| 11656 |
msgid "Situations"
|
| 11657 |
msgstr ""
|
class-buddypress.php
CHANGED
|
@@ -303,7 +303,7 @@ class BuddyPress {
|
|
| 303 |
|
| 304 |
/** Versions **********************************************************/
|
| 305 |
|
| 306 |
-
$this->version = '5.0.0-
|
| 307 |
$this->db_version = 12385;
|
| 308 |
|
| 309 |
/** Loading ***********************************************************/
|
| 303 |
|
| 304 |
/** Versions **********************************************************/
|
| 305 |
|
| 306 |
+
$this->version = '5.0.0-RC1';
|
| 307 |
$this->db_version = 12385;
|
| 308 |
|
| 309 |
/** Loading ***********************************************************/
|
