BuddyPress - Version 5.0.0-RC1

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 Icon 128x128 BuddyPress
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 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 - Backdrop and container
13
- 3.2 - Modal footer
14
- 3.3 - Modal header
15
- 3.4 - Modal content
16
  4.0 - Content styles
17
- 4.1 - Backdrop and container
18
- 4.2 - Footer content
19
- 4.3 - Header content
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
- #bp-hello-container a {
36
- color: var(--bp-hello-color-primary);
37
  }
38
 
39
- #bp-hello-container a:hover {
40
- transition: all 0.1s ease-in-out;
41
- color: black;
42
  }
43
 
44
- #bp-hello-container .bp-hello-header h1 {
45
- line-height: 1.7;
46
- font-size: 21px;
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
- * 3.0 - Elements
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
- #bp-hello-container {
117
- position: fixed;
118
- top: 0;
119
- bottom: 80px;
120
- z-index: 99999;
121
- }
122
-
123
- .bp-disable-scroll {
124
- overflow: hidden;
125
  }
126
 
 
 
 
127
  /*
128
- * 3.2 - Modal footer
129
  */
130
- .bp-hello-footer {
131
  display: flex;
132
  flex-wrap: wrap;
133
- height: 58px;
134
- max-height: 58px;
 
 
 
 
135
  }
136
 
137
  .bp-hello-social-cta,
@@ -156,92 +121,95 @@ TABLE OF CONTENTS:
156
  }
157
 
158
  /*
159
- * 3.3 - Modal header
160
  */
161
- .bp-hello-header {
162
- height: 58px;
163
- max-height: 58px;
164
  }
165
 
166
- /*
167
- * 3.4 - Modal content
168
- */
169
  .bp-hello-content {
170
  padding: 0 25px;
171
- height: calc(100% - 58px);
172
- overflow-y: auto;
173
- -webkit-overflow-scrolling: touch;
174
  }
175
 
176
- /*------------------------------------------------------------------------------
177
- * 4.0 - Content styles
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
- #bp-hello-container {
188
- background-color: white;
189
  }
190
 
191
- /*
192
- * 4.2 - Footer content
193
- */
194
- .bp-hello-footer {
195
- border-radius: 0 0 3px 3px;
196
- background-color: white;
197
- border-top: 1px solid var(--bp-hello-color-secondary);
198
- padding: 6px 25px;
199
  }
200
 
201
- .bp-hello-footer p {
202
- font-size: 15px;
 
 
 
203
  }
204
 
205
- .bp-hello-social-cta {
206
- text-align: right;
207
  }
208
 
209
- .bp-hello-social-links {
210
- text-align: left;
211
  }
212
 
213
- .bp-hello-social li a {
214
- text-decoration: none;
 
215
  }
216
 
217
- /*
218
- * 4.3 - Header content
219
- */
220
- .bp-hello-header {
221
- padding: 6px 25px;
222
  }
223
 
224
- .bp-hello-header h1 {
225
- width: calc(100% - 51px);
 
226
  }
227
 
228
- #bp-hello-container .bp-hello-header {
229
- border-bottom: 1px solid var(--bp-hello-color-secondary);
 
 
230
  }
231
 
232
- .bp-hello-title {
 
 
 
 
 
 
233
  text-align: right;
234
  }
235
 
236
- .bp-hello-close {
237
- position: absolute;
238
- top: 20px;
239
- left: 25px;
240
  text-align: left;
241
  }
242
 
 
 
 
 
