BuddyPress - Version 3.0.0-beta1

Version Description

= 2.9.4 = See: https://codex.buddypress.org/releases/version-2-9-4/

Download this release

Release Info

Developer DJPaul
Plugin Icon 128x128 BuddyPress
Version 3.0.0-beta1
Comparing to
See all releases

Code changes from version 2.6.0-beta1 to 3.0.0-beta1

Files changed (952) hide show
  1. bp-activity/actions/delete.php +72 -0
  2. bp-activity/actions/favorite.php +31 -0
  3. bp-activity/actions/feeds.php +183 -0
  4. bp-activity/actions/post.php +97 -0
  5. bp-activity/actions/reply.php +60 -0
  6. bp-activity/actions/spam.php +77 -0
  7. bp-activity/actions/unfavorite.php +31 -0
  8. bp-activity/admin/css/admin-rtl.css +23 -5
  9. bp-activity/admin/css/admin-rtl.min.css +1 -1
  10. bp-activity/admin/css/admin.css +23 -5
  11. bp-activity/admin/css/admin.min.css +1 -1
  12. bp-activity/admin/js/admin.min.js +1 -1
  13. bp-activity/bp-activity-actions.php +0 -889
  14. bp-activity/bp-activity-admin.php +16 -20
  15. bp-activity/bp-activity-akismet.php +21 -2
  16. bp-activity/bp-activity-cache.php +21 -0
  17. bp-activity/bp-activity-classes.php +0 -20
  18. bp-activity/bp-activity-embeds.php +4 -6
  19. bp-activity/bp-activity-filters.php +22 -23
  20. bp-activity/bp-activity-functions.php +670 -98
  21. bp-activity/bp-activity-loader.php +1 -5
  22. bp-activity/bp-activity-notifications.php +111 -252
  23. bp-activity/bp-activity-screens.php +0 -378
  24. bp-activity/bp-activity-template.php +82 -78
  25. bp-activity/classes/class-bp-activity-activity.php +124 -123
  26. bp-activity/classes/class-bp-activity-component.php +72 -22
  27. bp-activity/classes/class-bp-activity-list-table.php +30 -16
  28. bp-activity/classes/class-bp-activity-oembed-extension.php +2 -0
  29. bp-activity/classes/class-bp-activity-query.php +1 -1
  30. bp-activity/classes/class-bp-activity-template.php +3 -4
  31. bp-activity/classes/class-bp-akismet.php +18 -5
  32. bp-activity/css/mentions-rtl.css +24 -10
  33. bp-activity/css/mentions-rtl.min.css +1 -1
  34. bp-activity/css/mentions.css +25 -10
  35. bp-activity/css/mentions.min.css +1 -1
  36. bp-activity/js/mentions.js +10 -9
  37. bp-activity/js/mentions.min.js +1 -1
  38. bp-activity/screens/directory.php +37 -0
  39. bp-activity/screens/favorites.php +33 -0
  40. bp-activity/screens/friends.php +36 -0
  41. bp-activity/screens/groups.php +36 -0
  42. bp-activity/screens/just-me.php +32 -0
  43. bp-activity/screens/mentions.php +45 -0
  44. bp-activity/screens/permalink.php +166 -0
  45. bp-activity/screens/settings-email.php +83 -0
  46. bp-blogs/{bp-blogs-actions.php → actions/random.php} +3 -6
  47. bp-blogs/bp-blogs-activity.php +59 -22
  48. bp-blogs/bp-blogs-classes.php +0 -13
  49. bp-blogs/bp-blogs-filters.php +14 -0
  50. bp-blogs/bp-blogs-functions.php +119 -21
  51. bp-blogs/bp-blogs-loader.php +2 -4
  52. bp-blogs/bp-blogs-screens.php +0 -77
  53. bp-blogs/bp-blogs-template.php +109 -32
  54. bp-blogs/bp-blogs-widgets.php +1 -5
  55. bp-blogs/classes/class-bp-blogs-blog.php +50 -10
  56. bp-blogs/classes/class-bp-blogs-component.php +46 -7
  57. bp-blogs/screens/create.php +32 -0
  58. bp-blogs/screens/directory.php +29 -0
  59. bp-blogs/screens/my-blogs.php +27 -0
  60. bp-core/admin/bp-core-admin-classes.php +0 -13
  61. bp-core/admin/bp-core-admin-components.php +14 -16
  62. bp-core/admin/bp-core-admin-functions.php +64 -24
  63. bp-core/admin/bp-core-admin-schema.php +19 -26
  64. bp-core/admin/bp-core-admin-settings.php +35 -37
  65. bp-core/admin/bp-core-admin-slugs.php +11 -4
  66. bp-core/admin/bp-core-admin-tools.php +22 -31
  67. bp-core/admin/css/common-rtl.css +490 -91
  68. bp-core/admin/css/common-rtl.min.css +1 -1
  69. bp-core/admin/css/common.css +490 -91
  70. bp-core/admin/css/common.min.css +1 -1
  71. bp-core/admin/css/customizer-controls-rtl.css +3 -3
  72. bp-core/admin/css/customizer-controls-rtl.min.css +1 -1
  73. bp-core/admin/css/customizer-controls.css +3 -3
  74. bp-core/admin/css/customizer-controls.min.css +1 -1
  75. bp-core/admin/images/autolink-feature.png +0 -0
  76. bp-core/admin/images/bp-emails-feature.png +0 -0
  77. bp-core/admin/images/emoji-feature.png +0 -0
  78. bp-core/admin/images/post-type.png +0 -0
  79. bp-core/admin/images/twentytwelve.png +0 -0
  80. bp-core/admin/js/customizer-controls.min.js +1 -1
  81. bp-core/admin/js/customizer-receiver-emails.min.js +1 -1
  82. bp-core/admin/js/dismissible-admin-notices.js +16 -0
  83. bp-core/admin/js/dismissible-admin-notices.min.js +1 -0
  84. bp-core/bp-core-actions.php +23 -6
  85. bp-core/bp-core-admin.php +27 -23
  86. bp-core/bp-core-adminbar.php +5 -8
  87. bp-core/bp-core-attachments.php +129 -64
  88. bp-core/bp-core-avatars.php +83 -145
  89. bp-core/bp-core-buddybar.php +43 -40
  90. bp-core/bp-core-cache.php +133 -6
  91. bp-core/bp-core-caps.php +65 -20
  92. bp-core/bp-core-catchuri.php +123 -26
  93. bp-core/bp-core-classes.php +0 -40
  94. bp-core/bp-core-cssjs.php +147 -22
  95. bp-core/bp-core-customizer-email.php +3 -18
  96. bp-core/bp-core-dependency.php +18 -30
  97. bp-core/bp-core-filters.php +77 -53
  98. bp-core/bp-core-functions.php +534 -123
  99. bp-core/bp-core-loader.php +1 -8
  100. bp-core/bp-core-moderation.php +5 -5
  101. bp-core/bp-core-options.php +27 -130
  102. bp-core/bp-core-taxonomy.php +116 -8
  103. bp-core/bp-core-template-loader.php +16 -7
  104. bp-core/bp-core-template.php +111 -115
  105. bp-core/bp-core-theme-compatibility.php +30 -15
  106. bp-core/bp-core-update.php +109 -24
  107. bp-core/bp-core-widgets.php +1 -5
  108. bp-core/bp-core-wpabstraction.php +5 -12
  109. bp-core/classes/class-bp-admin.php +171 -132
  110. bp-core/classes/class-bp-attachment-avatar.php +15 -6
  111. bp-core/classes/class-bp-attachment-cover-image.php +2 -35
  112. bp-core/classes/class-bp-attachment.php +45 -37
  113. bp-core/classes/class-bp-button.php +238 -76
  114. bp-core/classes/class-bp-component.php +14 -0
  115. bp-core/classes/class-bp-core-bp-nav-backcompat.php +1 -1
  116. bp-core/classes/class-bp-core-html-element.php +127 -0
  117. bp-core/classes/class-bp-core-login-widget.php +2 -2
  118. bp-core/classes/class-bp-core-nav-item.php +0 -19
  119. bp-core/classes/class-bp-core-nav.php +22 -20
  120. bp-core/classes/class-bp-core-oembed-extension.php +23 -15
  121. bp-core/classes/class-bp-core-sort-by-key-callback.php +0 -83
  122. bp-core/classes/class-bp-core-user.php +24 -27
  123. bp-core/classes/class-bp-core.php +3 -5
  124. bp-core/classes/class-bp-email.php +1 -1
  125. bp-core/classes/class-bp-embed.php +0 -5
  126. bp-core/classes/class-bp-media-extractor.php +1 -1
  127. bp-core/classes/class-bp-members-suggestions.php +5 -4
  128. bp-core/classes/class-bp-phpmailer.php +13 -2
  129. bp-core/classes/class-bp-theme-compat.php +1 -1
  130. bp-core/classes/class-bp-user-query.php +24 -21
  131. bp-core/classes/class-bp-walker-nav-menu.php +1 -3
  132. bp-core/css/admin-bar-rtl.css +20 -5
  133. bp-core/css/admin-bar-rtl.min.css +1 -1
  134. bp-core/css/admin-bar.css +20 -5
  135. bp-core/css/admin-bar.min.css +1 -1
  136. bp-core/css/avatar-rtl.css +23 -16
  137. bp-core/css/avatar-rtl.min.css +1 -1
  138. bp-core/css/avatar.css +23 -16
  139. bp-core/css/avatar.min.css +1 -1
  140. bp-core/css/buddybar-rtl.css +39 -5
  141. bp-core/css/buddybar-rtl.min.css +1 -1
  142. bp-core/css/buddybar.css +39 -5
  143. bp-core/css/buddybar.min.css +1 -1
  144. bp-core/deprecated/1.2.php +1 -1
  145. bp-core/deprecated/1.5.php +1 -14
  146. bp-core/deprecated/1.6.php +7 -2
  147. bp-core/deprecated/1.7.php +1 -1
  148. bp-core/deprecated/1.9.php +19 -16
  149. bp-core/deprecated/2.1.php +4 -4
  150. bp-core/deprecated/2.5.php +3 -3
  151. bp-core/deprecated/2.7.php +26 -0
  152. bp-core/deprecated/2.8.php +203 -0
  153. bp-core/deprecated/2.9.php +30 -0
  154. bp-core/deprecated/3.0.php +187 -0
  155. bp-core/js/avatar.min.js +1 -1
  156. bp-core/js/bp-plupload.js +6 -1
  157. bp-core/js/bp-plupload.min.js +1 -1
  158. bp-core/js/confirm.js +3 -3
  159. bp-core/js/confirm.min.js +1 -1
  160. bp-core/js/cover-image.min.js +1 -1
  161. bp-core/js/jquery-cookie.min.js +0 -1
  162. bp-core/js/jquery-query.min.js +1 -1
  163. bp-core/js/jquery-scroll-to.min.js +0 -1
  164. bp-core/js/jquery.atwho.js +0 -875
  165. bp-core/js/jquery.atwho.min.js +0 -1
  166. bp-core/js/jquery.caret.min.js +0 -1
  167. bp-core/js/{jquery-cookie.js → vendor/jquery-cookie.js} +0 -0
  168. bp-core/js/vendor/jquery-cookie.min.js +1 -0
  169. bp-core/js/{jquery-scroll-to.js → vendor/jquery-scroll-to.js} +0 -0
  170. bp-core/js/vendor/jquery-scroll-to.min.js +1 -0
  171. bp-core/js/vendor/jquery.atwho.js +1212 -0
  172. bp-core/js/vendor/jquery.atwho.min.js +1 -0
  173. bp-core/js/{jquery.atwho.txt → vendor/jquery.atwho.txt} +0 -0
  174. bp-core/js/{jquery.caret.js → vendor/jquery.caret.js} +32 -1
  175. bp-core/js/vendor/jquery.caret.min.js +1 -0
  176. bp-core/js/{jquery.caret.txt → vendor/jquery.caret.txt} +0 -0
  177. bp-core/js/vendor/livestamp.js +129 -0
  178. bp-core/js/vendor/livestamp.min.js +1 -0
  179. bp-core/js/vendor/moment-js/locale/af.js +73 -0
  180. bp-core/js/vendor/moment-js/locale/af.min.js +1 -0
  181. bp-core/js/vendor/moment-js/locale/ar-ly.js +122 -0
  182. bp-core/js/vendor/moment-js/locale/ar-ly.min.js +1 -0
  183. bp-core/js/vendor/moment-js/locale/ar-ma.js +60 -0
  184. bp-core/js/vendor/moment-js/locale/ar-ma.min.js +1 -0
  185. bp-core/js/vendor/moment-js/locale/ar-sa.js +104 -0
  186. bp-core/js/vendor/moment-js/locale/ar-sa.min.js +1 -0
  187. bp-core/js/vendor/moment-js/locale/ar-tn.js +59 -0
  188. bp-core/js/vendor/moment-js/locale/ar-tn.min.js +1 -0
  189. bp-core/js/vendor/moment-js/locale/ar.js +137 -0
  190. bp-core/js/vendor/moment-js/locale/ar.min.js +1 -0
  191. bp-core/js/vendor/moment-js/locale/az.js +105 -0
  192. bp-core/js/vendor/moment-js/locale/az.min.js +1 -0
  193. bp-core/js/vendor/moment-js/locale/be.js +134 -0
  194. bp-core/js/vendor/moment-js/locale/be.min.js +1 -0
  195. bp-core/js/vendor/moment-js/locale/bg.js +90 -0
  196. bp-core/js/vendor/moment-js/locale/bg.min.js +1 -0
  197. bp-core/js/vendor/moment-js/locale/bn.js +119 -0
  198. bp-core/js/vendor/moment-js/locale/bn.min.js +1 -0
  199. bp-core/js/vendor/moment-js/locale/bo.js +119 -0
  200. bp-core/js/vendor/moment-js/locale/bo.min.js +1 -0
  201. bp-core/js/vendor/moment-js/locale/br.js +108 -0
  202. bp-core/js/vendor/moment-js/locale/br.min.js +1 -0
  203. bp-core/js/vendor/moment-js/locale/bs.js +143 -0
  204. bp-core/js/vendor/moment-js/locale/bs.min.js +1 -0
  205. bp-core/js/vendor/moment-js/locale/ca.js +81 -0
  206. bp-core/js/vendor/moment-js/locale/ca.min.js +1 -0
  207. bp-core/js/vendor/moment-js/locale/cs.js +172 -0
  208. bp-core/js/vendor/moment-js/locale/cs.min.js +1 -0
  209. bp-core/js/vendor/moment-js/locale/cv.js +63 -0
  210. bp-core/js/vendor/moment-js/locale/cv.min.js +1 -0
  211. bp-core/js/vendor/moment-js/locale/cy.js +81 -0
  212. bp-core/js/vendor/moment-js/locale/cy.min.js +1 -0
  213. bp-core/js/vendor/moment-js/locale/da.js +60 -0
  214. bp-core/js/vendor/moment-js/locale/da.min.js +1 -0
  215. bp-core/js/vendor/moment-js/locale/de-at.js +79 -0
  216. bp-core/js/vendor/moment-js/locale/de-at.min.js +1 -0
  217. bp-core/js/vendor/moment-js/locale/de.js +78 -0
  218. bp-core/js/vendor/moment-js/locale/de.min.js +1 -0
  219. bp-core/js/vendor/moment-js/locale/dv.js +99 -0
  220. bp-core/js/vendor/moment-js/locale/dv.min.js +1 -0
  221. bp-core/js/vendor/moment-js/locale/el.js +98 -0
  222. bp-core/js/vendor/moment-js/locale/el.min.js +1 -0
  223. bp-core/js/vendor/moment-js/locale/en-au.js +67 -0
  224. bp-core/js/vendor/moment-js/locale/en-au.min.js +1 -0
  225. bp-core/js/vendor/moment-js/locale/en-ca.js +63 -0
  226. bp-core/js/vendor/moment-js/locale/en-ca.min.js +1 -0
  227. bp-core/js/vendor/moment-js/locale/en-gb.js +67 -0
  228. bp-core/js/vendor/moment-js/locale/en-gb.min.js +1 -0
  229. bp-core/js/vendor/moment-js/locale/en-ie.js +67 -0
  230. bp-core/js/vendor/moment-js/locale/en-ie.min.js +1 -0
  231. bp-core/js/vendor/moment-js/locale/en-nz.js +67 -0
  232. bp-core/js/vendor/moment-js/locale/en-nz.min.js +1 -0
  233. bp-core/js/vendor/moment-js/locale/eo.js +73 -0
  234. bp-core/js/vendor/moment-js/locale/eo.min.js +1 -0
  235. bp-core/js/vendor/moment-js/locale/es-do.js +80 -0
  236. bp-core/js/vendor/moment-js/locale/es-do.min.js +1 -0
  237. bp-core/js/vendor/moment-js/locale/es.js +81 -0
  238. bp-core/js/vendor/moment-js/locale/es.min.js +1 -0
  239. bp-core/js/vendor/moment-js/locale/et.js +80 -0
  240. bp-core/js/vendor/moment-js/locale/et.min.js +1 -0
  241. bp-core/js/vendor/moment-js/locale/eu.js +66 -0
  242. bp-core/js/vendor/moment-js/locale/eu.min.js +1 -0
  243. bp-core/js/vendor/moment-js/locale/fa.js +106 -0
  244. bp-core/js/vendor/moment-js/locale/fa.min.js +1 -0
  245. bp-core/js/vendor/moment-js/locale/fi.js +107 -0
  246. bp-core/js/vendor/moment-js/locale/fi.min.js +1 -0
  247. bp-core/js/vendor/moment-js/locale/fo.js +60 -0
  248. bp-core/js/vendor/moment-js/locale/fo.min.js +1 -0
  249. bp-core/js/vendor/moment-js/locale/fr-ca.js +60 -0
  250. bp-core/js/vendor/moment-js/locale/fr-ca.min.js +1 -0
  251. bp-core/js/vendor/moment-js/locale/fr-ch.js +64 -0
  252. bp-core/js/vendor/moment-js/locale/fr-ch.min.js +1 -0
  253. bp-core/js/vendor/moment-js/locale/fr.js +64 -0
  254. bp-core/js/vendor/moment-js/locale/fr.min.js +1 -0
  255. bp-core/js/vendor/moment-js/locale/fy.js +73 -0
  256. bp-core/js/vendor/moment-js/locale/fy.min.js +1 -0
  257. bp-core/js/vendor/moment-js/locale/gd.js +76 -0
  258. bp-core/js/vendor/moment-js/locale/gd.min.js +1 -0
  259. bp-core/js/vendor/moment-js/locale/gl.js +77 -0
  260. bp-core/js/vendor/moment-js/locale/gl.min.js +1 -0
  261. bp-core/js/vendor/moment-js/locale/he.js +99 -0
  262. bp-core/js/vendor/moment-js/locale/he.min.js +1 -0
  263. bp-core/js/vendor/moment-js/locale/hi.js +124 -0
  264. bp-core/js/vendor/moment-js/locale/hi.min.js +1 -0
  265. bp-core/js/vendor/moment-js/locale/hr.js +145 -0
  266. bp-core/js/vendor/moment-js/locale/hr.min.js +1 -0
  267. bp-core/js/vendor/moment-js/locale/hu.js +109 -0
  268. bp-core/js/vendor/moment-js/locale/hu.min.js +1 -0
  269. bp-core/js/vendor/moment-js/locale/hy-am.js +95 -0
  270. bp-core/js/vendor/moment-js/locale/hy-am.min.js +1 -0
  271. bp-core/js/vendor/moment-js/locale/id.js +83 -0
  272. bp-core/js/vendor/moment-js/locale/id.min.js +1 -0
  273. bp-core/js/vendor/moment-js/locale/is.js +127 -0
  274. bp-core/js/vendor/moment-js/locale/is.min.js +1 -0
  275. bp-core/js/vendor/moment-js/locale/it.js +70 -0
  276. bp-core/js/vendor/moment-js/locale/it.min.js +1 -0
  277. bp-core/js/vendor/moment-js/locale/ja.js +76 -0
  278. bp-core/js/vendor/moment-js/locale/ja.min.js +1 -0
  279. bp-core/js/vendor/moment-js/locale/jv.js +83 -0
  280. bp-core/js/vendor/moment-js/locale/jv.min.js +1 -0
  281. bp-core/js/vendor/moment-js/locale/ka.js +89 -0
  282. bp-core/js/vendor/moment-js/locale/ka.min.js +1 -0
  283. bp-core/js/vendor/moment-js/locale/kk.js +87 -0
  284. bp-core/js/vendor/moment-js/locale/kk.min.js +1 -0
  285. bp-core/js/vendor/moment-js/locale/km.js +58 -0
  286. bp-core/js/vendor/moment-js/locale/km.min.js +1 -0
  287. bp-core/js/vendor/moment-js/locale/ko.js +65 -0
  288. bp-core/js/vendor/moment-js/locale/ko.min.js +1 -0
  289. bp-core/js/vendor/moment-js/locale/ky.js +88 -0
  290. bp-core/js/vendor/moment-js/locale/ky.min.js +1 -0
  291. bp-core/js/vendor/moment-js/locale/lb.js +137 -0
  292. bp-core/js/vendor/moment-js/locale/lb.min.js +1 -0
  293. bp-core/js/vendor/moment-js/locale/lo.js +70 -0
  294. bp-core/js/vendor/moment-js/locale/lo.min.js +1 -0
  295. bp-core/js/vendor/moment-js/locale/lt.js +117 -0
  296. bp-core/js/vendor/moment-js/locale/lt.min.js +1 -0
  297. bp-core/js/vendor/moment-js/locale/lv.js +97 -0
  298. bp-core/js/vendor/moment-js/locale/lv.min.js +1 -0
  299. bp-core/js/vendor/moment-js/locale/me.js +111 -0
  300. bp-core/js/vendor/moment-js/locale/me.min.js +1 -0
  301. bp-core/js/vendor/moment-js/locale/mi.js +64 -0
  302. bp-core/js/vendor/moment-js/locale/mi.min.js +1 -0
  303. bp-core/js/vendor/moment-js/locale/mk.js +90 -0
  304. bp-core/js/vendor/moment-js/locale/mk.min.js +1 -0
  305. bp-core/js/vendor/moment-js/locale/ml.js +81 -0
  306. bp-core/js/vendor/moment-js/locale/ml.min.js +1 -0
  307. bp-core/js/vendor/moment-js/locale/mr.js +159 -0
  308. bp-core/js/vendor/moment-js/locale/mr.min.js +1 -0
  309. bp-core/js/vendor/moment-js/locale/ms-my.js +83 -0
  310. bp-core/js/vendor/moment-js/locale/ms-my.min.js +1 -0
  311. bp-core/js/vendor/moment-js/locale/ms.js +82 -0
  312. bp-core/js/vendor/moment-js/locale/ms.min.js +1 -0
  313. bp-core/js/vendor/moment-js/locale/my.js +95 -0
  314. bp-core/js/vendor/moment-js/locale/my.min.js +1 -0
  315. bp-core/js/vendor/moment-js/locale/nb.js +63 -0
  316. bp-core/js/vendor/moment-js/locale/nb.min.js +1 -0
  317. bp-core/js/vendor/moment-js/locale/ne.js +123 -0
  318. bp-core/js/vendor/moment-js/locale/ne.min.js +1 -0
  319. bp-core/js/vendor/moment-js/locale/nl.js +86 -0
  320. bp-core/js/vendor/moment-js/locale/nl.min.js +1 -0
  321. bp-core/js/vendor/moment-js/locale/nn.js +60 -0
  322. bp-core/js/vendor/moment-js/locale/nn.min.js +1 -0
  323. bp-core/js/vendor/moment-js/locale/pa-in.js +124 -0
  324. bp-core/js/vendor/moment-js/locale/pa-in.min.js +1 -0
  325. bp-core/js/vendor/moment-js/locale/pl.js +105 -0
  326. bp-core/js/vendor/moment-js/locale/pl.min.js +1 -0
  327. bp-core/js/vendor/moment-js/locale/pt-br.js +61 -0
  328. bp-core/js/vendor/moment-js/locale/pt-br.min.js +1 -0
  329. bp-core/js/vendor/moment-js/locale/pt.js +65 -0
  330. bp-core/js/vendor/moment-js/locale/pt.min.js +1 -0
  331. bp-core/js/vendor/moment-js/locale/ro.js +75 -0
  332. bp-core/js/vendor/moment-js/locale/ro.min.js +1 -0
  333. bp-core/js/vendor/moment-js/locale/ru.js +183 -0
  334. bp-core/js/vendor/moment-js/locale/ru.min.js +1 -0
  335. bp-core/js/vendor/moment-js/locale/se.js +61 -0
  336. bp-core/js/vendor/moment-js/locale/se.min.js +1 -0
  337. bp-core/js/vendor/moment-js/locale/si.js +71 -0
  338. bp-core/js/vendor/moment-js/locale/si.min.js +1 -0
  339. bp-core/js/vendor/moment-js/locale/sk.js +150 -0
  340. bp-core/js/vendor/moment-js/locale/sk.min.js +1 -0
  341. bp-core/js/vendor/moment-js/locale/sl.js +162 -0
  342. bp-core/js/vendor/moment-js/locale/sl.min.js +1 -0
  343. bp-core/js/vendor/moment-js/locale/sq.js +70 -0
  344. bp-core/js/vendor/moment-js/locale/sq.min.js +1 -0
  345. bp-core/js/vendor/moment-js/locale/sr-cyrl.js +110 -0
  346. bp-core/js/vendor/moment-js/locale/sr-cyrl.min.js +1 -0
  347. bp-core/js/vendor/moment-js/locale/sr.js +110 -0
  348. bp-core/js/vendor/moment-js/locale/sr.min.js +1 -0
  349. bp-core/js/vendor/moment-js/locale/ss.js +89 -0
  350. bp-core/js/vendor/moment-js/locale/ss.min.js +1 -0
  351. bp-core/js/vendor/moment-js/locale/sv.js +69 -0
  352. bp-core/js/vendor/moment-js/locale/sv.min.js +1 -0
  353. bp-core/js/vendor/moment-js/locale/sw.js +59 -0
  354. bp-core/js/vendor/moment-js/locale/sw.min.js +1 -0
  355. bp-core/js/vendor/moment-js/locale/ta.js +129 -0
  356. bp-core/js/vendor/moment-js/locale/ta.min.js +1 -0
  357. bp-core/js/vendor/moment-js/locale/te.js +89 -0
  358. bp-core/js/vendor/moment-js/locale/te.min.js +1 -0
  359. bp-core/js/vendor/moment-js/locale/th.js +67 -0
  360. bp-core/js/vendor/moment-js/locale/th.min.js +1 -0
  361. bp-core/js/vendor/moment-js/locale/tl-ph.js +62 -0
  362. bp-core/js/vendor/moment-js/locale/tl-ph.min.js +1 -0
  363. bp-core/js/vendor/moment-js/locale/tlh.js +120 -0
  364. bp-core/js/vendor/moment-js/locale/tlh.min.js +1 -0
  365. bp-core/js/vendor/moment-js/locale/tr.js +90 -0
  366. bp-core/js/vendor/moment-js/locale/tr.min.js +1 -0
  367. bp-core/js/vendor/moment-js/locale/tzl.js +91 -0
  368. bp-core/js/vendor/moment-js/locale/tzl.min.js +1 -0
  369. bp-core/js/vendor/moment-js/locale/tzm-latn.js +58 -0
  370. bp-core/js/vendor/moment-js/locale/tzm-latn.min.js +1 -0
  371. bp-core/js/vendor/moment-js/locale/tzm.js +58 -0
  372. bp-core/js/vendor/moment-js/locale/tzm.min.js +1 -0
  373. bp-core/js/vendor/moment-js/locale/uk.js +146 -0
  374. bp-core/js/vendor/moment-js/locale/uk.min.js +1 -0
  375. bp-core/js/vendor/moment-js/locale/uz.js +58 -0
  376. bp-core/js/vendor/moment-js/locale/uz.min.js +1 -0
  377. bp-core/js/vendor/moment-js/locale/vi.js +79 -0
  378. bp-core/js/vendor/moment-js/locale/vi.min.js +1 -0
  379. bp-core/js/vendor/moment-js/locale/x-pseudo.js +68 -0
  380. bp-core/js/vendor/moment-js/locale/x-pseudo.min.js +1 -0
  381. bp-core/js/vendor/moment-js/locale/zh-cn.js +127 -0
  382. bp-core/js/vendor/moment-js/locale/zh-cn.min.js +1 -0
  383. bp-core/js/vendor/moment-js/locale/zh-hk.js +105 -0
  384. bp-core/js/vendor/moment-js/locale/zh-hk.min.js +1 -0
  385. bp-core/js/vendor/moment-js/locale/zh-tw.js +104 -0
  386. bp-core/js/vendor/moment-js/locale/zh-tw.min.js +1 -0
  387. bp-core/js/vendor/moment-js/moment.js +4234 -0
  388. bp-core/js/vendor/moment-js/moment.min.js +1 -0
  389. bp-core/js/webcam.js +34 -23
  390. bp-core/js/webcam.min.js +1 -1
  391. bp-core/js/widget-members.min.js +1 -1
  392. bp-forums/bb-config.php +0 -14
  393. bp-forums/bp-forums-actions.php +0 -11
  394. bp-forums/bp-forums-bbpress-sa.php +0 -556
  395. bp-forums/bp-forums-bbpress.php +0 -11
  396. bp-forums/bp-forums-filters.php +0 -251
  397. bp-forums/bp-forums-functions.php +0 -1155
  398. bp-forums/bp-forums-loader.php +0 -281
  399. bp-forums/bp-forums-screens.php +0 -328
  400. bp-forums/bp-forums-template.php +0 -3254
  401. bp-forums/deprecated/1.6.php +0 -260
  402. bp-forums/deprecated/1.7.php +0 -206
  403. bp-friends/actions/add-friend.php +48 -0
  404. bp-friends/actions/remove-friend.php +48 -0
  405. bp-friends/bp-friends-actions.php +0 -95
  406. bp-friends/bp-friends-activity.php +1 -1
  407. bp-friends/bp-friends-cache.php +63 -0
  408. bp-friends/bp-friends-classes.php +0 -13
  409. bp-friends/bp-friends-filters.php +9 -33
  410. bp-friends/bp-friends-functions.php +112 -10
  411. bp-friends/bp-friends-loader.php +1 -5
  412. bp-friends/bp-friends-notifications.php +15 -96
  413. bp-friends/bp-friends-template.php +5 -9
  414. bp-friends/bp-friends-widgets.php +4 -8
  415. bp-friends/classes/class-bp-core-friends-widget.php +9 -12
  416. bp-friends/classes/class-bp-friends-component.php +44 -7
  417. bp-friends/classes/class-bp-friends-friendship.php +350 -63
  418. bp-friends/js/widget-friends.min.js +1 -1
  419. bp-friends/screens/my-friends.php +32 -0
  420. bp-friends/screens/requests.php +65 -0
  421. bp-friends/{bp-friends-screens.php → screens/settings-email.php} +3 -91
  422. bp-groups/actions/access.php +86 -0
  423. bp-groups/{bp-groups-actions.php → actions/create.php} +37 -267
  424. bp-groups/actions/feed.php +47 -0
  425. bp-groups/actions/join.php +57 -0
  426. bp-groups/actions/leave-group.php +61 -0
  427. bp-groups/actions/random.php +23 -0
  428. bp-groups/admin/css/admin-rtl.css +72 -10
  429. bp-groups/admin/css/admin-rtl.min.css +1 -1
  430. bp-groups/admin/css/admin.css +72 -10
  431. bp-groups/admin/css/admin.min.css +1 -1
  432. bp-groups/admin/js/admin.min.js +1 -1
  433. bp-groups/bp-groups-activity.php +92 -47
  434. bp-groups/bp-groups-admin.php +229 -84
  435. bp-groups/bp-groups-cache.php +78 -3
  436. bp-groups/bp-groups-classes.php +0 -17
  437. bp-groups/bp-groups-filters.php +168 -163
  438. bp-groups/bp-groups-forums.php +0 -654
  439. bp-groups/bp-groups-functions.php +387 -153
  440. bp-groups/bp-groups-loader.php +1 -5
  441. bp-groups/bp-groups-notifications.php +85 -18
  442. bp-groups/bp-groups-screens.php +0 -1523
  443. bp-groups/bp-groups-template.php +516 -385
  444. bp-groups/bp-groups-widgets.php +12 -17
  445. bp-groups/classes/class-bp-group-extension.php +40 -24
  446. bp-groups/classes/class-bp-group-member-query.php +14 -13
  447. bp-groups/classes/class-bp-groups-component.php +122 -60
  448. bp-groups/classes/class-bp-groups-group-members-template.php +8 -7
  449. bp-groups/classes/class-bp-groups-group.php +664 -546
  450. bp-groups/classes/class-bp-groups-invite-template.php +8 -7
  451. bp-groups/classes/class-bp-groups-list-table.php +151 -5
  452. bp-groups/classes/class-bp-groups-member-suggestions.php +6 -10
  453. bp-groups/classes/class-bp-groups-member.php +159 -30
  454. bp-groups/classes/class-bp-groups-membership-requests-template.php +3 -4
  455. bp-groups/classes/class-bp-groups-template.php +9 -9
  456. bp-groups/classes/class-bp-groups-theme-compat.php +8 -4
  457. bp-groups/classes/class-bp-groups-widget.php +11 -8
  458. bp-groups/js/widget-groups.min.js +1 -1
  459. bp-groups/screens/directory.php +36 -0
  460. bp-groups/screens/single/activity-permalink.php +27 -0
  461. bp-groups/screens/single/activity.php +36 -0
  462. bp-groups/screens/single/admin.php +23 -0
  463. bp-groups/screens/single/admin/delete-group.php +80 -0
  464. bp-groups/screens/single/admin/edit-details.php +78 -0
  465. bp-groups/screens/single/admin/group-avatar.php +112 -0
  466. bp-groups/screens/single/admin/group-cover-image.php +43 -0
  467. bp-groups/screens/single/admin/group-settings.php +105 -0
  468. bp-groups/screens/single/admin/manage-members.php +183 -0
  469. bp-groups/screens/single/admin/membership-requests.php +85 -0
  470. bp-groups/screens/single/home.php +36 -0
  471. bp-groups/screens/single/members.php +42 -0
  472. bp-groups/screens/single/request-membership.php +66 -0
  473. bp-groups/screens/single/send-invites.php +104 -0
  474. bp-groups/screens/user/invites.php +82 -0
  475. bp-groups/screens/user/my-groups.php +32 -0
  476. bp-groups/screens/user/settings-email.php +120 -0
  477. bp-loader.php +47 -753
  478. bp-members/actions/random.php +22 -0
  479. bp-members/admin/css/admin-rtl.css +95 -47
  480. bp-members/admin/css/admin-rtl.min.css +1 -1
  481. bp-members/admin/css/admin.css +95 -47
  482. bp-members/admin/css/admin.min.css +1 -1
  483. bp-members/admin/js/admin.js +3 -1
  484. bp-members/admin/js/admin.min.js +1 -1
  485. bp-members/bp-members-actions.php +0 -127
  486. bp-members/bp-members-admin.php +0 -4
  487. bp-members/bp-members-cache.php +13 -1
  488. bp-members/bp-members-classes.php +0 -13
  489. bp-members/bp-members-functions.php +177 -231
  490. bp-members/bp-members-loader.php +0 -4
  491. bp-members/bp-members-template.php +93 -41
  492. bp-members/bp-members-widgets.php +4 -10
  493. bp-members/classes/class-bp-core-members-widget.php +11 -15
  494. bp-members/classes/class-bp-core-recently-active-widget.php +2 -4
  495. bp-members/classes/class-bp-core-whos-online-widget.php +2 -5
  496. bp-members/classes/class-bp-members-admin.php +437 -37
  497. bp-members/classes/class-bp-members-component.php +54 -7
  498. bp-members/classes/class-bp-members-list-table.php +5 -2
  499. bp-members/classes/class-bp-members-ms-list-table.php +5 -2
  500. bp-members/classes/class-bp-members-theme-compat.php +15 -16
  501. bp-members/classes/class-bp-signup.php +82 -39
  502. bp-members/screens/activate.php +110 -0
  503. bp-members/screens/directory.php +36 -0
  504. bp-members/screens/profile.php +32 -0
  505. bp-members/{bp-members-screens.php → screens/register.php} +17 -176
  506. bp-messages/actions/bulk-delete.php +39 -0
  507. bp-messages/actions/bulk-manage-star.php +77 -0
  508. bp-messages/actions/bulk-manage.php +75 -0
  509. bp-messages/actions/compose.php +120 -0
  510. bp-messages/actions/delete.php +39 -0
  511. bp-messages/actions/notices.php +94 -0
  512. bp-messages/actions/read.php +49 -0
  513. bp-messages/actions/star.php +45 -0
  514. bp-messages/actions/unread.php +49 -0
  515. bp-messages/actions/view.php +64 -0
  516. bp-messages/bp-messages-actions.php +0 -471
  517. bp-messages/bp-messages-admin.php +14 -0
  518. bp-messages/bp-messages-cache.php +4 -3
  519. bp-messages/bp-messages-classes.php +0 -15
  520. bp-messages/bp-messages-filters.php +1 -1
  521. bp-messages/bp-messages-functions.php +127 -27
  522. bp-messages/bp-messages-loader.php +3 -5
  523. bp-messages/bp-messages-notifications.php +46 -103
  524. bp-messages/bp-messages-screens.php +0 -242
  525. bp-messages/bp-messages-star.php +3 -165
  526. bp-messages/bp-messages-template.php +169 -55
  527. bp-messages/bp-messages-widgets.php +1 -5
  528. bp-messages/classes/class-bp-messages-box-template.php +1 -2
  529. bp-messages/classes/class-bp-messages-component.php +100 -25
  530. bp-messages/classes/class-bp-messages-message.php +46 -20
  531. bp-messages/classes/class-bp-messages-notice.php +38 -6
  532. bp-messages/classes/class-bp-messages-notices-admin.php +252 -0
  533. bp-messages/classes/class-bp-messages-notices-list-table.php +166 -0
  534. bp-messages/classes/class-bp-messages-sitewide-notices-widget.php +1 -1
  535. bp-messages/classes/class-bp-messages-thread.php +80 -19
  536. bp-messages/css/autocomplete/jquery.autocompletefb-rtl.css +53 -47
  537. bp-messages/css/autocomplete/jquery.autocompletefb-rtl.min.css +1 -1
  538. bp-messages/css/autocomplete/jquery.autocompletefb.css +53 -47
  539. bp-messages/css/autocomplete/jquery.autocompletefb.min.css +1 -1
  540. bp-messages/js/autocomplete/jquery.autocomplete.min.js +1 -1
  541. bp-messages/js/autocomplete/jquery.autocompletefb.min.js +1 -1
  542. bp-messages/js/autocomplete/jquery.bgiframe.js +66 -36
  543. bp-messages/js/autocomplete/jquery.bgiframe.min.js +1 -1
  544. bp-messages/js/autocomplete/jquery.dimensions.min.js +1 -1
  545. bp-messages/js/autocomplete/license.bgiframe.txt +5 -5
  546. bp-messages/screens/compose.php +40 -0
  547. bp-messages/screens/inbox.php +37 -0
  548. bp-messages/screens/notices.php +39 -0
  549. bp-messages/screens/sentbox.php +37 -0
  550. bp-messages/screens/settings-email.php +63 -0
  551. bp-messages/screens/starred.php +60 -0
  552. bp-messages/screens/view.php +77 -0
  553. bp-notifications/actions/bulk-manage.php +69 -0
  554. bp-notifications/actions/delete.php +44 -0
  555. bp-notifications/bp-notifications-actions.php +0 -184
  556. bp-notifications/bp-notifications-cache.php +2 -0
  557. bp-notifications/bp-notifications-classes.php +0 -15
  558. bp-notifications/bp-notifications-functions.php +149 -143
  559. bp-notifications/bp-notifications-loader.php +1 -5
  560. bp-notifications/bp-notifications-screens.php +0 -72
  561. bp-notifications/bp-notifications-template.php +3 -7
  562. bp-notifications/classes/class-bp-notifications-component.php +31 -5
  563. bp-notifications/classes/class-bp-notifications-notification.php +79 -27
  564. bp-notifications/screens/read.php +68 -0
  565. bp-notifications/screens/unread.php +68 -0
  566. bp-settings/actions/capabilities.php +83 -0
  567. bp-settings/actions/delete-account.php +57 -0
  568. bp-settings/{bp-settings-actions.php → actions/general.php} +17 -200
  569. bp-settings/actions/notifications.php +56 -0
  570. bp-settings/bp-settings-functions.php +5 -0
  571. bp-settings/bp-settings-loader.php +1 -5
  572. bp-settings/bp-settings-screens.php +0 -99
  573. bp-settings/bp-settings-template.php +1 -1
  574. bp-settings/classes/class-bp-settings-component.php +42 -2
  575. bp-settings/screens/capabilities.php +30 -0
  576. bp-settings/screens/delete-account.php +30 -0
  577. bp-settings/screens/general.php +42 -0
  578. bp-settings/screens/notifications.php +30 -0
  579. bp-templates/bp-legacy/buddypress-functions.php +206 -145
  580. bp-templates/bp-legacy/buddypress/activity/activity-loop.php +1 -1
  581. bp-templates/bp-legacy/buddypress/activity/comment.php +3 -3
  582. bp-templates/bp-legacy/buddypress/activity/entry.php +4 -4
  583. bp-templates/bp-legacy/buddypress/activity/index.php +29 -16
  584. bp-templates/bp-legacy/buddypress/activity/post-form.php +1 -1
  585. bp-templates/bp-legacy/buddypress/activity/single/home.php +7 -3
  586. bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/index.php +3 -3
  587. bp-templates/bp-legacy/buddypress/assets/_attachments/cover-images/index.php +3 -3
  588. bp-templates/bp-legacy/buddypress/assets/emails/single-bp-email.php +45 -28
  589. bp-templates/bp-legacy/buddypress/assets/embeds/activity-rtl.min.css +0 -1
  590. bp-templates/bp-legacy/buddypress/assets/embeds/activity.min.css +0 -1
  591. bp-templates/bp-legacy/buddypress/assets/embeds/activity.php +1 -1
  592. bp-templates/bp-legacy/buddypress/blogs/blogs-loop.php +1 -1
  593. bp-templates/bp-legacy/buddypress/blogs/create.php +7 -4
  594. bp-templates/bp-legacy/buddypress/blogs/index.php +19 -5
  595. bp-templates/bp-legacy/buddypress/common/search/dir-search-form.php +16 -0
  596. bp-templates/bp-legacy/buddypress/forums/forums-loop.php +0 -175
  597. bp-templates/bp-legacy/buddypress/forums/index.php +0 -243
  598. bp-templates/bp-legacy/buddypress/groups/create.php +85 -44
  599. bp-templates/bp-legacy/buddypress/groups/groups-loop.php +8 -4
  600. bp-templates/bp-legacy/buddypress/groups/index.php +25 -8
  601. bp-templates/bp-legacy/buddypress/groups/single/activity.php +4 -4
  602. bp-templates/bp-legacy/buddypress/groups/single/admin.php +19 -456
  603. bp-templates/bp-legacy/buddypress/groups/single/admin/delete-group.php +41 -0
  604. bp-templates/bp-legacy/buddypress/groups/single/admin/edit-details.php +53 -0
  605. bp-templates/bp-legacy/buddypress/groups/single/admin/group-avatar.php +67 -0
  606. bp-templates/bp-legacy/buddypress/groups/single/admin/group-cover-image.php +33 -0
  607. bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php +110 -0
  608. bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php +332 -0
  609. bp-templates/bp-legacy/buddypress/groups/single/admin/membership-requests.php +35 -0
  610. bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php +14 -8
  611. bp-templates/bp-legacy/buddypress/groups/single/forum.php +0 -135
  612. bp-templates/bp-legacy/buddypress/groups/single/forum/edit.php +0 -151
  613. bp-templates/bp-legacy/buddypress/groups/single/forum/topic.php +0 -232
  614. bp-templates/bp-legacy/buddypress/groups/single/group-header.php +14 -8
  615. bp-templates/bp-legacy/buddypress/groups/single/home.php +1 -4
  616. bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php +1 -1
  617. bp-templates/bp-legacy/buddypress/groups/single/members.php +2 -2
  618. bp-templates/bp-legacy/buddypress/groups/single/request-membership.php +6 -1
  619. bp-templates/bp-legacy/buddypress/groups/single/requests-loop.php +3 -3
  620. bp-templates/bp-legacy/buddypress/groups/single/send-invites.php +4 -2
  621. bp-templates/bp-legacy/buddypress/members/activate.php +8 -5
  622. bp-templates/bp-legacy/buddypress/members/index.php +20 -7
  623. bp-templates/bp-legacy/buddypress/members/members-loop.php +3 -3
  624. bp-templates/bp-legacy/buddypress/members/register.php +49 -32
  625. bp-templates/bp-legacy/buddypress/members/single/activity.php +3 -3
  626. bp-templates/bp-legacy/buddypress/members/single/blogs.php +1 -1
  627. bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php +7 -4
  628. bp-templates/bp-legacy/buddypress/members/single/forums.php +0 -66
  629. bp-templates/bp-legacy/buddypress/members/single/forums/topics.php +0 -8
  630. bp-templates/bp-legacy/buddypress/members/single/friends.php +13 -1
  631. bp-templates/bp-legacy/buddypress/members/single/friends/requests.php +6 -1
  632. bp-templates/bp-legacy/buddypress/members/single/groups.php +13 -1
  633. bp-templates/bp-legacy/buddypress/members/single/groups/invites.php +7 -2
  634. bp-templates/bp-legacy/buddypress/members/single/home.php +1 -4
  635. bp-templates/bp-legacy/buddypress/members/single/member-header.php +7 -4
  636. bp-templates/bp-legacy/buddypress/members/single/messages.php +18 -1
  637. bp-templates/bp-legacy/buddypress/members/single/messages/compose.php +5 -0
  638. bp-templates/bp-legacy/buddypress/members/single/messages/message.php +1 -1
  639. bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php +11 -6
  640. bp-templates/bp-legacy/buddypress/members/single/messages/notices-loop.php +2 -2
  641. bp-templates/bp-legacy/buddypress/members/single/messages/single.php +3 -3
  642. bp-templates/bp-legacy/buddypress/members/single/notifications.php +1 -1
  643. bp-templates/bp-legacy/buddypress/members/single/notifications/read.php +5 -0
  644. bp-templates/bp-legacy/buddypress/members/single/notifications/unread.php +5 -0
  645. bp-templates/bp-legacy/buddypress/members/single/plugins.php +2 -2
  646. bp-templates/bp-legacy/buddypress/members/single/profile.php +2 -2
  647. bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php +4 -4
  648. bp-templates/bp-legacy/buddypress/members/single/profile/change-cover-image.php +2 -2
  649. bp-templates/bp-legacy/buddypress/members/single/profile/edit.php +9 -7
  650. bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.php +2 -2
  651. bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php +2 -2
  652. bp-templates/bp-legacy/buddypress/members/single/settings.php +1 -1
  653. bp-templates/bp-legacy/buddypress/members/single/settings/capabilities.php +1 -1
  654. bp-templates/bp-legacy/buddypress/members/single/settings/delete-account.php +1 -1
  655. bp-templates/bp-legacy/buddypress/members/single/settings/general.php +10 -7
  656. bp-templates/bp-legacy/buddypress/members/single/settings/notifications.php +6 -1
  657. bp-templates/bp-legacy/buddypress/members/single/settings/profile.php +5 -0
  658. bp-templates/bp-legacy/css/buddypress-rtl.css +617 -139
  659. bp-templates/bp-legacy/css/buddypress-rtl.min.css +1 -1
  660. bp-templates/bp-legacy/css/buddypress.css +617 -139
  661. bp-templates/bp-legacy/css/buddypress.min.css +1 -1
  662. bp-templates/bp-legacy/{buddypress/assets/embeds/activity-rtl.css → css/embeds-activity-rtl.css} +8 -7
  663. bp-templates/bp-legacy/css/embeds-activity-rtl.min.css +1 -0
  664. bp-templates/bp-legacy/{buddypress/assets/embeds/activity.css → css/embeds-activity.css} +8 -7
  665. bp-templates/bp-legacy/css/embeds-activity.min.css +1 -0
  666. bp-templates/bp-legacy/css/twentyeleven-rtl.css +52 -62
  667. bp-templates/bp-legacy/css/twentyeleven-rtl.min.css +1 -1
  668. bp-templates/bp-legacy/css/twentyeleven.css +52 -62
  669. bp-templates/bp-legacy/css/twentyeleven.min.css +1 -1
  670. bp-templates/bp-legacy/css/twentyeleven.scss +340 -99
  671. bp-templates/bp-legacy/css/twentyfifteen-rtl.css +64 -64
  672. bp-templates/bp-legacy/css/twentyfifteen-rtl.min.css +1 -1
  673. bp-templates/bp-legacy/css/twentyfifteen.css +64 -64
  674. bp-templates/bp-legacy/css/twentyfifteen.min.css +1 -1
  675. bp-templates/bp-legacy/css/twentyfifteen.scss +388 -97
  676. bp-templates/bp-legacy/css/twentyfourteen-rtl.css +60 -45
  677. bp-templates/bp-legacy/css/twentyfourteen-rtl.min.css +1 -1
  678. bp-templates/bp-legacy/css/twentyfourteen.css +60 -45
  679. bp-templates/bp-legacy/css/twentyfourteen.min.css +1 -1
  680. bp-templates/bp-legacy/css/twentyfourteen.scss +242 -61
  681. bp-templates/bp-legacy/css/twentyseventeen-rtl.css +2188 -0
  682. bp-templates/bp-legacy/css/twentyseventeen-rtl.min.css +1 -0
  683. bp-templates/bp-legacy/css/twentyseventeen.css +2188 -0
  684. bp-templates/bp-legacy/css/twentyseventeen.min.css +1 -0
  685. bp-templates/bp-legacy/css/twentyseventeen.scss +3177 -0
  686. bp-templates/bp-legacy/css/twentysixteen-rtl.css +85 -63
  687. bp-templates/bp-legacy/css/twentysixteen-rtl.min.css +1 -1
  688. bp-templates/bp-legacy/css/twentysixteen.css +85 -63
  689. bp-templates/bp-legacy/css/twentysixteen.min.css +1 -1
  690. bp-templates/bp-legacy/css/twentysixteen.scss +365 -87
  691. bp-templates/bp-legacy/css/twentyten-rtl.css +52 -62
  692. bp-templates/bp-legacy/css/twentyten-rtl.min.css +1 -1
  693. bp-templates/bp-legacy/css/twentyten.css +52 -62
  694. bp-templates/bp-legacy/css/twentyten.min.css +1 -1
  695. bp-templates/bp-legacy/css/twentyten.scss +329 -99
  696. bp-templates/bp-legacy/css/twentythirteen-rtl.css +67 -62
  697. bp-templates/bp-legacy/css/twentythirteen-rtl.min.css +1 -1
  698. bp-templates/bp-legacy/css/twentythirteen.css +67 -62
  699. bp-templates/bp-legacy/css/twentythirteen.min.css +1 -1
  700. bp-templates/bp-legacy/css/twentythirteen.scss +348 -88
  701. bp-templates/bp-legacy/css/twentytwelve-rtl.css +54 -60
  702. bp-templates/bp-legacy/css/twentytwelve-rtl.min.css +1 -1
  703. bp-templates/bp-legacy/css/twentytwelve.css +54 -60
  704. bp-templates/bp-legacy/css/twentytwelve.min.css +1 -1
  705. bp-templates/bp-legacy/css/twentytwelve.scss +345 -111
  706. bp-templates/bp-legacy/js/buddypress.js +73 -170
  707. bp-templates/bp-legacy/js/buddypress.min.js +1 -2
  708. bp-templates/bp-legacy/js/password-verify.min.js +1 -1
  709. bp-templates/bp-nouveau/buddypress-functions.php +638 -0
  710. bp-templates/bp-nouveau/buddypress/activity/activity-loop.php +37 -0
  711. bp-templates/bp-nouveau/buddypress/activity/comment-form.php +26 -0
  712. bp-templates/bp-nouveau/buddypress/activity/comment.php +36 -0
  713. bp-templates/bp-nouveau/buddypress/activity/entry.php +66 -0
  714. bp-templates/bp-nouveau/buddypress/activity/index.php +40 -0
  715. bp-templates/bp-nouveau/buddypress/activity/post-form.php +23 -0
  716. bp-templates/bp-nouveau/buddypress/activity/single/home.php +18 -0
  717. bp-templates/bp-nouveau/buddypress/activity/widget.php +62 -0
  718. bp-templates/bp-nouveau/buddypress/assets/_attachments/avatars/camera.php +26 -0
  719. bp-templates/bp-nouveau/buddypress/assets/_attachments/avatars/crop.php +23 -0
  720. bp-templates/bp-nouveau/buddypress/assets/_attachments/avatars/index.php +44 -0
  721. bp-templates/bp-nouveau/buddypress/assets/_attachments/cover-images/index.php +33 -0
  722. bp-templates/bp-nouveau/buddypress/assets/_attachments/uploader.php +36 -0
  723. bp-templates/bp-nouveau/buddypress/assets/emails/single-bp-email.php +248 -0
  724. bp-templates/bp-nouveau/buddypress/assets/embeds/activity.php +17 -0
  725. bp-templates/bp-nouveau/buddypress/assets/embeds/footer.php +10 -0
  726. bp-templates/bp-nouveau/buddypress/assets/embeds/header-activity.php +28 -0
  727. bp-templates/bp-nouveau/buddypress/assets/embeds/header.php +18 -0
  728. bp-templates/bp-nouveau/buddypress/blogs/blogs-loop.php +70 -0
  729. bp-templates/bp-nouveau/buddypress/blogs/create.php +29 -0
  730. bp-templates/bp-nouveau/buddypress/blogs/index.php +27 -0
  731. bp-templates/bp-nouveau/buddypress/common/filters/directory-filters.php +23 -0
  732. bp-templates/bp-nouveau/buddypress/common/filters/groups-screens-filters.php +22 -0
  733. bp-templates/bp-nouveau/buddypress/common/filters/user-screens-filters.php +22 -0
  734. bp-templates/bp-nouveau/buddypress/common/js-templates/activity/form.php +44 -0
  735. bp-templates/bp-nouveau/buddypress/common/js-templates/invites/index.php +122 -0
  736. bp-templates/bp-nouveau/buddypress/common/js-templates/messages/index.php +308 -0
  737. bp-templates/bp-nouveau/buddypress/common/nav/directory-nav.php +36 -0
  738. bp-templates/bp-nouveau/buddypress/common/notices/template-notices.php +17 -0
  739. bp-templates/bp-nouveau/buddypress/common/search-and-filters-bar.php +30 -0
  740. bp-templates/bp-nouveau/buddypress/common/search/search-form.php +22 -0
  741. bp-templates/bp-nouveau/buddypress/groups/create-invites.php +14 -0
  742. bp-templates/bp-nouveau/buddypress/groups/create.php +39 -0
  743. bp-templates/bp-nouveau/buddypress/groups/groups-loop.php +75 -0
  744. bp-templates/bp-nouveau/buddypress/groups/index.php +29 -0
  745. bp-templates/bp-nouveau/buddypress/groups/single/activity.php +38 -0
  746. bp-templates/bp-nouveau/buddypress/groups/single/admin.php +15 -0
  747. bp-templates/bp-nouveau/buddypress/groups/single/admin/delete-group.php +18 -0
  748. bp-templates/bp-nouveau/buddypress/groups/single/admin/edit-details.php +24 -0
  749. bp-templates/bp-nouveau/buddypress/groups/single/admin/group-avatar.php +109 -0
  750. bp-templates/bp-nouveau/buddypress/groups/single/admin/group-cover-image.php +26 -0
  751. bp-templates/bp-nouveau/buddypress/groups/single/admin/group-settings.php +98 -0
  752. bp-templates/bp-nouveau/buddypress/groups/single/admin/manage-members.php +115 -0
  753. bp-templates/bp-nouveau/buddypress/groups/single/admin/membership-requests.php +13 -0
  754. bp-templates/bp-nouveau/buddypress/groups/single/cover-image-header.php +62 -0
  755. bp-templates/bp-nouveau/buddypress/groups/single/default-front.php +56 -0
  756. bp-templates/bp-nouveau/buddypress/groups/single/group-header.php +48 -0
  757. bp-templates/bp-nouveau/buddypress/groups/single/home.php +42 -0
  758. bp-templates/bp-nouveau/buddypress/groups/single/members-loop.php +69 -0
  759. bp-templates/bp-nouveau/buddypress/groups/single/members.php +23 -0
  760. bp-templates/bp-nouveau/buddypress/groups/single/parts/admin-subnav.php +36 -0
  761. bp-templates/bp-nouveau/buddypress/groups/single/parts/header-item-actions.php +38 -0
  762. bp-templates/bp-nouveau/buddypress/groups/single/parts/item-nav.php +38 -0
  763. bp-templates/bp-nouveau/buddypress/groups/single/plugins.php +12 -0
  764. bp-templates/bp-nouveau/buddypress/groups/single/request-membership.php +26 -0
  765. bp-templates/bp-nouveau/buddypress/groups/single/requests-loop.php +39 -0
  766. bp-templates/bp-nouveau/buddypress/groups/single/send-invites.php +8 -0
  767. bp-templates/bp-nouveau/buddypress/members/activate.php +45 -0
  768. bp-templates/bp-nouveau/buddypress/members/index.php +25 -0
  769. bp-templates/bp-nouveau/buddypress/members/members-loop.php +81 -0
  770. bp-templates/bp-nouveau/buddypress/members/register.php +116 -0
  771. bp-templates/bp-nouveau/buddypress/members/single/activity.php +36 -0
  772. bp-templates/bp-nouveau/buddypress/members/single/blogs.php +41 -0
  773. bp-templates/bp-nouveau/buddypress/members/single/cover-image-header.php +50 -0
  774. bp-templates/bp-nouveau/buddypress/members/single/default-front.php +57 -0
  775. bp-templates/bp-nouveau/buddypress/members/single/friends.php +47 -0
  776. bp-templates/bp-nouveau/buddypress/members/single/friends/requests.php +49 -0
  777. bp-templates/bp-nouveau/buddypress/members/single/groups.php +56 -0
  778. bp-templates/bp-nouveau/buddypress/members/single/groups/invites.php +64 -0
  779. bp-templates/bp-nouveau/buddypress/members/single/home.php +31 -0
  780. bp-templates/bp-nouveau/buddypress/members/single/member-header.php +34 -0
  781. bp-templates/bp-nouveau/buddypress/members/single/messages.php +25 -0
  782. bp-templates/bp-nouveau/buddypress/members/single/notifications.php +39 -0
  783. bp-templates/bp-nouveau/buddypress/members/single/notifications/notifications-loop.php +60 -0
  784. bp-templates/bp-nouveau/buddypress/members/single/parts/item-nav.php +38 -0
  785. bp-templates/bp-nouveau/buddypress/members/single/parts/item-subnav.php +28 -0
  786. bp-templates/bp-nouveau/buddypress/members/single/parts/profile-visibility.php +48 -0
  787. bp-templates/bp-nouveau/buddypress/members/single/plugins.php +36 -0
  788. bp-templates/bp-nouveau/buddypress/members/single/profile.php +61 -0
  789. bp-templates/bp-nouveau/buddypress/members/single/profile/change-avatar.php +81 -0
  790. bp-templates/bp-nouveau/buddypress/members/single/profile/change-cover-image.php +23 -0
  791. bp-templates/bp-nouveau/buddypress/members/single/profile/edit.php +62 -0
  792. bp-templates/bp-nouveau/buddypress/members/single/profile/profile-loop.php +64 -0
  793. bp-templates/bp-nouveau/buddypress/members/single/profile/profile-wp.php +54 -0
  794. bp-templates/bp-nouveau/buddypress/members/single/settings.php +43 -0
  795. bp-templates/bp-nouveau/buddypress/members/single/settings/capabilities.php +26 -0
  796. bp-templates/bp-nouveau/buddypress/members/single/settings/delete-account.php +28 -0
  797. bp-templates/bp-nouveau/buddypress/members/single/settings/general.php +48 -0
  798. bp-templates/bp-nouveau/buddypress/members/single/settings/group-invites.php +31 -0
  799. bp-templates/bp-nouveau/buddypress/members/single/settings/notifications.php +27 -0
  800. bp-templates/bp-nouveau/buddypress/members/single/settings/profile.php +67 -0
  801. bp-templates/bp-nouveau/common-styles/_bp-mixins.scss +651 -0
  802. bp-templates/bp-nouveau/common-styles/_bp-variables.scss +98 -0
  803. bp-templates/bp-nouveau/common-styles/_bp_activity_comments.scss +155 -0
  804. bp-templates/bp-nouveau/common-styles/_bp_activity_entries.scss +427 -0
  805. bp-templates/bp-nouveau/common-styles/_bp_animations.scss +84 -0
  806. bp-templates/bp-nouveau/common-styles/_bp_blogs_loop.scss +45 -0
  807. bp-templates/bp-nouveau/common-styles/_bp_buttons.scss +398 -0
  808. bp-templates/bp-nouveau/common-styles/_bp_comment_form.scss +60 -0
  809. bp-templates/bp-nouveau/common-styles/_bp_cover_image.scss +41 -0
  810. bp-templates/bp-nouveau/common-styles/_bp_filters.scss +192 -0
  811. bp-templates/bp-nouveau/common-styles/_bp_forms.scss +407 -0
  812. bp-templates/bp-nouveau/common-styles/_bp_general_classes.scss +54 -0
  813. bp-templates/bp-nouveau/common-styles/_bp_generic_and_typography.scss +254 -0
  814. bp-templates/bp-nouveau/common-styles/_bp_group_header.scss +99 -0
  815. bp-templates/bp-nouveau/common-styles/_bp_groups_activity.scss +7 -0
  816. bp-templates/bp-nouveau/common-styles/_bp_groups_create.scss +13 -0
  817. bp-templates/bp-nouveau/common-styles/_bp_groups_item_body.scss +18 -0
  818. bp-templates/bp-nouveau/common-styles/_bp_groups_loop.scss +117 -0
  819. bp-templates/bp-nouveau/common-styles/_bp_groups_management.scss +140 -0
  820. bp-templates/bp-nouveau/common-styles/_bp_info_messages.scss +311 -0
  821. bp-templates/bp-nouveau/common-styles/_bp_item_body_general.scss +33 -0
  822. bp-templates/bp-nouveau/common-styles/_bp_item_header_general.scss +172 -0
  823. bp-templates/bp-nouveau/common-styles/_bp_layouts.scss +650 -0
  824. bp-templates/bp-nouveau/common-styles/_bp_lists.scss +246 -0
  825. bp-templates/bp-nouveau/common-styles/_bp_members_loop.scss +94 -0
  826. bp-templates/bp-nouveau/common-styles/_bp_messages.scss +129 -0
  827. bp-templates/bp-nouveau/common-styles/_bp_navigation.scss +529 -0
  828. bp-templates/bp-nouveau/common-styles/_bp_pagination.scss +46 -0
  829. bp-templates/bp-nouveau/common-styles/_bp_registration.scss +117 -0
  830. bp-templates/bp-nouveau/common-styles/_bp_search.scss +130 -0
  831. bp-templates/bp-nouveau/common-styles/_bp_tables.scss +198 -0
  832. bp-templates/bp-nouveau/common-styles/_bp_tooltips.scss +99 -0
  833. bp-templates/bp-nouveau/common-styles/_bp_update_form.scss +146 -0
  834. bp-templates/bp-nouveau/common-styles/_bp_user_header.scss +19 -0
  835. bp-templates/bp-nouveau/common-styles/_bp_user_profile.scss +236 -0
  836. bp-templates/bp-nouveau/common-styles/_bp_user_settings.scss +43 -0
  837. bp-templates/bp-nouveau/common-styles/_bp_widgets.scss +104 -0
  838. bp-templates/bp-nouveau/css/buddypress-rtl.css +5133 -0
  839. bp-templates/bp-nouveau/css/buddypress-rtl.min.css +1 -0
  840. bp-templates/bp-nouveau/css/buddypress.css +5133 -0
  841. bp-templates/bp-nouveau/css/buddypress.min.css +1 -0
  842. bp-templates/bp-nouveau/css/embeds-activity-rtl.css +154 -0
  843. bp-templates/bp-nouveau/css/embeds-activity-rtl.min.css +1 -0
  844. bp-templates/bp-nouveau/css/embeds-activity.css +154 -0
  845. bp-templates/bp-nouveau/css/embeds-activity.min.css +1 -0
  846. bp-templates/bp-nouveau/includes/activity/ajax.php +618 -0
  847. bp-templates/bp-nouveau/includes/activity/functions.php +512 -0
  848. bp-templates/bp-nouveau/includes/activity/loader.php +116 -0
  849. bp-templates/bp-nouveau/includes/activity/template-tags.php +895 -0
  850. bp-templates/bp-nouveau/includes/activity/widgets.php +184 -0
  851. bp-templates/bp-nouveau/includes/ajax.php +124 -0
  852. bp-templates/bp-nouveau/includes/blogs/ajax.php +30 -0
  853. bp-templates/bp-nouveau/includes/blogs/functions.php +221 -0
  854. bp-templates/bp-nouveau/includes/blogs/loader.php +107 -0
  855. bp-templates/bp-nouveau/includes/blogs/template-tags.php +310 -0
  856. bp-templates/bp-nouveau/includes/classes.php +306 -0
  857. bp-templates/bp-nouveau/includes/customizer-controls.php +98 -0
  858. bp-templates/bp-nouveau/includes/customizer.php +354 -0
  859. bp-templates/bp-nouveau/includes/friends/ajax.php +221 -0
  860. bp-templates/bp-nouveau/includes/friends/loader.php +128 -0
  861. bp-templates/bp-nouveau/includes/functions.php +1338 -0
  862. bp-templates/bp-nouveau/includes/groups/ajax.php +470 -0
  863. bp-templates/bp-nouveau/includes/groups/classes.php +355 -0
  864. bp-templates/bp-nouveau/includes/groups/functions.php +1118 -0
  865. bp-templates/bp-nouveau/includes/groups/loader.php +184 -0
  866. bp-templates/bp-nouveau/includes/groups/template-tags.php +1342 -0
  867. bp-templates/bp-nouveau/includes/members/functions.php +470 -0
  868. bp-templates/bp-nouveau/includes/members/loader.php +142 -0
  869. bp-templates/bp-nouveau/includes/members/template-tags.php +987 -0
  870. bp-templates/bp-nouveau/includes/messages/ajax.php +654 -0
  871. bp-templates/bp-nouveau/includes/messages/functions.php +413 -0
  872. bp-templates/bp-nouveau/includes/messages/loader.php +135 -0
  873. bp-templates/bp-nouveau/includes/messages/template-tags.php +62 -0
  874. bp-templates/bp-nouveau/includes/notifications/functions.php +231 -0
  875. bp-templates/bp-nouveau/includes/notifications/loader.php +104 -0
  876. bp-templates/bp-nouveau/includes/notifications/template-tags.php +123 -0
  877. bp-templates/bp-nouveau/includes/template-tags.php +2298 -0
  878. bp-templates/bp-nouveau/includes/xprofile/functions.php +45 -0
  879. bp-templates/bp-nouveau/includes/xprofile/loader.php +79 -0
  880. bp-templates/bp-nouveau/includes/xprofile/template-tags.php +72 -0
  881. bp-templates/bp-nouveau/js/buddypress-activity-post-form.js +741 -0
  882. bp-templates/bp-nouveau/js/buddypress-activity-post-form.min.js +1 -0
  883. bp-templates/bp-nouveau/js/buddypress-activity.js +835 -0
  884. bp-templates/bp-nouveau/js/buddypress-activity.min.js +1 -0
  885. bp-templates/bp-nouveau/js/buddypress-group-invites.js +819 -0
  886. bp-templates/bp-nouveau/js/buddypress-group-invites.min.js +1 -0
  887. bp-templates/bp-nouveau/js/buddypress-messages.js +1298 -0
  888. bp-templates/bp-nouveau/js/buddypress-messages.min.js +1 -0
  889. bp-templates/bp-nouveau/js/buddypress-notifications.js +139 -0
  890. bp-templates/bp-nouveau/js/buddypress-notifications.min.js +1 -0
  891. bp-templates/bp-nouveau/js/buddypress-nouveau.js +872 -0
  892. bp-templates/bp-nouveau/js/buddypress-nouveau.min.js +1 -0
  893. bp-templates/bp-nouveau/js/buddypress-xprofile.js +78 -0
  894. bp-templates/bp-nouveau/js/buddypress-xprofile.min.js +1 -0
  895. bp-templates/bp-nouveau/js/customizer.js +64 -0
  896. bp-templates/bp-nouveau/js/customizer.min.js +1 -0
  897. bp-templates/bp-nouveau/js/password-verify.js +44 -0
  898. bp-templates/bp-nouveau/js/password-verify.min.js +1 -0
  899. bp-templates/bp-nouveau/sass/_nouveau_invites.scss +145 -0
  900. bp-templates/bp-nouveau/sass/_nouveau_messages.scss +394 -0
  901. bp-templates/bp-nouveau/sass/buddypress.scss +439 -0
  902. bp-themes/bp-default/_inc/ajax.php +51 -13
  903. bp-themes/bp-default/_inc/global.js +40 -4
  904. bp-themes/bp-default/groups/single/home.php +3 -0
  905. bp-xprofile/actions/delete-avatar.php +40 -0
  906. bp-xprofile/admin/css/admin-rtl.css +322 -189
  907. bp-xprofile/admin/css/admin-rtl.min.css +1 -1
  908. bp-xprofile/admin/css/admin.css +322 -189
  909. bp-xprofile/admin/css/admin.min.css +1 -1
  910. bp-xprofile/admin/js/admin.js +46 -3
  911. bp-xprofile/admin/js/admin.min.js +1 -1
  912. bp-xprofile/bp-xprofile-activity.php +2 -2
  913. bp-xprofile/bp-xprofile-admin.php +169 -56
  914. bp-xprofile/bp-xprofile-cache.php +10 -29
  915. bp-xprofile/bp-xprofile-caps.php +31 -3
  916. bp-xprofile/bp-xprofile-classes.php +0 -28
  917. bp-xprofile/bp-xprofile-cssjs.php +3 -3
  918. bp-xprofile/bp-xprofile-filters.php +45 -15
  919. bp-xprofile/bp-xprofile-functions.php +65 -16
  920. bp-xprofile/bp-xprofile-loader.php +1 -5
  921. bp-xprofile/bp-xprofile-screens.php +0 -347
  922. bp-xprofile/bp-xprofile-settings.php +1 -1
  923. bp-xprofile/bp-xprofile-template.php +98 -68
  924. bp-xprofile/classes/class-bp-xprofile-component.php +50 -8
  925. bp-xprofile/classes/class-bp-xprofile-data-template.php +1 -2
  926. bp-xprofile/classes/class-bp-xprofile-field-type-checkbox.php +5 -4
  927. bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php +314 -27
  928. bp-xprofile/classes/class-bp-xprofile-field-type-multiselectbox.php +7 -3
  929. bp-xprofile/classes/class-bp-xprofile-field-type-number.php +7 -3
  930. bp-xprofile/classes/class-bp-xprofile-field-type-placeholder.php +2 -0
  931. bp-xprofile/classes/class-bp-xprofile-field-type-radiobutton.php +5 -5
  932. bp-xprofile/classes/class-bp-xprofile-field-type-selectbox.php +7 -3
  933. bp-xprofile/classes/class-bp-xprofile-field-type-telephone.php +156 -0
  934. bp-xprofile/classes/class-bp-xprofile-field-type-textarea.php +7 -3
  935. bp-xprofile/classes/class-bp-xprofile-field-type-textbox.php +7 -3
  936. bp-xprofile/classes/class-bp-xprofile-field-type-url.php +15 -8
  937. bp-xprofile/classes/class-bp-xprofile-field-type.php +43 -1
  938. bp-xprofile/classes/class-bp-xprofile-field.php +119 -37
  939. bp-xprofile/classes/class-bp-xprofile-group.php +36 -8
  940. bp-xprofile/classes/class-bp-xprofile-profiledata.php +78 -15
  941. bp-xprofile/classes/class-bp-xprofile-query.php +1 -1
  942. bp-xprofile/classes/class-bp-xprofile-user-admin.php +16 -24
  943. bp-xprofile/screens/change-avatar.php +101 -0
  944. bp-xprofile/screens/change-cover-image.php +37 -0
  945. bp-xprofile/screens/edit.php +156 -0
  946. bp-xprofile/screens/public.php +36 -0
  947. bp-xprofile/{bp-xprofile-actions.php → screens/settings-profile.php} +20 -36
  948. buddypress.pot +4736 -3374
  949. class-buddypress.php +755 -0
  950. composer.json +32 -32
  951. humans.txt +33 -1
  952. readme.txt +10 -209