243
  /*
244
- * 4.4 - Content content
 
 
 
 
 
 
 
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
- height: calc(100% - 90px);
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-width: 1280px) {
318
- #bp-hello-container,
319
- .bp-hello-footer {
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%}#bp-hello-container a{color:var(--bp-hello-color-primary)}#bp-hello-container a:hover{transition:all .1s ease-in-out;color:#000}#bp-hello-container .bp-hello-header h1{line-height:1.7;font-size:21px;font-weight:400}.bp-hello-content p{font-size:16px}.bp-hello-close .button{padding:5px!important}.bp-hello-close .close-modal:before{content:"\f158";color:#23282d;font:400 1.5em/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-image:none!important}.bp-hello-close .close-modal:focus:before,.bp-hello-close .close-modal:hover:before{transition:all .1s ease-in-out;color:var(--bp-hello-color-primary)}.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"}#bp-hello-backdrop{position:fixed;top:0;right:0;left:0;bottom:0;z-index:9998;display:none}#bp-hello-container{position:fixed;top:0;bottom:80px;z-index:99999}.bp-disable-scroll{overflow:hidden}.bp-hello-footer{display:flex;flex-wrap:wrap;height:58px;max-height:58px}.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-header{height:58px;max-height:58px}.bp-hello-content{padding:0 25px;height:calc(100% - 58px);overflow-y:auto;-webkit-overflow-scrolling:touch}#bp-hello-backdrop{background-color:rgba(0,0,0,.8);transition:opacity .15s ease-out}#bp-hello-container{background-color:#fff}.bp-hello-footer{border-radius:0 0 3px 3px;background-color:#fff;border-top:1px solid var(--bp-hello-color-secondary);padding:6px 25px}.bp-hello-footer p{font-size:15px}.bp-hello-social-cta{text-align:right}.bp-hello-social-links{text-align:left}.bp-hello-social li a{text-decoration:none}.bp-hello-header{padding:6px 25px}.bp-hello-header h1{width:calc(100% - 51px)}#bp-hello-container .bp-hello-header{border-bottom:1px solid var(--bp-hello-color-secondary)}.bp-hello-title{text-align:right}.bp-hello-close{position:absolute;top:20px;left:25px;text-align:left}.bp-hello-content{background-color:#fff}.bp-hello-content img{border-radius:2px;max-width:100%}.bp-hello-content iframe{width:100%}@media only screen and (min-width:1024px){#bp-hello-backdrop{display:block}#bp-hello-container{position:fixed;top:60px;right:var(--bp-hello-container-size);left:var(--bp-hello-container-size);bottom:30px;z-index:9999;border-radius:3px}#bp-hello-container .bp-hello-header h1{line-height:inherit}.bp-hello-header{height:auto;max-height:inherit;padding:6px 30px}.bp-hello-close{left:30px}.bp-hello-close .close-modal:before{line-height:.7}.bp-hello-footer{position:fixed;right:var(--bp-hello-container-size);left:var(--bp-hello-container-size);bottom:30px;z-index:10000;height:auto;max-height:inherit;padding:6px 30px}.bp-hello-content{height:calc(100% - 90px);padding:0 30px}.bp-hello-content p{font-size:14px}}@media screen and (min-width:1280px){#bp-hello-container,.bp-hello-footer{right:calc((100% - 896px)/ 2);left:calc((100% - 896px)/ 2)}}
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 - Backdrop and container
13
- 3.2 - Modal footer
14
- 3.3 - Modal header
15
- 3.4 - Modal content
16
  4.0 - Content styles
17
- 4.1 - Backdrop and container
18
- 4.2 - Footer content
19
- 4.3 - Header content
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
- #bp-hello-container a {
36
- color: var(--bp-hello-color-primary);
37
  }
38
 
39
- #bp-hello-container a:hover {
40
- transition: all 0.1s ease-in-out;
41
- color: black;
42
  }
43
 
44
- #bp-hello-container .bp-hello-header h1 {
45
- line-height: 1.7;
46
- font-size: 21px;
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
- * 3.0 - Elements
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
- #bp-hello-container {
117
- position: fixed;
118
- top: 0;
119
- bottom: 80px;
120
- z-index: 99999;
121
- }
122
-
123
- .bp-disable-scroll {
124
- overflow: hidden;
125
  }
126
 
 
 
 
127
  /*
128
- * 3.2 - Modal footer
129
  */
130
- .bp-hello-footer {
131
  display: flex;
132
  flex-wrap: wrap;
133
- height: 58px;
134
- max-height: 58px;
 
 
 
 
135
  }
136
 
137
  .bp-hello-social-cta,
@@ -156,92 +121,95 @@ TABLE OF CONTENTS:
156
  }
157
 
158
  /*
159
- * 3.3 - Modal header
160
  */
161
- .bp-hello-header {
162
- height: 58px;
163
- max-height: 58px;
164
  }
165
 
166
- /*
167
- * 3.4 - Modal content
168
- */
169
  .bp-hello-content {
170
  padding: 0 25px;
171
- height: calc(100% - 58px);
172
- overflow-y: auto;
173
- -webkit-overflow-scrolling: touch;
174
  }
175
 
176
- /*------------------------------------------------------------------------------
177
- * 4.0 - Content styles
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
- #bp-hello-container {
188
- background-color: white;
189
  }
190
 
191
- /*
192
- * 4.2 - Footer content
193
- */
194
- .bp-hello-footer {
195
- border-radius: 0 0 3px 3px;
196
- background-color: white;
197
- border-top: 1px solid var(--bp-hello-color-secondary);
198
- padding: 6px 25px;
199
  }
200
 
201
- .bp-hello-footer p {
202
- font-size: 15px;
 
 
 
203
  }
204
 
205
- .bp-hello-social-cta {
206
- text-align: left;
207
  }
208
 
209
- .bp-hello-social-links {
210
- text-align: right;
211
  }
212
 
213
- .bp-hello-social li a {
214
- text-decoration: none;
 
215
  }
216
 
217
- /*
218
- * 4.3 - Header content
219
- */
220
- .bp-hello-header {
221
- padding: 6px 25px;
222
  }
223
 
224
- .bp-hello-header h1 {
225
- width: calc(100% - 51px);
 
226
  }
227
 
228
- #bp-hello-container .bp-hello-header {
229
- border-bottom: 1px solid var(--bp-hello-color-secondary);
 
 
230
  }
231
 
232
- .bp-hello-title {
 
 
 
 
 
 
233
  text-align: left;
234
  }
235
 
236
- .bp-hello-close {
237
- position: absolute;
238
- top: 20px;
239
- right: 25px;
240
  text-align: right;
241
  }
242
 
 
 
 
 