bp-activity/actions/delete.php ADDED
@@ -0,0 +1,72 @@
1
+ <?php
2
+ /**
3
+ * Activity: Delete action
4
+ *
5
+ * @package BuddyPress
6
+ * @subpackage ActivityActions
7
+ * @since 3.0.0
8
+ */
9
+
10
+ /**
11
+ * Delete specific activity item and redirect to previous page.
12
+ *
13
+ * @since 1.1.0
14
+ *
15
+ * @param int $activity_id Activity id to be deleted. Defaults to 0.
16
+ * @return bool False on failure.
17
+ */
18
+ function bp_activity_action_delete_activity( $activity_id = 0 ) {
19
+ // Not viewing activity or action is not delete.
20
+ if ( !bp_is_activity_component() || !bp_is_current_action( 'delete' ) )
21
+ return false;
22
+
23
+ if ( empty( $activity_id ) && bp_action_variable( 0 ) )
24
+ $activity_id = (int) bp_action_variable( 0 );
25
+
26
+ // Not viewing a specific activity item.
27
+ if ( empty( $activity_id ) )
28
+ return false;
29
+
30
+ // Check the nonce.
31
+ check_admin_referer( 'bp_activity_delete_link' );
32
+
33
+ // Load up the activity item.
34
+ $activity = new BP_Activity_Activity( $activity_id );
35
+
36
+ // Check access.
37
+ if ( ! bp_activity_user_can_delete( $activity ) )
38
+ return false;
39
+
40
+ /**
41
+ * Fires before the deletion so plugins can still fetch information about it.
42
+ *
43
+ * @since 1.5.0
44
+ *
45
+ * @param int $activity_id The activity ID.
46
+ * @param int $user_id The user associated with the activity.
47
+ */
48
+ do_action( 'bp_activity_before_action_delete_activity', $activity_id, $activity->user_id );
49
+
50
+ // Delete the activity item and provide user feedback.
51
+ if ( bp_activity_delete( array( 'id' => $activity_id, 'user_id' => $activity->user_id ) ) )
52
+ bp_core_add_message( __( 'Activity deleted successfully', 'buddypress' ) );
53
+ else
54
+ bp_core_add_message( __( 'There was an error when deleting that activity', 'buddypress' ), 'error' );
55
+
56
+ /**
57
+ * Fires after the deletion so plugins can act afterwards based on the activity.
58
+ *
59
+ * @since 1.1.0
60
+ *
61
+ * @param int $activity_id The activity ID.
62
+ * @param int $user_id The user associated with the activity.
63
+ */
64
+ do_action( 'bp_activity_action_delete_activity', $activity_id, $activity->user_id );
65
+
66
+ // Check for the redirect query arg, otherwise let WP handle things.
67
+ if ( !empty( $_GET['redirect_to'] ) )
68
+ bp_core_redirect( esc_url( $_GET['redirect_to'] ) );
69
+ else
70
+ bp_core_redirect( wp_get_referer() );
71
+ }
72
+ add_action( 'bp_actions', 'bp_activity_action_delete_activity' );
bp-activity/actions/favorite.php ADDED
@@ -0,0 +1,31 @@
1
+ <?php
2
+ /**
3
+ * Activity: Favorite action
4
+ *
5
+ * @package BuddyPress
6
+ * @subpackage ActivityActions
7
+ * @since 3.0.0
8
+ */
9
+
10
+ /**
11
+ * Mark activity as favorite.
12
+ *
13
+ * @since 1.2.0
14
+ *
15
+ * @return bool False on failure.
16
+ */
17
+ function bp_activity_action_mark_favorite() {
18
+ if ( !is_user_logged_in() || !bp_is_activity_component() || !bp_is_current_action( 'favorite' ) )
19
+ return false;
20
+
21
+ // Check the nonce.
22
+ check_admin_referer( 'mark_favorite' );
23
+
24
+ if ( bp_activity_add_user_favorite( bp_action_variable( 0 ) ) )
25
+ bp_core_add_message( __( 'Activity marked as favorite.', 'buddypress' ) );
26
+ else
27
+ bp_core_add_message( __( 'There was an error marking that activity as a favorite. Please try again.', 'buddypress' ), 'error' );
28
+
29
+ bp_core_redirect( wp_get_referer() . '#activity-' . bp_action_variable( 0 ) );
30
+ }
31
+ add_action( 'bp_actions', 'bp_activity_action_mark_favorite' );
bp-activity/actions/feeds.php ADDED
@@ -0,0 +1,183 @@
1
+ <?php
2
+ /**
3
+ * Activity: RSS feed actions
4
+ *
5
+ * @package BuddyPress
6
+ * @subpackage ActivityActions
7
+ * @since 3.0.0
8
+ */
9
+
10
+ /**
11
+ * Load the sitewide activity feed.
12
+ *
13
+ * @since 1.0.0
14
+ *
15
+ * @return bool False on failure.
16
+ */
17
+ function bp_activity_action_sitewide_feed() {
18
+ $bp = buddypress();
19
+
20
+ if ( ! bp_is_activity_component() || ! bp_is_current_action( 'feed' ) || bp_is_user() || ! empty( $bp->groups->current_group ) )
21
+ return false;
22
+
23
+ // Setup the feed.
24
+ buddypress()->activity->feed = new BP_Activity_Feed( array(
25
+ 'id' => 'sitewide',
26
+
27
+ /* translators: Sitewide activity RSS title - "[Site Name] | Site Wide Activity" */
28
+ 'title' => sprintf( __( '%s | Site-Wide Activity', 'buddypress' ), bp_get_site_name() ),
29
+
30
+ 'link' => bp_get_activity_directory_permalink(),
31
+ 'description' => __( 'Activity feed for the entire site.', 'buddypress' ),
32
+ 'activity_args' => 'display_comments=threaded'
33
+ ) );
34
+ }
35
+ add_action( 'bp_actions', 'bp_activity_action_sitewide_feed' );
36
+
37
+ /**
38
+ * Load a user's personal activity feed.
39
+ *
40
+ * @since 1.0.0
41
+ *
42
+ * @return bool False on failure.
43
+ */
44
+ function bp_activity_action_personal_feed() {
45
+ if ( ! bp_is_user_activity() || ! bp_is_current_action( 'feed' ) ) {
46
+ return false;
47
+ }
48
+
49
+ // Setup the feed.
50
+ buddypress()->activity->feed = new BP_Activity_Feed( array(
51
+ 'id' => 'personal',
52
+
53
+ /* translators: Personal activity RSS title - "[Site Name] | [User Display Name] | Activity" */
54
+ 'title' => sprintf( __( '%1$s | %2$s | Activity', 'buddypress' ), bp_get_site_name(), bp_get_displayed_user_fullname() ),
55
+
56
+ 'link' => trailingslashit( bp_displayed_user_domain() . bp_get_activity_slug() ),
57
+ 'description' => sprintf( __( 'Activity feed for %s.', 'buddypress' ), bp_get_displayed_user_fullname() ),
58
+ 'activity_args' => 'user_id=' . bp_displayed_user_id()
59
+ ) );
60
+ }
61
+ add_action( 'bp_actions', 'bp_activity_action_personal_feed' );
62
+
63
+ /**
64
+ * Load a user's friends' activity feed.
65
+ *
66
+ * @since 1.0.0
67
+ *
68
+ * @return bool False on failure.
69
+ */
70
+ function bp_activity_action_friends_feed() {
71
+ if ( ! bp_is_active( 'friends' ) || ! bp_is_user_activity() || ! bp_is_current_action( bp_get_friends_slug() ) || ! bp_is_action_variable( 'feed', 0 ) ) {
72
+ return false;
73
+ }
74
+
75
+ // Setup the feed.
76
+ buddypress()->activity->feed = new BP_Activity_Feed( array(
77
+ 'id' => 'friends',
78
+
79
+ /* translators: Friends activity RSS title - "[Site Name] | [User Display Name] | Friends Activity" */
80
+ 'title' => sprintf( __( '%1$s | %2$s | Friends Activity', 'buddypress' ), bp_get_site_name(), bp_get_displayed_user_fullname() ),
81
+
82
+ 'link' => trailingslashit( bp_displayed_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() ),
83
+ 'description' => sprintf( __( "Activity feed for %s's friends.", 'buddypress' ), bp_get_displayed_user_fullname() ),
84
+ 'activity_args' => 'scope=friends'
85
+ ) );
86
+ }
87
+ add_action( 'bp_actions', 'bp_activity_action_friends_feed' );
88
+
89
+ /**
90
+ * Load the activity feed for a user's groups.
91
+ *
92
+ * @since 1.2.0
93
+ *
94
+ * @return bool False on failure.
95
+ */
96
+ function bp_activity_action_my_groups_feed() {
97
+ if ( ! bp_is_active( 'groups' ) || ! bp_is_user_activity() || ! bp_is_current_action( bp_get_groups_slug() ) || ! bp_is_action_variable( 'feed', 0 ) ) {
98
+ return false;
99
+ }
100
+
101
+ // Get displayed user's group IDs.
102
+ $groups = groups_get_user_groups();
103
+ $group_ids = implode( ',', $groups['groups'] );
104
+
105
+ // Setup the feed.
106
+ buddypress()->activity->feed = new BP_Activity_Feed( array(
107
+ 'id' => 'mygroups',
108
+
109
+ /* translators: Member groups activity RSS title - "[Site Name] | [User Display Name] | Groups Activity" */
110
+ 'title' => sprintf( __( '%1$s | %2$s | Group Activity', 'buddypress' ), bp_get_site_name(), bp_get_displayed_user_fullname() ),
111
+
112
+ 'link' => trailingslashit( bp_displayed_user_domain() . bp_get_activity_slug() . '/' . bp_get_groups_slug() ),
113
+ 'description' => sprintf( __( "Public group activity feed of which %s is a member.", 'buddypress' ), bp_get_displayed_user_fullname() ),
114
+ 'activity_args' => array(
115
+ 'object' => buddypress()->groups->id,
116
+ 'primary_id' => $group_ids,
117
+ 'display_comments' => 'threaded'
118
+ )
119
+ ) );
120
+ }
121
+ add_action( 'bp_actions', 'bp_activity_action_my_groups_feed' );
122
+
123
+ /**
124
+ * Load a user's @mentions feed.
125
+ *
126
+ * @since 1.2.0
127
+ *
128
+ * @return bool False on failure.
129
+ */
130
+ function bp_activity_action_mentions_feed() {
131
+ if ( ! bp_activity_do_mentions() ) {
132
+ return false;
133
+ }
134
+
135
+ if ( !bp_is_user_activity() || ! bp_is_current_action( 'mentions' ) || ! bp_is_action_variable( 'feed', 0 ) ) {
136
+ return false;
137
+ }
138
+
139
+ // Setup the feed.
140
+ buddypress()->activity->feed = new BP_Activity_Feed( array(
141
+ 'id' => 'mentions',
142
+
143
+ /* translators: User mentions activity RSS title - "[Site Name] | [User Display Name] | Mentions" */
144
+ 'title' => sprintf( __( '%1$s | %2$s | Mentions', 'buddypress' ), bp_get_site_name(), bp_get_displayed_user_fullname() ),
145
+
146
+ 'link' => bp_displayed_user_domain() . bp_get_activity_slug() . '/mentions/',
147
+ 'description' => sprintf( __( "Activity feed mentioning %s.", 'buddypress' ), bp_get_displayed_user_fullname() ),
148
+ 'activity_args' => array(
149
+ 'search_terms' => '@' . bp_core_get_username( bp_displayed_user_id() )
150
+ )
151
+ ) );
152
+ }
153
+ add_action( 'bp_actions', 'bp_activity_action_mentions_feed' );
154
+
155
+ /**
156
+ * Load a user's favorites feed.
157
+ *
158
+ * @since 1.2.0
159
+ *
160
+ * @return bool False on failure.
161
+ */
162
+ function bp_activity_action_favorites_feed() {
163
+ if ( ! bp_is_user_activity() || ! bp_is_current_action( 'favorites' ) || ! bp_is_action_variable( 'feed', 0 ) ) {
164
+ return false;
165
+ }
166
+
167
+ // Get displayed user's favorite activity IDs.
168
+ $favs = bp_activity_get_user_favorites( bp_displayed_user_id() );
169
+ $fav_ids = implode( ',', (array) $favs );
170
+
171
+ // Setup the feed.
172
+ buddypress()->activity->feed = new BP_Activity_Feed( array(
173
+ 'id' => 'favorites',
174
+
175
+ /* translators: User activity favorites RSS title - "[Site Name] | [User Display Name] | Favorites" */
176
+ 'title' => sprintf( __( '%1$s | %2$s | Favorites', 'buddypress' ), bp_get_site_name(), bp_get_displayed_user_fullname() ),
177
+
178
+ 'link' => bp_displayed_user_domain() . bp_get_activity_slug() . '/favorites/',
179
+ 'description' => sprintf( __( "Activity feed of %s's favorites.", 'buddypress' ), bp_get_displayed_user_fullname() ),
180
+ 'activity_args' => 'include=' . $fav_ids
181
+ ) );
182
+ }
183
+ add_action( 'bp_actions', 'bp_activity_action_favorites_feed' );
bp-activity/actions/post.php ADDED
@@ -0,0 +1,97 @@
1
+ <?php
2
+ /**
3
+ * Activity: Post action
4
+ *
5
+ * @package BuddyPress
6
+ * @subpackage ActivityActions
7
+ * @since 3.0.0
8
+ */
9
+
10
+ /**
11
+ * Post user/group activity update.
12
+ *
13
+ * @since 1.2.0
14
+ *
15
+ * @return bool False on failure.
16
+ */
17
+ function bp_activity_action_post_update() {
18
+ // Do not proceed if user is not logged in, not viewing activity, or not posting.
19
+ if ( !is_user_logged_in() || !bp_is_activity_component() || !bp_is_current_action( 'post' ) )
20
+ return false;
21
+
22
+ // Check the nonce.
23
+ check_admin_referer( 'post_update', '_wpnonce_post_update' );
24
+
25
+ /**
26
+ * Filters the content provided in the activity input field.
27
+ *
28
+ * @since 1.2.0
29
+ *
30
+ * @param string $value Activity message being posted.
31
+ */
32
+ $content = apply_filters( 'bp_activity_post_update_content', $_POST['whats-new'] );
33
+
34
+ if ( ! empty( $_POST['whats-new-post-object'] ) ) {
35
+
36
+ /**
37
+ * Filters the item type that the activity update should be associated with.
38
+ *
39
+ * @since 1.2.0
40
+ *
41
+ * @param string $value Item type to associate with.
42
+ */
43
+ $object = apply_filters( 'bp_activity_post_update_object', $_POST['whats-new-post-object'] );
44
+ }
45
+
46
+ if ( ! empty( $_POST['whats-new-post-in'] ) ) {
47
+
48
+ /**
49
+ * Filters what component the activity is being to.
50
+ *
51
+ * @since 1.2.0
52
+ *
53
+ * @param string $value Chosen component to post activity to.
54
+ */
55
+ $item_id = apply_filters( 'bp_activity_post_update_item_id', $_POST['whats-new-post-in'] );
56
+ }
57
+
58
+ // No activity content so provide feedback and redirect.
59
+ if ( empty( $content ) ) {
60
+ bp_core_add_message( __( 'Please enter some content to post.', 'buddypress' ), 'error' );
61
+ bp_core_redirect( wp_get_referer() );
62
+ }
63
+
64
+ // No existing item_id.
65
+ if ( empty( $item_id ) ) {
66
+ $activity_id = bp_activity_post_update( array( 'content' => $content ) );
67
+
68
+ // Post to groups object.
69
+ } elseif ( 'groups' == $object && bp_is_active( 'groups' ) ) {
70
+ if ( (int) $item_id ) {
71
+ $activity_id = groups_post_update( array( 'content' => $content, 'group_id' => $item_id ) );
72
+ }
73
+
74
+ } else {
75
+
76
+ /**
77
+ * Filters activity object for BuddyPress core and plugin authors before posting activity update.
78
+ *
79
+ * @since 1.2.0
80
+ *
81
+ * @param string $object Activity item being associated to.
82
+ * @param string $item_id Component ID being posted to.
83
+ * @param string $content Activity content being posted.
84
+ */
85
+ $activity_id = apply_filters( 'bp_activity_custom_update', $object, $item_id, $content );
86
+ }
87
+
88
+ // Provide user feedback.
89
+ if ( !empty( $activity_id ) )
90
+ bp_core_add_message( __( 'Update Posted!', 'buddypress' ) );
91
+ else
92
+ bp_core_add_message( __( 'There was an error when posting your update. Please try again.', 'buddypress' ), 'error' );
93
+
94
+ // Redirect.
95
+ bp_core_redirect( wp_get_referer() );
96
+ }
97
+ add_action( 'bp_actions', 'bp_activity_action_post_update' );
bp-activity/actions/reply.php ADDED
@@ -0,0 +1,60 @@
1
+ <?php
2
+ /**
3
+ * Activity: Reply action
4
+ *
5
+ * @package BuddyPress
6
+ * @subpackage ActivityActions
7
+ * @since 3.0.0
8
+ */
9
+
10
+ /**
11
+ * Post new activity comment.
12
+ *
13
+ * @since 1.2.0
14
+ *
15
+ * @return bool False on failure.
16
+ */
17
+ function bp_activity_action_post_comment() {
18
+ if ( !is_user_logged_in() || !bp_is_activity_component() || !bp_is_current_action( 'reply' ) )
19
+ return false;
20
+
21
+ // Check the nonce.
22
+ check_admin_referer( 'new_activity_comment', '_wpnonce_new_activity_comment' );
23
+
24
+ /**
25
+ * Filters the activity ID a comment will be in reply to.
26
+ *
27
+ * @since 1.2.0
28
+ *
29
+ * @param string $value ID of the activity being replied to.
30
+ */
31
+ $activity_id = apply_filters( 'bp_activity_post_comment_activity_id', $_POST['comment_form_id'] );
32
+
33
+ /**
34
+ * Filters the comment content for a comment reply.
35
+ *
36
+ * @since 1.2.0
37
+ *
38
+ * @param string $value Comment content being posted.
39
+ */
40
+ $content = apply_filters( 'bp_activity_post_comment_content', $_POST['ac_input_' . $activity_id] );
41
+
42
+ if ( empty( $content ) ) {
43
+ bp_core_add_message( __( 'Please do not leave the comment area blank.', 'buddypress' ), 'error' );
44
+ bp_core_redirect( wp_get_referer() . '#ac-form-' . $activity_id );
45
+ }
46
+
47
+ $comment_id = bp_activity_new_comment( array(
48
+ 'content' => $content,
49
+ 'activity_id' => $activity_id,
50
+ 'parent_id' => false
51
+ ));
52
+
53
+ if ( !empty( $comment_id ) )
54
+ bp_core_add_message( __( 'Reply Posted!', 'buddypress' ) );
55
+ else
56
+ bp_core_add_message( __( 'There was an error posting that reply. Please try again.', 'buddypress' ), 'error' );
57
+
58
+ bp_core_redirect( wp_get_referer() . '#ac-form-' . $activity_id );
59
+ }
60
+ add_action( 'bp_actions', 'bp_activity_action_post_comment' );
bp-activity/actions/spam.php ADDED
@@ -0,0 +1,77 @@
1
+ <?php
2
+ /**
3
+ * Activity: Spam action
4
+ *
5
+ * @package BuddyPress
6
+ * @subpackage ActivityActions
7
+ * @since 3.0.0
8
+ */
9
+
10
+ /**
11
+ * Mark specific activity item as spam and redirect to previous page.
12
+ *
13
+ * @since 1.6.0
14
+ *
15
+ * @param int $activity_id Activity id to be deleted. Defaults to 0.
16
+ * @return bool False on failure.
17
+ */
18
+ function bp_activity_action_spam_activity( $activity_id = 0 ) {
19
+ $bp = buddypress();
20
+
21
+ // Not viewing activity, or action is not spam, or Akismet isn't present.
22
+ if ( !bp_is_activity_component() || !bp_is_current_action( 'spam' ) || empty( $bp->activity->akismet ) )
23
+ return false;
24
+
25
+ if ( empty( $activity_id ) && bp_action_variable( 0 ) )
26
+ $activity_id = (int) bp_action_variable( 0 );
27
+
28
+ // Not viewing a specific activity item.
29
+ if ( empty( $activity_id ) )
30
+ return false;
31
+
32
+ // Is the current user allowed to spam items?
33
+ if ( !bp_activity_user_can_mark_spam() )
34
+ return false;
35
+
36
+ // Load up the activity item.
37
+ $activity = new BP_Activity_Activity( $activity_id );
38
+ if ( empty( $activity->id ) )
39
+ return false;
40
+
41
+ // Check nonce.
42
+ check_admin_referer( 'bp_activity_akismet_spam_' . $activity->id );
43
+
44
+ /**
45
+ * Fires before the marking activity as spam so plugins can modify things if they want to.
46
+ *
47
+ * @since 1.6.0
48
+ *
49
+ * @param int $activity_id Activity ID to be marked as spam.
50
+ * @param object $activity Activity object for the ID to be marked as spam.
51
+ */
52
+ do_action( 'bp_activity_before_action_spam_activity', $activity->id, $activity );
53
+
54
+ // Mark as spam.
55
+ bp_activity_mark_as_spam( $activity );
56
+ $activity->save();
57
+
58
+ // Tell the user the spamming has been successful.
59
+ bp_core_add_message( __( 'The activity item has been marked as spam and is no longer visible.', 'buddypress' ) );
60
+
61
+ /**
62
+ * Fires after the marking activity as spam so plugins can act afterwards based on the activity.
63
+ *
64
+ * @since 1.6.0
65
+ *
66
+ * @param int $activity_id Activity ID that was marked as spam.
67
+ * @param int $user_id User ID associated with activity.
68
+ */
69
+ do_action( 'bp_activity_action_spam_activity', $activity_id, $activity->user_id );
70
+
71
+ // Check for the redirect query arg, otherwise let WP handle things.
72
+ if ( !empty( $_GET['redirect_to'] ) )
73
+ bp_core_redirect( esc_url( $_GET['redirect_to'] ) );
74
+ else
75
+ bp_core_redirect( wp_get_referer() );
76
+ }
77
+ add_action( 'bp_actions', 'bp_activity_action_spam_activity' );
bp-activity/actions/unfavorite.php ADDED
@@ -0,0 +1,31 @@
1
+ <?php
2
+ /**
3
+ * Activity: Unfavorite action
4
+ *
5
+ * @package BuddyPress
6
+ * @subpackage ActivityActions
7
+ * @since 3.0.0
8
+ */
9
+
10
+ /**
11
+ * Remove activity from favorites.
12
+ *
13
+ * @since 1.2.0
14
+ *
15
+ * @return bool False on failure.
16
+ */
17
+ function bp_activity_action_remove_favorite() {
18
+ if ( ! is_user_logged_in() || ! bp_is_activity_component() || ! bp_is_current_action( 'unfavorite' ) )
19
+ return false;
20
+
21
+ // Check the nonce.
22
+ check_admin_referer( 'unmark_favorite' );
23
+
24
+ if ( bp_activity_remove_user_favorite( bp_action_variable( 0 ) ) )
25
+ bp_core_add_message( __( 'Activity removed as favorite.', 'buddypress' ) );
26
+ else
27
+ bp_core_add_message( __( 'There was an error removing that activity as a favorite. Please try again.', 'buddypress' ), 'error' );
28
+
29
+ bp_core_redirect( wp_get_referer() . '#activity-' . bp_action_variable( 0 ) );
30
+ }
31
+ add_action( 'bp_actions', 'bp_activity_action_remove_favorite' );
bp-activity/admin/css/admin-rtl.css CHANGED
@@ -1,16 +1,20 @@
1
.akismet-status {
2
float: left;
3
}
4
.akismet-status a {
5
- color: #AAA;
6
font-style: italic;
7
}
8
.akismet-history {
9
margin: 13px;
10
}
11
.akismet-history div {
12
margin-bottom: 13px;
13
}
14
.akismet-history span {
15
color: #999;
16
}
@@ -18,36 +22,43 @@
18
#wp-bp-activities-wrap {
19
padding: 5px 0;
20
}
21
#bp-activities {
22
height: 120px;
23
}
24
#bp-replyhead {
25
font-size: 1em;
26
- line-height: 1.4em;
27
margin: 0;
28
}
29
#bp-replysubmit {
30
margin: 0;
31
padding: 0 0 3px;
32
text-align: center;
33
}
34
#bp-replysubmit .error {
35
- color: red;
36
line-height: 21px;
37
text-align: center;
38
vertical-align: center;
39
}
40
#bp-replysubmit img.waiting {
41
float: left;
42
padding: 4px 10px 0;
43
vertical-align: top;
44
}
45
#bp-activities-form .column-response img {
46
float: right;
47
margin-bottom: 5px;
48
margin-left: 10px;
49
margin-top: 1px;
50
}
51
.activity-errors {
52
list-style-type: disc;
53
margin-right: 2em;
@@ -57,31 +68,38 @@
57
#bp_activity_content div.inside {
58
line-height: 0;
59
}
60
#bp_activity_action h3,
61
#bp_activity_content h3 {
62
cursor: auto;
63
}
64
#bp_activity_action td.mceIframeContainer,
65
#bp_activity_content td.mceIframeContainer {
66
- background-color: white;
67
}
68
#post-body #bp-activities-action_resize,
69
#post-body #bp-activities-content_resize {
70
position: inherit;
71
margin-top: -2px;
72
}
73
#bp_activity_link input {
74
width: 99%;
75
}
76
#bp-activities-primaryid {
77
margin-bottom: 1em;
78
}
79
.column-action {
80
width: 12%;
81
}
82
83
@media screen and (max-width: 782px) {
84
body.toplevel_page_bp-activity .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) {
85
display: table-cell;
86
}
87
- }
1
.akismet-status {
2
float: left;
3
}
4
+
5
.akismet-status a {
6
+ color: #aaa;
7
font-style: italic;
8
}
9
+
10
.akismet-history {
11
margin: 13px;
12
}
13
+
14
.akismet-history div {
15
margin-bottom: 13px;
16
}
17
+
18
.akismet-history span {
19
color: #999;
20
}
22
#wp-bp-activities-wrap {
23
padding: 5px 0;
24
}
25
+
26
#bp-activities {
27
height: 120px;
28
}
29
+
30
#bp-replyhead {
31
font-size: 1em;
32
+ line-height: 1.4;
33
margin: 0;
34
}
35
+
36
#bp-replysubmit {
37
margin: 0;
38
padding: 0 0 3px;
39
text-align: center;
40
}
41
+
42
#bp-replysubmit .error {
43
+ color: #f00;
44
line-height: 21px;
45
text-align: center;
46
vertical-align: center;
47
}
48
+
49
#bp-replysubmit img.waiting {
50
float: left;
51
padding: 4px 10px 0;
52
vertical-align: top;
53
}
54
+
55
#bp-activities-form .column-response img {
56
float: right;
57
margin-bottom: 5px;
58
margin-left: 10px;
59
margin-top: 1px;
60
}
61
+
62
.activity-errors {
63
list-style-type: disc;
64
margin-right: 2em;
68
#bp_activity_content div.inside {
69
line-height: 0;
70
}
71
+
72
#bp_activity_action h3,
73
#bp_activity_content h3 {
74
cursor: auto;
75
}
76
+
77
#bp_activity_action td.mceIframeContainer,
78
#bp_activity_content td.mceIframeContainer {
79
+ background-color: #fff;
80
}
81
+
82
#post-body #bp-activities-action_resize,
83
#post-body #bp-activities-content_resize {
84
position: inherit;
85
margin-top: -2px;
86
}
87
+
88
#bp_activity_link input {
89
width: 99%;
90
}
91
+
92
#bp-activities-primaryid {
93
margin-bottom: 1em;
94
}
95
+
96
.column-action {
97
width: 12%;
98
}
99
100
@media screen and (max-width: 782px) {
101
+
102
body.toplevel_page_bp-activity .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) {
103
display: table-cell;
104
}
105
+ }
bp-activity/admin/css/admin-rtl.min.css CHANGED
@@ -1 +1 @@
1
- .akismet-status{float:left}.akismet-status a{color:#AAA;font-style:italic}.akismet-history{margin:13px}.akismet-history div{margin-bottom:13px}.akismet-history span{color:#999}#wp-bp-activities-wrap{padding:5px 0}#bp-activities{height:120px}#bp-replyhead{font-size:1em;line-height:1.4em;margin:0}#bp-replysubmit{margin:0;padding:0 0 3px;text-align:center}#bp-replysubmit .error{color:red;line-height:21px;text-align:center;vertical-align:center}#bp-replysubmit img.waiting{float:left;padding:4px 10px 0;vertical-align:top}#bp-activities-form .column-response img{float:right;margin-bottom:5px;margin-left:10px;margin-top:1px}.activity-errors{list-style-type:disc;margin-right:2em}#bp_activity_action div.inside,#bp_activity_content div.inside{line-height:0}#bp_activity_action h3,#bp_activity_content h3{cursor:auto}#bp_activity_action td.mceIframeContainer,#bp_activity_content td.mceIframeContainer{background-color:#fff}#post-body #bp-activities-action_resize,#post-body #bp-activities-content_resize{position:inherit;margin-top:-2px}#bp_activity_link input{width:99%}#bp-activities-primaryid{margin-bottom:1em}.column-action{width:12%}@media screen and (max-width:782px){body.toplevel_page_bp-activity .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column){display:table-cell}}
1
+ .akismet-status{float:left}.akismet-status a{color:#aaa;font-style:italic}.akismet-history{margin:13px}.akismet-history div{margin-bottom:13px}.akismet-history span{color:#999}#wp-bp-activities-wrap{padding:5px 0}#bp-activities{height:120px}#bp-replyhead{font-size:1em;line-height:1.4;margin:0}#bp-replysubmit{margin:0;padding:0 0 3px;text-align:center}#bp-replysubmit .error{color:red;line-height:21px;text-align:center;vertical-align:center}#bp-replysubmit img.waiting{float:left;padding:4px 10px 0;vertical-align:top}#bp-activities-form .column-response img{float:right;margin-bottom:5px;margin-left:10px;margin-top:1px}.activity-errors{list-style-type:disc;margin-right:2em}#bp_activity_action div.inside,#bp_activity_content div.inside{line-height:0}#bp_activity_action h3,#bp_activity_content h3{cursor:auto}#bp_activity_action td.mceIframeContainer,#bp_activity_content td.mceIframeContainer{background-color:#fff}#post-body #bp-activities-action_resize,#post-body #bp-activities-content_resize{position:inherit;margin-top:-2px}#bp_activity_link input{width:99%}#bp-activities-primaryid{margin-bottom:1em}.column-action{width:12%}@media screen and (max-width:782px){body.toplevel_page_bp-activity .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column){display:table-cell}}
bp-activity/admin/css/admin.css CHANGED
@@ -1,16 +1,20 @@
1
.akismet-status {
2
float: right;
3
}
4
.akismet-status a {
5
- color: #AAA;
6
font-style: italic;
7
}
8
.akismet-history {
9
margin: 13px;
10
}
11
.akismet-history div {
12
margin-bottom: 13px;
13
}
14
.akismet-history span {
15
color: #999;
16
}
@@ -18,36 +22,43 @@
18
#wp-bp-activities-wrap {
19
padding: 5px 0;
20
}
21
#bp-activities {
22
height: 120px;
23
}
24
#bp-replyhead {
25
font-size: 1em;
26
- line-height: 1.4em;
27
margin: 0;
28
}
29
#bp-replysubmit {
30
margin: 0;
31
padding: 0 0 3px;
32
text-align: center;
33
}
34
#bp-replysubmit .error {
35
- color: red;
36
line-height: 21px;
37
text-align: center;
38
vertical-align: center;
39
}
40
#bp-replysubmit img.waiting {
41
float: right;
42
padding: 4px 10px 0;
43
vertical-align: top;
44
}
45
#bp-activities-form .column-response img {
46
float: left;
47
margin-bottom: 5px;
48
margin-right: 10px;
49
margin-top: 1px;
50
}
51
.activity-errors {
52
list-style-type: disc;
53
margin-left: 2em;
@@ -57,31 +68,38 @@
57
#bp_activity_content div.inside {
58
line-height: 0;
59