243
  /*
244
- * 4.4 - Content content
 
 
 
 
 
 
 
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
- height: calc(100% - 90px);
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-width: 1280px) {
318
- #bp-hello-container,
319
- .bp-hello-footer {
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%}#bp-hello-container a{color:var(--bp-hello-color-primary)}#bp-hello-container a:hover{transition:all .1s ease-in-out;color:#000}#bp-hello-container .bp-hello-header h1{line-height:1.7;font-size:21px;font-weight:400}.bp-hello-content p{font-size:16px}.bp-hello-close .button{padding:5px!important}.bp-hello-close .close-modal:before{content:"\f158";color:#23282d;font:400 1.5em/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-image:none!important}.bp-hello-close .close-modal:focus:before,.bp-hello-close .close-modal:hover:before{transition:all .1s ease-in-out;color:var(--bp-hello-color-primary)}.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"}#bp-hello-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;z-index:9998;display:none}#bp-hello-container{position:fixed;top:0;bottom:80px;z-index:99999}.bp-disable-scroll{overflow:hidden}.bp-hello-footer{display:flex;flex-wrap:wrap;height:58px;max-height:58px}.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-header{height:58px;max-height:58px}.bp-hello-content{padding:0 25px;height:calc(100% - 58px);overflow-y:auto;-webkit-overflow-scrolling:touch}#bp-hello-backdrop{background-color:rgba(0,0,0,.8);transition:opacity .15s ease-out}#bp-hello-container{background-color:#fff}.bp-hello-footer{border-radius:0 0 3px 3px;background-color:#fff;border-top:1px solid var(--bp-hello-color-secondary);padding:6px 25px}.bp-hello-footer p{font-size:15px}.bp-hello-social-cta{text-align:left}.bp-hello-social-links{text-align:right}.bp-hello-social li a{text-decoration:none}.bp-hello-header{padding:6px 25px}.bp-hello-header h1{width:calc(100% - 51px)}#bp-hello-container .bp-hello-header{border-bottom:1px solid var(--bp-hello-color-secondary)}.bp-hello-title{text-align:left}.bp-hello-close{position:absolute;top:20px;right:25px;text-align:right}.bp-hello-content{background-color:#fff}.bp-hello-content img{border-radius:2px;max-width:100%}.bp-hello-content iframe{width:100%}@media only screen and (min-width:1024px){#bp-hello-backdrop{display:block}#bp-hello-container{position:fixed;top:60px;left:var(--bp-hello-container-size);right:var(--bp-hello-container-size);bottom:30px;z-index:9999;border-radius:3px}#bp-hello-container .bp-hello-header h1{line-height:inherit}.bp-hello-header{height:auto;max-height:inherit;padding:6px 30px}.bp-hello-close{right:30px}.bp-hello-close .close-modal:before{line-height:.7}.bp-hello-footer{position:fixed;left:var(--bp-hello-container-size);right:var(--bp-hello-container-size);bottom:30px;z-index:10000;height:auto;max-height:inherit;padding:6px 30px}.bp-hello-content{height:calc(100% - 90px);padding:0 30px}.bp-hello-content p{font-size:14px}}@media screen and (min-width:1280px){#bp-hello-container,.bp-hello-footer{left:calc((100% - 896px)/ 2);right:calc((100% - 896px)/ 2)}}
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
- * Open the BuddyPress Hello modal.
9
- */
10
- var bp_hello_open_modal = function() {
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
- * Close modal if "X" or background is touched.
32
- *
33
- * @param {Event} event - A click event.
34
  */
35
- document.addEventListener( 'click', function( event ) {
36
- var backdrop = document.getElementById( 'bp-hello-backdrop' );
37
- if ( ! backdrop || ! document.getElementById( 'bp-hello-container' ) ) {
38
- return;
39
  }
40
 
41
- var backdrop_click = backdrop.contains( event.target ),
42
- modal_close_click = event.target.classList.contains( 'close-modal' );
43
-
44
- if ( ! modal_close_click && ! backdrop_click ) {
45
- return;
46
- }
47
 
48
- bp_hello_close_modal();
49
- }, false );
 
 
 
 
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
- * Restrict keyboard focus to elements within the BuddyPress Hello modal.
67
  *
68
- * @param {Event} event - A keyboard focus event.
69
  */
70
- var bp_hello_handle_keyboard_events = function( event ) {
71
- var modal = document.getElementById( 'bp-hello-container' ),
72
- focus_targets = Array.prototype.slice.call(
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
- // When SHIFT+TAB on first tab stop, go to last tab stop in modal.
84
- if ( event.shiftKey && document.activeElement === first_tab_stop ) {
85
- event.preventDefault();
86
- last_tab_stop.focus();
87
-
88
- // When TAB reaches last tab stop, go to first tab stop in modal.
89
- } else if ( document.activeElement === last_tab_stop ) {
90
- event.preventDefault();
91
- first_tab_stop.focus();
92
- }
93
  };
94
 
95
- /**
96
- * Close modal if escape key is presssed.
97
- *
98
- * @param {Event} event - A keyboard focus event.
99
- */
100
- document.addEventListener( 'keyup', function( event ) {
101
- if ( event.keyCode === 27 ) {
102
- if ( ! document.getElementById( 'bp-hello-backdrop' ) || ! document.getElementById( 'bp-hello-container' ) ) {
103
- return;
104
- }
105
-
106
- bp_hello_close_modal();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
107
  }
108
- }, false );
109
 
110
  // Init modal after the screen's loaded.
111
- if ( document.attachEvent ? document.readyState === 'complete' : document.readyState !== 'loading' ) {
112
- bp_hello_open_modal();
113
- } else {
114
- document.addEventListener( 'DOMContentLoaded', bp_hello_open_modal );
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 e=function(){var e=document.getElementById("bp-hello-backdrop"),o=document.getElementById("bp-hello-container");document.body.classList.add("bp-disable-scroll"),e.style.display="",o.style.display="";var l=o.querySelectorAll("a[href], button");(l=Array.prototype.slice.call(l))[0].focus(),o.addEventListener("keydown",n),e.addEventListener("click",t)};document.addEventListener("click",function(e){var n=document.getElementById("bp-hello-backdrop");if(n&&document.getElementById("bp-hello-container")){var o=n.contains(e.target);(e.target.classList.contains("close-modal")||o)&&t()}},!1);var t=function(){var e=document.getElementById("bp-hello-backdrop"),t=document.getElementById("bp-hello-container");document.body.classList.remove("bp-disable-scroll"),t.parentNode.removeChild(t),e.parentNode.removeChild(e)},n=function(e){var t=document.getElementById("bp-hello-container"),n=Array.prototype.slice.call(t.querySelectorAll("a[href], button")),o=n[0],l=n[n.length-1];9===e.keyCode&&(e.shiftKey&&document.activeElement===o?(e.preventDefault(),l.focus()):document.activeElement===l&&(e.preventDefault(),o.focus()))};document.addEventListener("keyup",function(e){if(27===e.keyCode){if(!document.getElementById("bp-hello-backdrop")||!document.getElementById("bp-hello-container"))return;t()}},!1),(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?e():document.addEventListener("DOMContentLoaded",e)}();
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 - Backdrop and container
13
- 3.2 - Modal footer
14
- 3.3 - Modal header
15
- 3.4 - Modal content
16
  4.0 - Content styles
17
- 4.1 - Backdrop and container
18
- 4.2 - Footer content
19
- 4.3 - Header content
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
- * 2.0 - Dashicons
68
- *----------------------------------------------------------------------------*/
69
- .bp-hello-close {
70
-
71
- .button {
72
- padding: 5px !important;
73
  }
74
 
75
- .close-modal {
76
-
77
- &:before {
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
- display: none;
143
- }
144
 
145
- #bp-hello-container {
146
- position: fixed;
147
- top: 0;
148
- bottom: 80px;
149
- z-index: 99999;
 
 
150
  }
151
 
152
- .bp-disable-scroll {
153
- overflow: hidden;
154
- }
155
 
156
  /*
157
- * 3.2 - Modal footer
158
  */
159
- .bp-hello-footer {
160
- display: -webkit-box;
161
- display: -ms-flexbox;
162
  display: flex;
163
- -ms-flex-wrap: wrap;
164
  flex-wrap: wrap;
 
 
165
 
166
- height: 58px;
167
- max-height: 58px;
 
168
  }
169
 
170
  .bp-hello-social-cta,
@@ -196,57 +141,74 @@ TABLE OF CONTENTS:
196
  }
197
 
198
  /*
199
- * 3.3 - Modal header
200
  */
201
- .bp-hello-header {
202
- height: 58px;
203
- max-height: 58px;
204
  }
205
 
206
- /*
207
- * 3.4 - Modal content
208
- */
209
  .bp-hello-content {
210
  padding: 0 25px;
 
 
 
 
 
 
211
 
212
- // Force scrolling.
213
- height: calc(100% - 58px);
214
- overflow-y: auto;
215
- -webkit-overflow-scrolling: touch;
216
  }
217
 
218
- /*------------------------------------------------------------------------------
219
- * 4.0 - Content styles
220
- *----------------------------------------------------------------------------*/
 
 
221
 
222
- /*
223
- * 4.1 - Backdrop and container
224
- */
225
- #bp-hello-backdrop {
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
- #bp-hello-container {
233
- background-color: rgb(255, 255, 255);
234
  }
235
 
236
- /*
237
- * 4.2 - Footer content
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
- p {
246
- font-size: 15px;
 
 
 
 
 
 
 
 
 
 
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.3 - Header content
270
  */
271
- .bp-hello-header {
272
- padding: 6px 25px;
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.4 - Content content
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
- // Very very approx. height of header and footer.
379
- height: calc(100% - 90px);
380
- padding: 0 30px;
381
 
382
- p {
383
- font-size: 14px;
384
- }
385
  }
386
  }
387
 
388
  /**
389
  * 6.2 - Desktop Large
390
  */
391
- @media screen and (min-width: 1280px) {
392
 
393
- #bp-hello-container,
394
- .bp-hello-footer {
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 3.x.y
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
- <div id="bp-hello-backdrop" style="display: none;">
623
- </div>
 
 
624
 
625
- <div id="bp-hello-container" role="dialog" aria-labelledby="bp-hello-title" style="display: none;">
626
- <div class="bp-hello-header" role="document">
627
- <div class="bp-hello-close">
628
- <button type="button" class="close-modal button bp-tooltip" data-bp-tooltip="<?php esc_attr_e( 'Close pop-up', 'buddypress' ); ?>">
629
- <span class="screen-reader-text"><?php esc_html_e( 'Close pop-up', 'buddypress' ); ?></span>
630
- </button>
 
 
 
 
 
631
  </div>
632
-
633
- <div class="bp-hello-title">
634
- <h1 id="bp-hello-title" tabindex="-1"><?php echo esc_html( _x( 'New in BuddyPress', 'section heading', 'buddypress' ) ); ?></h1>
 
635
  </div>
636
- </div>
637
 
638
- <div class="bp-hello-content">
639
- <h2><?php esc_html_e( 'New tools for data control and privacy', 'buddypress' ); ?></h2>
640
- <p>
641
- <?php esc_html_e( 'BuddyPress boasts a proud history of letting community members and managers control their data, independent of third-party, commercial entities. In this spirit, as well as the spirit of recent regulations like the EU\'s General Data Protection Regulation (GDPR), BuddyPress 4.0 introduces a suite of tools allowing users and site admins to manage member data and privacy.', 'buddypress' ); ?>
642
- </p>
643
-
644
- <figure class="bp-hello-alignright">
645
- <img class="bp-hello-img-border" src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/images/data-export.png' ); ?>" alt="<?php esc_attr_e( 'Screenshot of Export Data settings panel', 'buddypress' ); ?>" />
646
- <figcaption>
647
- <?php esc_html_e( 'Improved user control over data exports', 'buddypress' ); ?>
648
- </figcaption>
649
- </figure>
650
-
651
- <p><?php esc_html_e( 'The new "Export Data" Settings panel lets users request an export of all BuddyPress data they\'ve created. BuddyPress integrates seamlessly with the data export functionality introduced in WordPress 4.9.8, and BP data is included in exports that are initiated either from the Export Data panel or via WP\'s Tools > Export Personal Data interface.', 'buddypress' ); ?></p>
652
-
653
- <p><?php esc_html_e( 'BuddyPress 4.0 also integrates with WordPress 4.9.8\'s Privacy Policy tools. When you create or update your Privacy Policy, BP will suggest text that\'s specifically tailored to the kinds of social data generated on a BuddyPress site. And will prompt registering users to agree to the Privacy Policy, if your theme supports it.', 'buddypress' ); ?></p>
654
-
655
- <h2><?php esc_html_e( 'Nouveau template improvements', 'buddypress' ); ?></h2>
656
- <p><?php esc_html_e( 'BuddyPress 3.0 introduced a new set of default templates, which we call "Nouveau". In 4.0, we\'ve fixed bugs and smoothed the edges in these templates, including more accessible markup and improved appearance on mobile devices.', 'buddypress' ); ?></p>
657
-
658
- <h2><?php esc_html_e( "BuddyPress: leaner, faster, stronger", 'buddypress' ); ?></h2>
659
- <p><?php esc_html_e( 'With every BuddyPress version, we strive to make internal improvements to performance and code quality in addition to introducing new features and fixes. In BuddyPress 4.0, we\'ve improved PHP compatibility both in our codebase and in our automated testing tools; we\'ve reworked some automated tests for faster performance; we\'ve ensured compatibility with upcoming changes in WordPress; and we\'ve fixed a number of bugs in the formatting and sending of emails.', 'buddypress' ); ?></p>
660
-
661
- <p><em>
662
- <?php
663
- printf(
664
- __( 'To read the full list of features, fixes, and changes in this version of BuddyPress, <a href="%s">visit Trac</a>.', 'buddypress' ),
665
- esc_url( 'https://buddypress.trac.wordpress.org/query?group=status&milestone=4.0' )
666
- );
667
- ?>
668
- </em></p>
669
-
670
- <h2><?php echo esc_html( _x( 'Your feedback', 'screen heading', 'buddypress' ) ); ?></h2>
671
- <p>
672
- <?php
673
- printf(
674
- __( ' How are you using BuddyPress? Receiving your feedback and suggestions for future versions of BuddyPress genuinely motivates and encourages our contributors. Please <a href="%s">share your feedback</a> about this version of BuddyPress on our website. ', 'buddypress' ),
675
- esc_url( 'https://buddypress.org/support/' )
676
- );
677
- ?>
678
- </p>
679
- <p><?php esc_html_e( 'Thank you for using BuddyPress! 😊', 'buddypress' ); ?></p>
680
-
681
- <br /><br />
682
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
683
 
684
- <div class="bp-hello-footer">
 
 
 
 
685
  <div class="bp-hello-social-cta">
686
  <p>
687
  <?php
688
  printf(
689
- _n( 'Built by <a href="%s">%s volunteer</a>.', 'Built by <a href="%s">%s volunteers</a>.', 35, 'buddypress' ),
 
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
- do_action( 'friends_friendship_after_save', array( &$this ) );
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-beta2
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-beta2\n"
6
  "Report-Msgid-Bugs-To: https://buddypress.trac.wordpress.org\n"
7
- "POT-Creation-Date: 2019-09-10 16:53:11+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,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:574
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:741
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:743
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:557
 
 
 
 
 
 
 
 
3095
  msgid "Suggested text:"
3096
  msgstr ""
3097
 
3098
- #: bp-core/classes/class-bp-admin.php:562
3099
  msgid "What personal data we collect and why we collect it"
3100
  msgstr ""
3101
 
3102
- #: bp-core/classes/class-bp-admin.php:563
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:566
3110
  msgid "Profile Data"
3111
  msgstr ""
3112
 
3113
- #: bp-core/classes/class-bp-admin.php:567
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:569
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:570
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:575
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:577
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:578
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:579
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:583
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:584
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:586
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:589
3192
  msgid "Cookies"
3193
  msgstr ""
3194
 
3195
- #: bp-core/classes/class-bp-admin.php:590
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:592
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:594
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:597
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:628
3225
- #: bp-core/classes/class-bp-admin.php:629
3226
- msgid "Close pop-up"
3227
  msgstr ""
3228
 
3229
- #: bp-core/classes/class-bp-admin.php:639
3230
- msgid "New tools for data control and privacy"
3231
  msgstr ""
3232
 
3233
- #: bp-core/classes/class-bp-admin.php:641
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 "Screenshot of Export Data settings panel"
3245
  msgstr ""
3246
 
3247
- #: bp-core/classes/class-bp-admin.php:647
3248
- msgid "Improved user control over data exports"
3249
  msgstr ""
3250
 
3251
- #: bp-core/classes/class-bp-admin.php:651
3252
  msgid ""
3253
- "The new \"Export Data\" Settings panel lets users request an export of all "
3254
- "BuddyPress data they've created. BuddyPress integrates seamlessly with the "
3255
- "data export functionality introduced in WordPress 4.9.8, and BP data is "
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:653
3261
  msgid ""
3262
- "BuddyPress 4.0 also integrates with WordPress 4.9.8's Privacy Policy tools. "
3263
- "When you create or update your Privacy Policy, BP will suggest text that's "
3264
- "specifically tailored to the kinds of social data generated on a BuddyPress "
3265
- "site. And will prompt registering users to agree to the Privacy Policy, if "
3266
- "your theme supports it."
3267
  msgstr ""
3268
 
3269
- #: bp-core/classes/class-bp-admin.php:655
3270
- msgid "Nouveau template improvements"
 
 
3271
  msgstr ""
3272
 
3273
- #: bp-core/classes/class-bp-admin.php:656
 
 
 
 
 
 
 
 
3274
  msgid ""
3275
- "BuddyPress 3.0 introduced a new set of default templates, which we call "
3276
- "\"Nouveau\". In 4.0, we've fixed bugs and smoothed the edges in these "
3277
- "templates, including more accessible markup and improved appearance on "
3278
- "mobile devices."
3279
  msgstr ""
3280
 
3281
- #: bp-core/classes/class-bp-admin.php:658
3282
- msgid "BuddyPress: leaner, faster, stronger"
 
 
3283
  msgstr ""
3284
 
3285
- #: bp-core/classes/class-bp-admin.php:659
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3286
  msgid ""
3287
- "With every BuddyPress version, we strive to make internal improvements to "
3288
- "performance and code quality in addition to introducing new features and "
3289
- "fixes. In BuddyPress 4.0, we've improved PHP compatibility both in our "
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:664
 
 
 
 
 
 
 
 
3297
  msgid ""
3298
- "To read the full list of features, fixes, and changes in this version of "
3299
- "BuddyPress, <a href=\"%s\">visit Trac</a>."
 
 
 
 
 
 
 
 
 
 
 
3300
  msgstr ""
3301
 
3302
- #: bp-core/classes/class-bp-admin.php:674
 
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 <a href=\"%s\">share your feedback</a> about this "
3307
- "version of BuddyPress on our website. "
3308
  msgstr ""
3309
 
3310
- #: bp-core/classes/class-bp-admin.php:679
 
 
 
 
3311
  msgid "Thank you for using BuddyPress! 😊"
3312
  msgstr ""
3313
 
3314
- #: bp-core/classes/class-bp-admin.php:689
3315
- msgid "Built by <a href=\"%s\">%s volunteer</a>."
3316
- msgid_plural "Built by <a href=\"%s\">%s volunteers</a>."
3317
  msgstr[0] ""
3318
  msgstr[1] ""
3319
 
3320
- #: bp-core/classes/class-bp-admin.php:745
3321
  msgid "Meet the contributors behind BuddyPress:"
3322
  msgstr ""
3323
 
3324
- #: bp-core/classes/class-bp-admin.php:747
3325
  msgid "Project Leaders"
3326
  msgstr ""
3327
 
3328
- #: bp-core/classes/class-bp-admin.php:752
3329
  msgid "Project Lead"
3330
  msgstr ""
3331
 
3332
- #: bp-core/classes/class-bp-admin.php:757
3333
- #: bp-core/classes/class-bp-admin.php:762
3334
  msgid "Lead Developer"
3335
  msgstr ""
3336
 
3337
- #: bp-core/classes/class-bp-admin.php:766
3338
  msgid "BuddyPress Team"
3339
  msgstr ""
3340
 
3341
- #: bp-core/classes/class-bp-admin.php:771
3342
- #: bp-core/classes/class-bp-admin.php:776
3343
- #: bp-core/classes/class-bp-admin.php:781
3344
- #: bp-core/classes/class-bp-admin.php:791
3345
- #: bp-core/classes/class-bp-admin.php:796
3346
- #: bp-core/classes/class-bp-admin.php:816
3347
- #: bp-core/classes/class-bp-admin.php:821
3348
- #: bp-core/classes/class-bp-admin.php:826
3349
- #: bp-core/classes/class-bp-admin.php:831
3350
  msgid "Core Developer"
3351
  msgstr ""
3352
 
3353
- #: bp-core/classes/class-bp-admin.php:786
3354
  msgid "Navigator"
3355
  msgstr ""
3356
 
3357
- #: bp-core/classes/class-bp-admin.php:801
3358
- #: bp-core/classes/class-bp-admin.php:806
3359
- #: bp-core/classes/class-bp-admin.php:811
3360
- #: bp-core/classes/class-bp-admin.php:836
3361
  msgid "Community Support"
3362
  msgstr ""
3363
 
3364
- #: bp-core/classes/class-bp-admin.php:840
3365
  msgid "Recent Rockstars"
3366
  msgstr ""
3367
 
3368
- #: bp-core/classes/class-bp-admin.php:864
3369
  msgid "Contributors to BuddyPress %s"
3370
  msgstr ""
3371
 
3372
- #: bp-core/classes/class-bp-admin.php:904
3373
  msgid "With our thanks to these Open Source projects"
3374
  msgstr ""
3375
 
3376
- #: bp-core/classes/class-bp-admin.php:918
3377
  msgid "Contributor Emeriti"
3378
  msgstr ""
3379
 
3380
- #: bp-core/classes/class-bp-admin.php:923
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:670
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:634
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-beta2';
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 ***********************************************************/