Version Description
= 5.2.0 = See: https://codex.buddypress.org/releases/version-5-2-0/
= 5.1.2 = See: https://codex.buddypress.org/releases/version-5-1-2/
= 5.1.1 = See: https://codex.buddypress.org/releases/version-5-1-1/
= 5.1.0 = See: https://codex.buddypress.org/releases/version-5-1-0/
= 5.0.0 = See: https://codex.buddypress.org/releases/version-5-0-0/
= 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 | BuddyPress |
Version | 6.0.0-RC2 |
Comparing to | |
See all releases |
Code changes from version 6.0.0-RC1 to 6.0.0-RC2
- bp-core/classes/class-bp-admin.php +9 -1
- bp-core/images/bp-blocks.gif +0 -0
- bp-core/js/block-components.js +2 -1
- bp-core/js/block-components.js.map +1 -0
- bp-groups/js/blocks/group.js +2 -1
- bp-groups/js/blocks/group.js.map +1 -0
- bp-loader.php +1 -1
- bp-members/js/blocks/member.js +2 -1
- bp-members/js/blocks/member.js.map +1 -0
- buddypress.pot +54 -53
- class-buddypress.php +1 -1
bp-core/classes/class-bp-admin.php
CHANGED
@@ -927,7 +927,15 @@ class BP_Admin {
|
|
927 |
</li>
|
928 |
</ul>
|
929 |
|
930 |
-
<h3 class="wp-people-group"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
931 |
<ul class="wp-people-group " id="wp-people-group-rockstars">
|
932 |
<li class="wp-person" id="wp-person-dimensionmedia">
|
933 |
<a class="web" href="https://profiles.wordpress.org/dimensionmedia"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/7735aada1ec39d0c1118bd92ed4551f1?s=120">
|
927 |
</li>
|
928 |
</ul>
|
929 |
|
930 |
+
<h3 class="wp-people-group">
|
931 |
+
<?php
|
932 |
+
printf(
|
933 |
+
/* translators: %s: BuddyPress version number */
|
934 |
+
esc_html__( 'Noteworthy Contributors to %s', 'buddypress' ),
|
935 |
+
self::display_version()
|
936 |
+
);
|
937 |
+
?>
|
938 |
+
</h3>
|
939 |
<ul class="wp-people-group " id="wp-people-group-rockstars">
|
940 |
<li class="wp-person" id="wp-person-dimensionmedia">
|
941 |
<a class="web" href="https://profiles.wordpress.org/dimensionmedia"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/7735aada1ec39d0c1118bd92ed4551f1?s=120">
|
bp-core/images/bp-blocks.gif
CHANGED
Binary file
|
bp-core/js/block-components.js
CHANGED
@@ -20,4 +20,5 @@ var e=require("./setPrototypeOf");function r(r,t){if("function"!=typeof t&&null!
|
|
20 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("./autocompleter"));function t(e){return e&&e.__esModule?e:{default:e}}var r={AutoCompleter:e.default};exports.default=r;
|
21 |
},{"./autocompleter":"W80x"}],"Ee8M":[function(require,module,exports) {
|
22 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"blockComponents",{enumerable:!0,get:function(){return e.default}});var e=t(require("./components"));function t(e){return e&&e.__esModule?e:{default:e}}
|
23 |
-
},{"./components":"iA92"}]},{},["Ee8M"], "bp")
|
|
20 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("./autocompleter"));function t(e){return e&&e.__esModule?e:{default:e}}var r={AutoCompleter:e.default};exports.default=r;
|
21 |
},{"./autocompleter":"W80x"}],"Ee8M":[function(require,module,exports) {
|
22 |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"blockComponents",{enumerable:!0,get:function(){return e.default}});var e=t(require("./components"));function t(e){return e&&e.__esModule?e:{default:e}}
|
23 |
+
},{"./components":"iA92"}]},{},["Ee8M"], "bp")
|
24 |
+
//# sourceMappingURL=/block-components.js.map
|
bp-core/js/block-components.js.map
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
{"version":3,"sources":["../../../../../node_modules/@babel/runtime/helpers/classCallCheck.js","../../../../../node_modules/@babel/runtime/helpers/createClass.js","../../../../../node_modules/@babel/runtime/helpers/assertThisInitialized.js","../../../../../node_modules/@babel/runtime/helpers/typeof.js","../../../../../node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","../../../../../node_modules/@babel/runtime/helpers/getPrototypeOf.js","../../../../../node_modules/@babel/runtime/helpers/setPrototypeOf.js","../../../../../node_modules/@babel/runtime/helpers/inherits.js","components/autocompleter.js","components/index.js","block-components.js"],"names":["AutoCompleter","wp","element","Component","Fragment","createElement","Popover","components","apiFetch","__","i18n","arguments","state","search","items","error","searchItemName","bind","selectItemName","value","props","component","objectStatus","setState","length","path","encodeURIComponent","then","message","event","itemID","onSelectItem","preventDefault","itemsList","ariaLabel","placeholder","useAvatar","map","item","id","avatar_urls","thumb","name","mention_name","target"],"mappings":";AAAA,SAAA,EAAA,EAAA,GACA,KAAA,aAAA,GACA,MAAA,IAAA,UAAA,qCAIA,OAAA,QAAA;;ACNA,SAAA,EAAA,EAAA,GACA,IAAA,IAAA,EAAA,EAAA,EAAA,EAAA,OAAA,IAAA,CACA,IAAA,EAAA,EAAA,GACA,EAAA,WAAA,EAAA,aAAA,EACA,EAAA,cAAA,EACA,UAAA,IAAA,EAAA,UAAA,GACA,OAAA,eAAA,EAAA,EAAA,IAAA,IAIA,SAAA,EAAA,EAAA,EAAA,GAGA,OAFA,GAAA,EAAA,EAAA,UAAA,GACA,GAAA,EAAA,EAAA,GACA,EAGA,OAAA,QAAA;;AChBA,SAAA,EAAA,GACA,QAAA,IAAA,EACA,MAAA,IAAA,eAAA,6DAGA,OAAA,EAGA,OAAA,QAAA;;ACRA,SAAA,EAAA,GAaA,MAVA,mBAAA,QAAA,iBAAA,OAAA,SACA,OAAA,QAAA,EAAA,SAAA,GACA,cAAA,GAGA,OAAA,QAAA,EAAA,SAAA,GACA,OAAA,GAAA,m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AAA,EAAA,QAAA,CACC,KAAK,OACL,MAAQ9B,EACR,UAAU,gCACGqB,aAAAA,EACb,YAAcC,EACd,SAAW,SAAEN,GAAW,OAAA,EAAKb,eAAgBa,EAAMe,OAAOzB,UAEzD,IAAML,EAAMU,QACb,EAAC,EAAD,CACC,UAAU,mCACV,cAAe,EACf,SAAS,eAET,EAAA,MAAA,CAAK,UAAU,oCACZS,SASMjC,EAnHTA,CAAsBG,GAmHbH,EAAAA,EAAAA,QAAAA,QAAAA;;ACxHA,aAAA,OAAA,eAAA,QAAA,aAAA,CAAA,OAAA,IAAA,QAAA,aAAA,EAFf,IAAA,EAAA,EAAA,QAAA,oBAEe,SAAA,EAAA,GAAA,OAAA,GAAA,EAAA,WAAA,EAAA,CAAA,QAAA,GAAA,IAAA,EAAA,CACdA,cAAAA,EAAAA,SADc,QAAA,QAAA;;ACHf,aAAA,OAAA,eAAA,QAAA,aAAA,CAAA,OAAA,IAAA,OAAA,eAAA,QAAA,kBAAA,CAAA,YAAA,EAAA,IAAA,WAAA,OAAA,EAAA,WAAA,IAAA,EAAA,EAAA,QAAA,iBAAA,SAAA,EAAA,GAAA,OAAA,GAAA,EAAA,WAAA,EAAA,CAAA,QAAA","file":"block-components.js","sourceRoot":"../../../src/js/bp-core/js/block-components","sourcesContent":["function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nmodule.exports = _classCallCheck;","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nmodule.exports = _createClass;","function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nmodule.exports = _assertThisInitialized;","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n module.exports = _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n module.exports = _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n\n return _typeof(obj);\n}\n\nmodule.exports = _typeof;","var _typeof = require(\"../helpers/typeof\");\n\nvar assertThisInitialized = require(\"./assertThisInitialized\");\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return assertThisInitialized(self);\n}\n\nmodule.exports = _possibleConstructorReturn;","function _getPrototypeOf(o) {\n module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nmodule.exports = _getPrototypeOf;","function _setPrototypeOf(o, p) {\n module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nmodule.exports = _setPrototypeOf;","var setPrototypeOf = require(\"./setPrototypeOf\");\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}\n\nmodule.exports = _inherits;","/**\n * WordPress dependencies.\n */\nconst { Component, Fragment, createElement } = wp.element;\nconst { Popover } = wp.components;\nconst { apiFetch } = wp;\nconst { __ } = wp.i18n;\n\nclass AutoCompleter extends Component {\n\tconstructor() {\n\t\tsuper( ...arguments );\n\n\t\tthis.state = {\n\t\t\tsearch: '',\n\t\t\titems: [],\n\t\t\terror: '',\n\t\t};\n\n\t\tthis.searchItemName = this.searchItemName.bind( this );\n\t\tthis.selectItemName = this.selectItemName.bind( this );\n\t}\n\n\tsearchItemName( value ) {\n\t\tconst { search } = this.state;\n\t\tconst { component, objectStatus } = this.props;\n\t\tthis.setState( { search: value } );\n\n\t\tif ( value.length < search.length ) {\n\t\t\tthis.setState( { items: [] } );\n\t\t}\n\n\t\tlet path= '/buddypress/v1/' + component;\n\n\t\tif ( value ) {\n\t\t\tpath += '?search=' + encodeURIComponent( value );\n\t\t}\n\n\t\tif ( objectStatus ) {\n\t\t\tpath += '&status=' + objectStatus;\n\t\t}\n\n\t\tapiFetch( { path: path } ).then( items => {\n\t\t\tthis.setState( { items: items } );\n\t\t}, error => {\n\t\t\tthis.setState( { error: error.message } );\n\t\t} );\n\t}\n\n\tselectItemName( event, itemID ) {\n\t\tconst { onSelectItem } = this.props;\n\t\tevent.preventDefault();\n\n\t\tthis.setState( {\n\t\t\tsearch: '',\n\t\t\titems: [],\n\t\t\terror: '',\n\t\t} );\n\n\t\treturn onSelectItem( { itemID: itemID } );\n\t}\n\n\trender() {\n\t\tconst { search, items } = this.state;\n\t\tlet { ariaLabel, placeholder, useAvatar } = this.props;\n\t\tlet itemsList;\n\n\t\tif ( ! ariaLabel ) {\n\t\t\tariaLabel = __( 'Item\\'s name', 'buddypress' );\n\t\t}\n\n\t\tif ( ! placeholder ) {\n\t\t\tplaceholder = __( 'Enter Item\\'s name here…', 'buddypress' );\n\t\t}\n\n\t\tif ( items.length ) {\n\t\t\titemsList = items.map( ( item ) => {\n\t\t\t\treturn (\n\t\t\t\t\t<button\n\t\t\t\t\t\ttype=\"button\" key={ 'editor-autocompleters__item-item-' + item.id }\n\t\t\t\t\t\trole=\"option\"\n\t\t\t\t\t\taria-selected=\"true\"\n\t\t\t\t\t\tclassName=\"components-button components-autocomplete__result editor-autocompleters__user\"\n\t\t\t\t\t\tonClick={ ( event ) => this.selectItemName( event, item.id ) }\n\t\t\t\t\t>\n\t\t\t\t\t\t{ useAvatar && (\n\t\t\t\t\t\t\t<img key=\"avatar\" className=\"editor-autocompleters__user-avatar\" alt=\"\" src={ item.avatar_urls.thumb } />\n\t\t\t\t\t\t) }\n\t\t\t\t\t\t<span key=\"name\" className=\"editor-autocompleters__user-name\">{ item.name }</span>\n\n\t\t\t\t\t\t{ item.mention_name && (\n\t\t\t\t\t\t\t<span key=\"slug\" className=\"editor-autocompleters__user-slug\">{ item.mention_name }</span>\n\t\t\t\t\t\t) }\n\t\t\t\t\t</button>\n\t\t\t\t);\n\t\t\t} );\n\t\t}\n\n\t\treturn (\n\t\t\t<Fragment>\n\t\t\t\t<input\n\t\t\t\t\ttype=\"text\"\n\t\t\t\t\tvalue={ search }\n\t\t\t\t\tclassName=\"components-placeholder__input\"\n\t\t\t\t\taria-label={ ariaLabel }\n\t\t\t\t\tplaceholder={ placeholder }\n\t\t\t\t\tonChange={ ( event ) => this.searchItemName( event.target.value ) }\n\t\t\t\t/>\n\t\t\t\t{ 0 !== items.length &&\n\t\t\t\t\t<Popover\n\t\t\t\t\t\tclassName=\"components-autocomplete__popover\"\n\t\t\t\t\t\tfocusOnMount={ false }\n\t\t\t\t\t\tposition=\"bottom left\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<div className=\"components-autocomplete__results\">\n\t\t\t\t\t\t\t{ itemsList }\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</Popover>\n\t\t\t\t}\n\t\t\t</Fragment>\n\t\t);\n\t}\n}\n\nexport default AutoCompleter;\n","// Components\nimport AutoCompleter from './autocompleter'\n\nexport default {\n\tAutoCompleter\n};\n","export { default as blockComponents } from './components';\n"]}
|
bp-groups/js/blocks/group.js
CHANGED
@@ -1,3 +1,4 @@
|
|
1 |
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"pvse":[function(require,module,exports) {
|
2 |
var e=wp.blocks.registerBlockType,t=wp.element,o=t.createElement,r=t.Fragment,s=wp.components,n=s.Placeholder,l=s.Disabled,a=s.PanelBody,p=s.SelectControl,i=s.ToggleControl,u=s.Toolbar,d=s.ToolbarButton,b=wp.blockEditor,c=b.InspectorControls,g=b.BlockControls,y=wp.data.withSelect,h=wp.compose.compose,m=wp.editor.ServerSideRender,v=wp.i18n.__,f=bp.blockComponents.AutoCompleter,C=[{label:v("None","buddypress"),value:"none"},{label:v("Thumb","buddypress"),value:"thumb"},{label:v("Full","buddypress"),value:"full"}],S=function(e){var t=e.attributes,s=e.setAttributes,b=e.bpSettings,y=b.isAvatarEnabled,h=b.isCoverImageEnabled,S=t.avatarSize,I=t.displayDescription,k=t.displayActionButton,w=t.displayCoverImage;return t.itemID?o(r,null,o(g,null,o(u,null,o(d,{icon:"edit",title:v("Select another group","buddypress"),onClick:function(){s({itemID:0})}}))),o(c,null,o(a,{title:v("Settings","buddypress"),initialOpen:!0},o(i,{label:v("Display Group's home button","buddypress"),checked:!!k,onChange:function(){s({displayActionButton:!k})},help:v(k?"Include a link to the group's home page under their name.":"Toggle to display a link to the group's home page under their name.","buddypress")}),o(i,{label:v("Display group's description","buddypress"),checked:!!I,onChange:function(){s({displayDescription:!I})},help:v(I?"Include the group's description under their name.":"Toggle to display the group's description under their name.","buddypress")}),y&&o(p,{label:v("Avatar size","buddypress"),value:S,options:C,help:v('Select "None" to disable the avatar.',"buddypress"),onChange:function(e){s({avatarSize:e})}}),h&&o(i,{label:v("Display Cover Image","buddypress"),checked:!!w,onChange:function(){s({displayCoverImage:!w})},help:v(w?"Include the group's cover image over their name.":"Toggle to display the group's cover image over their name.","buddypress")}))),o(l,null,o(m,{block:"bp/group",attributes:t}))):o(n,{icon:"buddicons-groups",label:v("BuddyPress Group","buddypress"),instructions:v("Start typing the name of the group you want to feature into this post.","buddypress")},o(f,{component:"groups",objectStatus:"public",ariaLabel:v("Group's name","buddypress"),placeholder:v("Enter Group's name here…","buddypress"),onSelectItem:s,useAvatar:y}))},I=h([y(function(e){return{bpSettings:e("core/editor").getEditorSettings().bp.groups||{}}})])(S);e("bp/group",{title:v("Group","buddypress"),description:v("BuddyPress Group.","buddypress"),icon:"buddicons-groups",category:"buddypress",attributes:{itemID:{type:"integer",default:0},avatarSize:{type:"string",default:"full"},displayDescription:{type:"boolean",default:!0},displayActionButton:{type:"boolean",default:!0},displayCoverImage:{type:"boolean",default:!0}},edit:I});
|
3 |
-
},{}]},{},["pvse"], null)
|
|
1 |
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"pvse":[function(require,module,exports) {
|
2 |
var e=wp.blocks.registerBlockType,t=wp.element,o=t.createElement,r=t.Fragment,s=wp.components,n=s.Placeholder,l=s.Disabled,a=s.PanelBody,p=s.SelectControl,i=s.ToggleControl,u=s.Toolbar,d=s.ToolbarButton,b=wp.blockEditor,c=b.InspectorControls,g=b.BlockControls,y=wp.data.withSelect,h=wp.compose.compose,m=wp.editor.ServerSideRender,v=wp.i18n.__,f=bp.blockComponents.AutoCompleter,C=[{label:v("None","buddypress"),value:"none"},{label:v("Thumb","buddypress"),value:"thumb"},{label:v("Full","buddypress"),value:"full"}],S=function(e){var t=e.attributes,s=e.setAttributes,b=e.bpSettings,y=b.isAvatarEnabled,h=b.isCoverImageEnabled,S=t.avatarSize,I=t.displayDescription,k=t.displayActionButton,w=t.displayCoverImage;return t.itemID?o(r,null,o(g,null,o(u,null,o(d,{icon:"edit",title:v("Select another group","buddypress"),onClick:function(){s({itemID:0})}}))),o(c,null,o(a,{title:v("Settings","buddypress"),initialOpen:!0},o(i,{label:v("Display Group's home button","buddypress"),checked:!!k,onChange:function(){s({displayActionButton:!k})},help:v(k?"Include a link to the group's home page under their name.":"Toggle to display a link to the group's home page under their name.","buddypress")}),o(i,{label:v("Display group's description","buddypress"),checked:!!I,onChange:function(){s({displayDescription:!I})},help:v(I?"Include the group's description under their name.":"Toggle to display the group's description under their name.","buddypress")}),y&&o(p,{label:v("Avatar size","buddypress"),value:S,options:C,help:v('Select "None" to disable the avatar.',"buddypress"),onChange:function(e){s({avatarSize:e})}}),h&&o(i,{label:v("Display Cover Image","buddypress"),checked:!!w,onChange:function(){s({displayCoverImage:!w})},help:v(w?"Include the group's cover image over their name.":"Toggle to display the group's cover image over their name.","buddypress")}))),o(l,null,o(m,{block:"bp/group",attributes:t}))):o(n,{icon:"buddicons-groups",label:v("BuddyPress Group","buddypress"),instructions:v("Start typing the name of the group you want to feature into this post.","buddypress")},o(f,{component:"groups",objectStatus:"public",ariaLabel:v("Group's name","buddypress"),placeholder:v("Enter Group's name here…","buddypress"),onSelectItem:s,useAvatar:y}))},I=h([y(function(e){return{bpSettings:e("core/editor").getEditorSettings().bp.groups||{}}})])(S);e("bp/group",{title:v("Group","buddypress"),description:v("BuddyPress Group.","buddypress"),icon:"buddicons-groups",category:"buddypress",attributes:{itemID:{type:"integer",default:0},avatarSize:{type:"string",default:"full"},displayDescription:{type:"boolean",default:!0},displayActionButton:{type:"boolean",default:!0},displayCoverImage:{type:"boolean",default:!0}},edit:I});
|
3 |
+
},{}]},{},["pvse"], null)
|
4 |
+
//# sourceMappingURL=/bp-groups/js/blocks/group.js.map
|
bp-groups/js/blocks/group.js.map
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
{"version":3,"sources":["bp-groups/js/blocks/group.js"],"names":["registerBlockType","wp","blocks","element","createElement","Fragment","components","Placeholder","Disabled","PanelBody","SelectControl","ToggleControl","Toolbar","ToolbarButton","blockEditor","InspectorControls","BlockControls","withSelect","data","compose","ServerSideRender","editor","__","i18n","AutoCompleter","bp","blockComponents","AVATAR_SIZES","label","value","editGroup","attributes","setAttributes","bpSettings","isAvatarEnabled","isCoverImageEnabled","avatarSize","displayDescription","displayActionButton","displayCoverImage","itemID","option","editGroupBlock","select","getEditorSettings","groups","title","description","icon","category","type","default","edit"],"mappings":";AAGQA,IAAAA,EAAsBC,GAAGC,OAAzBF,kBAC4BC,EAAAA,GAAGE,QAA/BC,EAAAA,EAAAA,cAAeC,EAA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AAgC,cAC5C,UAAae,EACb,SAAW,WACVL,EAAe,CAAEK,oBAAsBA,KAExC,KAEIf,EADHe,EACO,oDACA,8DADsD,gBAK7DH,GACD,EAAC,EAAD,CACC,MAAQZ,EAAI,cAAe,cAC3B,MAAQc,EACR,QAAUT,EACV,KAAOL,EAAI,uCAAwC,cACnD,SAAW,SAAEmB,GACZT,EAAe,CAAEI,WAAYK,OAK9BN,GACD,EAAC,EAAD,CACC,MAAQb,EAAI,sBAAuB,cACnC,UAAaiB,EACb,SAAW,WACVP,EAAe,CAAEO,mBAAqBA,KAEvC,KAEIjB,EADHiB,EACO,mDACA,6DADqD,kBAOjE,EAAC,EACA,KAAA,EAAC,EAAD,CAAkB,MAAM,WAAW,WAAaR,MAvFjD,EAAC,EAAD,CACC,KAAK,mBACL,MAAQT,EAAI,mBAAoB,cAChC,aAAeA,EAAI,yEAA0E,eAE7F,EAAC,EAAD,CACC,UAAU,SACV,aAAa,SACb,UAAYA,EAAI,eAAiB,cACjC,YAAcA,EAAI,2BAA6B,cAC/C,aAAeU,EACf,UAAYE,MAkFXQ,EAAiBvB,EAAS,CAC/BF,EAAY,SAAE0B,GAEN,MAAA,CACNV,WAFsBU,EAAQ,eAAgBC,oBAEnBnB,GAAGoB,QAAU,OAJpB1B,CAOlBW,GAEL9B,EAAmB,WAAY,CAC9B8C,MAAOxB,EAAI,QAAS,cAEpByB,YAAazB,EAAI,oBAAqB,cAEtC0B,KAAM,mBAENC,SAAU,aAEVlB,WAAY,CACXS,OAAQ,CACPU,KAAM,UACNC,QAAS,GAEVf,WAAY,CACXc,KAAM,SACNC,QAAS,QAEVd,mBAAoB,CACnBa,KAAM,UACNC,SAAS,GAEVb,oBAAqB,CACpBY,KAAM,UACNC,SAAS,GAEVZ,kBAAmB,CAClBW,KAAM,UACNC,SAAS,IAIXC,KAAMV","file":"group.js","sourceRoot":"../src/js","sourcesContent":["/**\n * WordPress dependencies.\n */\nconst { registerBlockType } = wp.blocks;\nconst { createElement, Fragment } = wp.element;\nconst { Placeholder, Disabled, PanelBody, SelectControl, ToggleControl, Toolbar, ToolbarButton } = wp.components;\nconst { InspectorControls, BlockControls } = wp.blockEditor;\nconst { withSelect } = wp.data;\nconst { compose } = wp.compose;\nconst { ServerSideRender } = wp.editor;\nconst { __ } = wp.i18n;\n\n/**\n * BuddyPress dependencies.\n */\nconst { AutoCompleter } = bp.blockComponents;\n\nconst AVATAR_SIZES = [\n\t{\n\t\tlabel: __( 'None', 'buddypress' ),\n\t\tvalue: 'none',\n\t},\n\t{\n\t\tlabel: __( 'Thumb', 'buddypress' ),\n\t\tvalue: 'thumb',\n\t},\n\t{\n\t\tlabel: __( 'Full', 'buddypress' ),\n\t\tvalue: 'full',\n\t},\n];\n\nconst editGroup = ( { attributes, setAttributes, bpSettings } ) => {\n\tconst { isAvatarEnabled, isCoverImageEnabled } = bpSettings;\n\tconst { avatarSize, displayDescription, displayActionButton, displayCoverImage } = attributes;\n\n\tif ( ! attributes.itemID ) {\n\t\treturn (\n\t\t\t<Placeholder\n\t\t\t\ticon=\"buddicons-groups\"\n\t\t\t\tlabel={ __( 'BuddyPress Group', 'buddypress' ) }\n\t\t\t\tinstructions={ __( 'Start typing the name of the group you want to feature into this post.', 'buddypress' ) }\n\t\t\t>\n\t\t\t\t<AutoCompleter\n\t\t\t\t\tcomponent=\"groups\"\n\t\t\t\t\tobjectStatus=\"public\"\n\t\t\t\t\tariaLabel={ __( 'Group\\'s name', 'buddypress' ) }\n\t\t\t\t\tplaceholder={ __( 'Enter Group\\'s name here…', 'buddypress' ) }\n\t\t\t\t\tonSelectItem={ setAttributes }\n\t\t\t\t\tuseAvatar={ isAvatarEnabled }\n\t\t\t\t/>\n\t\t\t</Placeholder>\n\t\t);\n\t}\n\n\treturn (\n\t\t<Fragment>\n\t\t\t<BlockControls>\n\t\t\t\t<Toolbar>\n\t\t\t\t\t<ToolbarButton\n\t\t\t\t\t\ticon=\"edit\"\n\t\t\t\t\t\ttitle={ __( 'Select another group', 'buddypress' ) }\n\t\t\t\t\t\tonClick={ () =>{\n\t\t\t\t\t\t\tsetAttributes( { itemID: 0 } );\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t</Toolbar>\n\t\t\t</BlockControls>\n\t\t\t<InspectorControls>\n\t\t\t\t<PanelBody title={ __( 'Settings', 'buddypress' ) } initialOpen={ true }>\n\t\t\t\t\t<ToggleControl\n\t\t\t\t\t\tlabel={ __( 'Display Group\\'s home button', 'buddypress' ) }\n\t\t\t\t\t\tchecked={ !! displayActionButton }\n\t\t\t\t\t\tonChange={ () => {\n\t\t\t\t\t\t\tsetAttributes( { displayActionButton: ! displayActionButton } );\n\t\t\t\t\t\t} }\n\t\t\t\t\t\thelp={\n\t\t\t\t\t\t\tdisplayActionButton\n\t\t\t\t\t\t\t\t? __( 'Include a link to the group\\'s home page under their name.', 'buddypress' )\n\t\t\t\t\t\t\t\t: __( 'Toggle to display a link to the group\\'s home page under their name.', 'buddypress' )\n\t\t\t\t\t\t}\n\t\t\t\t\t/>\n\n\t\t\t\t\t<ToggleControl\n\t\t\t\t\t\tlabel={ __( 'Display group\\'s description', 'buddypress' ) }\n\t\t\t\t\t\tchecked={ !! displayDescription }\n\t\t\t\t\t\tonChange={ () => {\n\t\t\t\t\t\t\tsetAttributes( { displayDescription: ! displayDescription } );\n\t\t\t\t\t\t} }\n\t\t\t\t\t\thelp={\n\t\t\t\t\t\t\tdisplayDescription\n\t\t\t\t\t\t\t\t? __( 'Include the group\\'s description under their name.', 'buddypress' )\n\t\t\t\t\t\t\t\t: __( 'Toggle to display the group\\'s description under their name.', 'buddypress' )\n\t\t\t\t\t\t}\n\t\t\t\t\t/>\n\n\t\t\t\t\t{ isAvatarEnabled && (\n\t\t\t\t\t\t<SelectControl\n\t\t\t\t\t\t\tlabel={ __( 'Avatar size', 'buddypress' ) }\n\t\t\t\t\t\t\tvalue={ avatarSize }\n\t\t\t\t\t\t\toptions={ AVATAR_SIZES }\n\t\t\t\t\t\t\thelp={ __( 'Select \"None\" to disable the avatar.', 'buddypress' ) }\n\t\t\t\t\t\t\tonChange={ ( option ) => {\n\t\t\t\t\t\t\t\tsetAttributes( { avatarSize: option } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\n\t\t\t\t\t{ isCoverImageEnabled && (\n\t\t\t\t\t\t<ToggleControl\n\t\t\t\t\t\t\tlabel={ __( 'Display Cover Image', 'buddypress' ) }\n\t\t\t\t\t\t\tchecked={ !! displayCoverImage }\n\t\t\t\t\t\t\tonChange={ () => {\n\t\t\t\t\t\t\t\tsetAttributes( { displayCoverImage: ! displayCoverImage } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\thelp={\n\t\t\t\t\t\t\t\tdisplayCoverImage\n\t\t\t\t\t\t\t\t\t? __( 'Include the group\\'s cover image over their name.', 'buddypress' )\n\t\t\t\t\t\t\t\t\t: __( 'Toggle to display the group\\'s cover image over their name.', 'buddypress' )\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t</PanelBody>\n\t\t\t</InspectorControls>\n\t\t\t<Disabled>\n\t\t\t\t<ServerSideRender block=\"bp/group\" attributes={ attributes } />\n\t\t\t</Disabled>\n\t\t</Fragment>\n\t);\n};\n\nconst editGroupBlock = compose( [\n\twithSelect( ( select ) => {\n\t\tconst editorSettings = select( 'core/editor' ).getEditorSettings();\n\t\treturn {\n\t\t\tbpSettings: editorSettings.bp.groups || {},\n\t\t};\n\t} ),\n] )( editGroup );\n\nregisterBlockType( 'bp/group', {\n\ttitle: __( 'Group', 'buddypress' ),\n\n\tdescription: __( 'BuddyPress Group.', 'buddypress' ),\n\n\ticon: 'buddicons-groups',\n\n\tcategory: 'buddypress',\n\n\tattributes: {\n\t\titemID: {\n\t\t\ttype: 'integer',\n\t\t\tdefault: 0,\n\t\t},\n\t\tavatarSize: {\n\t\t\ttype: 'string',\n\t\t\tdefault: 'full',\n\t\t},\n\t\tdisplayDescription: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: true,\n\t\t},\n\t\tdisplayActionButton: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: true,\n\t\t},\n\t\tdisplayCoverImage: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: true,\n\t\t},\n\t},\n\n\tedit: editGroupBlock,\n} );\n"]}
|
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: 6.0.0-
|
19 |
* Text Domain: buddypress
|
20 |
* Domain Path: /bp-languages/
|
21 |
* License: GPLv2 or later (license.txt)
|
15 |
* Description: BuddyPress adds community features to WordPress. Member Profiles, Activity Streams, Direct Messaging, Notifications, and more!
|
16 |
* Author: The BuddyPress Community
|
17 |
* Author URI: https://buddypress.org/
|
18 |
+
* Version: 6.0.0-RC2
|
19 |
* Text Domain: buddypress
|
20 |
* Domain Path: /bp-languages/
|
21 |
* License: GPLv2 or later (license.txt)
|
bp-members/js/blocks/member.js
CHANGED
@@ -1,3 +1,4 @@
|
|
1 |
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"TmUL":[function(require,module,exports) {
|
2 |
var e=wp.blocks.registerBlockType,t=wp.element,n=t.createElement,l=t.Fragment,s=wp.components,a=s.Placeholder,r=s.Disabled,o=s.PanelBody,i=s.SelectControl,d=s.ToggleControl,u=s.Toolbar,p=s.ToolbarButton,b=wp.blockEditor,m=b.InspectorControls,y=b.BlockControls,c=wp.data.withSelect,g=wp.compose.compose,h=wp.editor.ServerSideRender,v=wp.i18n.__,f=bp.blockComponents.AutoCompleter,S=[{label:v("None","buddypress"),value:"none"},{label:v("Thumb","buddypress"),value:"thumb"},{label:v("Full","buddypress"),value:"full"}],C=function(e){var t=e.attributes,s=e.setAttributes,b=e.bpSettings,c=b.isAvatarEnabled,g=b.isMentionEnabled,C=b.isCoverImageEnabled,I=t.avatarSize,k=t.displayMentionSlug,w=t.displayActionButton,M=t.displayCoverImage;return t.itemID?n(l,null,n(y,null,n(u,null,n(p,{icon:"edit",title:v("Select another member","buddypress"),onClick:function(){s({itemID:0})}}))),n(m,null,n(o,{title:v("Settings","buddypress"),initialOpen:!0},n(d,{label:v("Display Profile button","buddypress"),checked:!!w,onChange:function(){s({displayActionButton:!w})},help:v(w?"Include a link to the user's profile page under their display name.":"Toggle to display a link to the user's profile page under their display name.","buddypress")}),c&&n(i,{label:v("Avatar size","buddypress"),value:I,options:S,help:v('Select "None" to disable the avatar.',"buddypress"),onChange:function(e){s({avatarSize:e})}}),C&&n(d,{label:v("Display Cover Image","buddypress"),checked:!!M,onChange:function(){s({displayCoverImage:!M})},help:v(M?"Include the user's cover image over their display name.":"Toggle to display the user's cover image over their display name.","buddypress")}),g&&n(d,{label:v("Display Mention slug","buddypress"),checked:!!k,onChange:function(){s({displayMentionSlug:!k})},help:v(k?"Include the user's mention name under their display name.":"Toggle to display the user's mention name under their display name.","buddypress")}))),n(r,null,n(h,{block:"bp/member",attributes:t}))):n(a,{icon:"admin-users",label:v("BuddyPress Member","buddypress"),instructions:v("Start typing the name of the member you want to feature into this post.","buddypress")},n(f,{component:"members",ariaLabel:v("Member's username","buddypress"),placeholder:v("Enter Member's username here…","buddypress"),onSelectItem:s,useAvatar:c}))},I=g([c(function(e){return{bpSettings:e("core/editor").getEditorSettings().bp.members||{}}})])(C);e("bp/member",{title:v("Member","buddypress"),description:v("BuddyPress Member.","buddypress"),icon:"admin-users",category:"buddypress",attributes:{itemID:{type:"integer",default:0},avatarSize:{type:"string",default:"full"},displayMentionSlug:{type:"boolean",default:!0},displayActionButton:{type:"boolean",default:!0},displayCoverImage:{type:"boolean",default:!0}},edit:I});
|
3 |
-
},{}]},{},["TmUL"], null)
|
|
1 |
parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c<t.length;c++)try{f(t[c])}catch(e){i||(i=e)}if(t.length){var l=f(t[t.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=l:"function"==typeof define&&define.amd?define(function(){return l}):n&&(this[n]=l)}if(parcelRequire=f,i)throw i;return f}({"TmUL":[function(require,module,exports) {
|
2 |
var e=wp.blocks.registerBlockType,t=wp.element,n=t.createElement,l=t.Fragment,s=wp.components,a=s.Placeholder,r=s.Disabled,o=s.PanelBody,i=s.SelectControl,d=s.ToggleControl,u=s.Toolbar,p=s.ToolbarButton,b=wp.blockEditor,m=b.InspectorControls,y=b.BlockControls,c=wp.data.withSelect,g=wp.compose.compose,h=wp.editor.ServerSideRender,v=wp.i18n.__,f=bp.blockComponents.AutoCompleter,S=[{label:v("None","buddypress"),value:"none"},{label:v("Thumb","buddypress"),value:"thumb"},{label:v("Full","buddypress"),value:"full"}],C=function(e){var t=e.attributes,s=e.setAttributes,b=e.bpSettings,c=b.isAvatarEnabled,g=b.isMentionEnabled,C=b.isCoverImageEnabled,I=t.avatarSize,k=t.displayMentionSlug,w=t.displayActionButton,M=t.displayCoverImage;return t.itemID?n(l,null,n(y,null,n(u,null,n(p,{icon:"edit",title:v("Select another member","buddypress"),onClick:function(){s({itemID:0})}}))),n(m,null,n(o,{title:v("Settings","buddypress"),initialOpen:!0},n(d,{label:v("Display Profile button","buddypress"),checked:!!w,onChange:function(){s({displayActionButton:!w})},help:v(w?"Include a link to the user's profile page under their display name.":"Toggle to display a link to the user's profile page under their display name.","buddypress")}),c&&n(i,{label:v("Avatar size","buddypress"),value:I,options:S,help:v('Select "None" to disable the avatar.',"buddypress"),onChange:function(e){s({avatarSize:e})}}),C&&n(d,{label:v("Display Cover Image","buddypress"),checked:!!M,onChange:function(){s({displayCoverImage:!M})},help:v(M?"Include the user's cover image over their display name.":"Toggle to display the user's cover image over their display name.","buddypress")}),g&&n(d,{label:v("Display Mention slug","buddypress"),checked:!!k,onChange:function(){s({displayMentionSlug:!k})},help:v(k?"Include the user's mention name under their display name.":"Toggle to display the user's mention name under their display name.","buddypress")}))),n(r,null,n(h,{block:"bp/member",attributes:t}))):n(a,{icon:"admin-users",label:v("BuddyPress Member","buddypress"),instructions:v("Start typing the name of the member you want to feature into this post.","buddypress")},n(f,{component:"members",ariaLabel:v("Member's username","buddypress"),placeholder:v("Enter Member's username here…","buddypress"),onSelectItem:s,useAvatar:c}))},I=g([c(function(e){return{bpSettings:e("core/editor").getEditorSettings().bp.members||{}}})])(C);e("bp/member",{title:v("Member","buddypress"),description:v("BuddyPress Member.","buddypress"),icon:"admin-users",category:"buddypress",attributes:{itemID:{type:"integer",default:0},avatarSize:{type:"string",default:"full"},displayMentionSlug:{type:"boolean",default:!0},displayActionButton:{type:"boolean",default:!0},displayCoverImage:{type:"boolean",default:!0}},edit:I});
|
3 |
+
},{}]},{},["TmUL"], null)
|
4 |
+
//# sourceMappingURL=/bp-members/js/blocks/member.js.map
|
bp-members/js/blocks/member.js.map
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
{"version":3,"sources":["bp-members/js/blocks/member.js"],"names":["registerBlockType","wp","blocks","element","createElement","Fragment","components","Placeholder","Disabled","PanelBody","SelectControl","ToggleControl","Toolbar","ToolbarButton","blockEditor","InspectorControls","BlockControls","withSelect","data","compose","ServerSideRender","editor","__","i18n","AutoCompleter","bp","blockComponents","AVATAR_SIZES","label","value","editMember","attributes","setAttributes","bpSettings","isAvatarEnabled","isMentionEnabled","isCoverImageEnabled","avatarSize","displayMentionSlug","displayActionButton","displayCoverImage","itemID","option","editMemberBlock","select","getEditorSettings","members","title","description","icon","category","type","default","edit"],"mappings":";AAGQA,IAAAA,EAAsBC,GAAGC,OAAzBF,kBAC4BC,EAAAA,GAAGE,QAA/BC,EAAAA,EAAAA,cAAeC,EAAAA,EAAAA,SAC4EJ,EAAAA,GAAGK,WAA9FC,EAAAA,EAAAA,YAAaC,EAAAA,EAAAA,SAAUC,EAAAA,EAAAA,UAAWC,EAAAA,EAAAA,cAAeC,EAAAA,EAAAA,cAAeC,EAAAA,EAAAA,QAASC,EAAAA,EAAAA,cACpCZ,EAAAA,GAAGa,YAAxCC,EAAAA,EAAAA,kBAAmBC,EAAAA,EAAAA,cACnBC,EAAehB,GAAGiB,KAAlBD,WACAE,EAAYlB,GAAGkB,QAAfA,QACAC,EAAqBnB,GAAGoB,OAAxBD,iBAC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AW,WACVN,EAAe,CAAEM,oBAAsBA,KAExC,KAEIhB,EADHgB,EACO,4DACA,sEAD8D,kBAO1E,EAAC,EACA,KAAA,EAAC,EAAD,CAAkB,MAAM,YAAY,WAAaP,MAxFlD,EAAC,EAAD,CACC,KAAK,cACL,MAAQT,EAAI,oBAAqB,cACjC,aAAeA,EAAI,0EAA2E,eAE9F,EAAC,EAAD,CACC,UAAU,UACV,UAAYA,EAAI,oBAAsB,cACtC,YAAcA,EAAI,gCAAkC,cACpD,aAAeU,EACf,UAAYE,MAoFXS,EAAkBxB,EAAS,CAChCF,EAAY,SAAE2B,GAEN,MAAA,CACNX,WAFsBW,EAAQ,eAAgBC,oBAEnBpB,GAAGqB,SAAW,OAJpB3B,CAOnBW,GAEL9B,EAAmB,YAAa,CAC/B+C,MAAOzB,EAAI,SAAU,cAErB0B,YAAa1B,EAAI,qBAAsB,cAEvC2B,KAAM,cAENC,SAAU,aAEVnB,WAAY,CACXU,OAAQ,CACPU,KAAM,UACNC,QAAS,GAEVf,WAAY,CACXc,KAAM,SACNC,QAAS,QAEVd,mBAAoB,CACnBa,KAAM,UACNC,SAAS,GAEVb,oBAAqB,CACpBY,KAAM,UACNC,SAAS,GAEVZ,kBAAmB,CAClBW,KAAM,UACNC,SAAS,IAIXC,KAAMV","file":"member.js","sourceRoot":"../src/js","sourcesContent":["/**\n * WordPress dependencies.\n */\nconst { registerBlockType } = wp.blocks;\nconst { createElement, Fragment } = wp.element;\nconst { Placeholder, Disabled, PanelBody, SelectControl, ToggleControl, Toolbar, ToolbarButton } = wp.components;\nconst { InspectorControls, BlockControls } = wp.blockEditor;\nconst { withSelect } = wp.data;\nconst { compose } = wp.compose;\nconst { ServerSideRender } = wp.editor;\nconst { __ } = wp.i18n;\n\n/**\n * BuddyPress dependencies.\n */\nconst { AutoCompleter } = bp.blockComponents;\n\nconst AVATAR_SIZES = [\n\t{\n\t\tlabel: __( 'None', 'buddypress' ),\n\t\tvalue: 'none',\n\t},\n\t{\n\t\tlabel: __( 'Thumb', 'buddypress' ),\n\t\tvalue: 'thumb',\n\t},\n\t{\n\t\tlabel: __( 'Full', 'buddypress' ),\n\t\tvalue: 'full',\n\t},\n];\n\nconst editMember = ( { attributes, setAttributes, bpSettings } ) => {\n\tconst { isAvatarEnabled, isMentionEnabled, isCoverImageEnabled } = bpSettings;\n\tconst { avatarSize, displayMentionSlug, displayActionButton, displayCoverImage } = attributes;\n\n\tif ( ! attributes.itemID ) {\n\t\treturn (\n\t\t\t<Placeholder\n\t\t\t\ticon=\"admin-users\"\n\t\t\t\tlabel={ __( 'BuddyPress Member', 'buddypress' ) }\n\t\t\t\tinstructions={ __( 'Start typing the name of the member you want to feature into this post.', 'buddypress' ) }\n\t\t\t>\n\t\t\t\t<AutoCompleter\n\t\t\t\t\tcomponent=\"members\"\n\t\t\t\t\tariaLabel={ __( 'Member\\'s username', 'buddypress' ) }\n\t\t\t\t\tplaceholder={ __( 'Enter Member\\'s username here…', 'buddypress' ) }\n\t\t\t\t\tonSelectItem={ setAttributes }\n\t\t\t\t\tuseAvatar={ isAvatarEnabled }\n\t\t\t\t/>\n\t\t\t</Placeholder>\n\t\t);\n\t}\n\n\treturn (\n\t\t<Fragment>\n\t\t\t<BlockControls>\n\t\t\t\t<Toolbar>\n\t\t\t\t\t<ToolbarButton\n\t\t\t\t\t\ticon=\"edit\"\n\t\t\t\t\t\ttitle={ __( 'Select another member', 'buddypress' ) }\n\t\t\t\t\t\tonClick={ () =>{\n\t\t\t\t\t\t\tsetAttributes( { itemID: 0 } );\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t</Toolbar>\n\t\t\t</BlockControls>\n\t\t\t<InspectorControls>\n\t\t\t\t<PanelBody title={ __( 'Settings', 'buddypress' ) } initialOpen={ true }>\n\t\t\t\t\t<ToggleControl\n\t\t\t\t\t\tlabel={ __( 'Display Profile button', 'buddypress' ) }\n\t\t\t\t\t\tchecked={ !! displayActionButton }\n\t\t\t\t\t\tonChange={ () => {\n\t\t\t\t\t\t\tsetAttributes( { displayActionButton: ! displayActionButton } );\n\t\t\t\t\t\t} }\n\t\t\t\t\t\thelp={\n\t\t\t\t\t\t\tdisplayActionButton\n\t\t\t\t\t\t\t\t? __( 'Include a link to the user\\'s profile page under their display name.', 'buddypress' )\n\t\t\t\t\t\t\t\t: __( 'Toggle to display a link to the user\\'s profile page under their display name.', 'buddypress' )\n\t\t\t\t\t\t}\n\t\t\t\t\t/>\n\n\t\t\t\t\t{ isAvatarEnabled && (\n\t\t\t\t\t\t<SelectControl\n\t\t\t\t\t\t\tlabel={ __( 'Avatar size', 'buddypress' ) }\n\t\t\t\t\t\t\tvalue={ avatarSize }\n\t\t\t\t\t\t\toptions={ AVATAR_SIZES }\n\t\t\t\t\t\t\thelp={ __( 'Select \"None\" to disable the avatar.', 'buddypress' ) }\n\t\t\t\t\t\t\tonChange={ ( option ) => {\n\t\t\t\t\t\t\t\tsetAttributes( { avatarSize: option } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\n\t\t\t\t\t{ isCoverImageEnabled && (\n\t\t\t\t\t\t<ToggleControl\n\t\t\t\t\t\t\tlabel={ __( 'Display Cover Image', 'buddypress' ) }\n\t\t\t\t\t\t\tchecked={ !! displayCoverImage }\n\t\t\t\t\t\t\tonChange={ () => {\n\t\t\t\t\t\t\t\tsetAttributes( { displayCoverImage: ! displayCoverImage } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\thelp={\n\t\t\t\t\t\t\t\tdisplayCoverImage\n\t\t\t\t\t\t\t\t\t? __( 'Include the user\\'s cover image over their display name.', 'buddypress' )\n\t\t\t\t\t\t\t\t\t: __( 'Toggle to display the user\\'s cover image over their display name.', 'buddypress' )\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\n\t\t\t\t\t{ isMentionEnabled && (\n\t\t\t\t\t\t<ToggleControl\n\t\t\t\t\t\t\tlabel={ __( 'Display Mention slug', 'buddypress' ) }\n\t\t\t\t\t\t\tchecked={ !! displayMentionSlug }\n\t\t\t\t\t\t\tonChange={ () => {\n\t\t\t\t\t\t\t\tsetAttributes( { displayMentionSlug: ! displayMentionSlug } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\thelp={\n\t\t\t\t\t\t\t\tdisplayMentionSlug\n\t\t\t\t\t\t\t\t\t? __( 'Include the user\\'s mention name under their display name.', 'buddypress' )\n\t\t\t\t\t\t\t\t\t: __( 'Toggle to display the user\\'s mention name under their display name.', 'buddypress' )\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t</PanelBody>\n\t\t\t</InspectorControls>\n\t\t\t<Disabled>\n\t\t\t\t<ServerSideRender block=\"bp/member\" attributes={ attributes } />\n\t\t\t</Disabled>\n\t\t</Fragment>\n\t);\n};\n\nconst editMemberBlock = compose( [\n\twithSelect( ( select ) => {\n\t\tconst editorSettings = select( 'core/editor' ).getEditorSettings();\n\t\treturn {\n\t\t\tbpSettings: editorSettings.bp.members || {},\n\t\t};\n\t} ),\n] )( editMember );\n\nregisterBlockType( 'bp/member', {\n\ttitle: __( 'Member', 'buddypress' ),\n\n\tdescription: __( 'BuddyPress Member.', 'buddypress' ),\n\n\ticon: 'admin-users',\n\n\tcategory: 'buddypress',\n\n\tattributes: {\n\t\titemID: {\n\t\t\ttype: 'integer',\n\t\t\tdefault: 0,\n\t\t},\n\t\tavatarSize: {\n\t\t\ttype: 'string',\n\t\t\tdefault: 'full',\n\t\t},\n\t\tdisplayMentionSlug: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: true,\n\t\t},\n\t\tdisplayActionButton: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: true,\n\t\t},\n\t\tdisplayCoverImage: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: true,\n\t\t},\n\t},\n\n\tedit: editMemberBlock,\n} );\n"]}
|
buddypress.pot
CHANGED
@@ -9,7 +9,7 @@ msgstr ""
|
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2020-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: buddypress\n"
|
@@ -3757,8 +3757,8 @@ msgstr ""
|
|
3757 |
#: bp-settings/classes/class-bp-settings-component.php:28
|
3758 |
#: bp-settings/classes/class-bp-settings-component.php:142
|
3759 |
#: bp-settings/classes/class-bp-settings-component.php:243
|
3760 |
-
#: bp-groups/js/blocks/group.js:
|
3761 |
-
#: bp-members/js/blocks/member.js:
|
3762 |
msgid "Settings"
|
3763 |
msgstr ""
|
3764 |
|
@@ -4041,28 +4041,29 @@ msgstr ""
|
|
4041 |
msgid "Community Support"
|
4042 |
msgstr ""
|
4043 |
|
4044 |
-
|
|
|
4045 |
msgid "Noteworthy Contributors to %s"
|
4046 |
msgstr ""
|
4047 |
|
4048 |
#. translators: %s: BuddyPress version number
|
4049 |
-
#: bp-core/classes/class-bp-admin.php:
|
4050 |
msgid "All Contributors to BuddyPress %s"
|
4051 |
msgstr ""
|
4052 |
|
4053 |
-
#: bp-core/classes/class-bp-admin.php:
|
4054 |
msgid "With our thanks to these Open Source projects"
|
4055 |
msgstr ""
|
4056 |
|
4057 |
-
#: bp-core/classes/class-bp-admin.php:
|
4058 |
msgid "Contributor Emeriti"
|
4059 |
msgstr ""
|
4060 |
|
4061 |
-
#: bp-core/classes/class-bp-admin.php:
|
4062 |
msgid "Project Founder"
|
4063 |
msgstr ""
|
4064 |
|
4065 |
-
#: bp-core/classes/class-bp-admin.php:
|
4066 |
msgctxt "Email post type"
|
4067 |
msgid "Situations"
|
4068 |
msgstr ""
|
@@ -5568,7 +5569,7 @@ msgstr ""
|
|
5568 |
#: bp-groups/bp-groups-functions.php:1213
|
5569 |
#: bp-groups/bp-groups-functions.php:2916
|
5570 |
#: bp-members/classes/class-bp-members-admin.php:836
|
5571 |
-
#: bp-members/js/blocks/member.js:
|
5572 |
msgid "Member"
|
5573 |
msgstr ""
|
5574 |
|
@@ -5924,7 +5925,7 @@ msgid "Private Group"
|
|
5924 |
msgstr ""
|
5925 |
|
5926 |
#: bp-groups/bp-groups-template.php:690
|
5927 |
-
#: bp-groups/js/blocks/group.js:
|
5928 |
msgid "Group"
|
5929 |
msgstr ""
|
5930 |
|
@@ -13244,152 +13245,152 @@ msgstr ""
|
|
13244 |
msgid "BuddyPress Nouveau"
|
13245 |
msgstr ""
|
13246 |
|
13247 |
-
#: bp-core/js/block-components.js:
|
13248 |
msgid "Item's name"
|
13249 |
msgstr ""
|
13250 |
|
13251 |
-
#: bp-core/js/block-components.js:
|
13252 |
msgid "Enter Item's name here…"
|
13253 |
msgstr ""
|
13254 |
|
13255 |
-
#: bp-groups/js/blocks/group.js:
|
13256 |
-
#: bp-members/js/blocks/member.js:
|
13257 |
msgid "None"
|
13258 |
msgstr ""
|
13259 |
|
13260 |
-
#: bp-groups/js/blocks/group.js:
|
13261 |
-
#: bp-members/js/blocks/member.js:
|
13262 |
msgid "Thumb"
|
13263 |
msgstr ""
|
13264 |
|
13265 |
-
#: bp-groups/js/blocks/group.js:
|
13266 |
-
#: bp-members/js/blocks/member.js:
|
13267 |
msgid "Full"
|
13268 |
msgstr ""
|
13269 |
|
13270 |
-
#: bp-groups/js/blocks/group.js:
|
13271 |
msgid "BuddyPress Group"
|
13272 |
msgstr ""
|
13273 |
|
13274 |
-
#: bp-groups/js/blocks/group.js:
|
13275 |
msgid "Start typing the name of the group you want to feature into this post."
|
13276 |
msgstr ""
|
13277 |
|
13278 |
-
#: bp-groups/js/blocks/group.js:
|
13279 |
msgid "Group's name"
|
13280 |
msgstr ""
|
13281 |
|
13282 |
-
#: bp-groups/js/blocks/group.js:
|
13283 |
msgid "Enter Group's name here…"
|
13284 |
msgstr ""
|
13285 |
|
13286 |
-
#: bp-groups/js/blocks/group.js:
|
13287 |
msgid "Select another group"
|
13288 |
msgstr ""
|
13289 |
|
13290 |
-
#: bp-groups/js/blocks/group.js:
|
13291 |
msgid "Display Group's home button"
|
13292 |
msgstr ""
|
13293 |
|
13294 |
-
#: bp-groups/js/blocks/group.js:
|
13295 |
msgid "Include a link to the group's home page under their name."
|
13296 |
msgstr ""
|
13297 |
|
13298 |
-
#: bp-groups/js/blocks/group.js:
|
13299 |
msgid "Toggle to display a link to the group's home page under their name."
|
13300 |
msgstr ""
|
13301 |
|
13302 |
-
#: bp-groups/js/blocks/group.js:
|
13303 |
msgid "Display group's description"
|
13304 |
msgstr ""
|
13305 |
|
13306 |
-
#: bp-groups/js/blocks/group.js:
|
13307 |
msgid "Include the group's description under their name."
|
13308 |
msgstr ""
|
13309 |
|
13310 |
-
#: bp-groups/js/blocks/group.js:
|
13311 |
msgid "Toggle to display the group's description under their name."
|
13312 |
msgstr ""
|
13313 |
|
13314 |
-
#: bp-groups/js/blocks/group.js:
|
13315 |
-
#: bp-members/js/blocks/member.js:
|
13316 |
msgid "Avatar size"
|
13317 |
msgstr ""
|
13318 |
|
13319 |
-
#: bp-groups/js/blocks/group.js:
|
13320 |
-
#: bp-members/js/blocks/member.js:
|
13321 |
msgid "Select \"None\" to disable the avatar."
|
13322 |
msgstr ""
|
13323 |
|
13324 |
-
#: bp-groups/js/blocks/group.js:
|
13325 |
-
#: bp-members/js/blocks/member.js:
|
13326 |
msgid "Display Cover Image"
|
13327 |
msgstr ""
|
13328 |
|
13329 |
-
#: bp-groups/js/blocks/group.js:
|
13330 |
msgid "Include the group's cover image over their name."
|
13331 |
msgstr ""
|
13332 |
|
13333 |
-
#: bp-groups/js/blocks/group.js:
|
13334 |
msgid "Toggle to display the group's cover image over their name."
|
13335 |
msgstr ""
|
13336 |
|
13337 |
-
#: bp-groups/js/blocks/group.js:
|
13338 |
msgid "BuddyPress Group."
|
13339 |
msgstr ""
|
13340 |
|
13341 |
-
#: bp-members/js/blocks/member.js:
|
13342 |
msgid "BuddyPress Member"
|
13343 |
msgstr ""
|
13344 |
|
13345 |
-
#: bp-members/js/blocks/member.js:
|
13346 |
msgid "Start typing the name of the member you want to feature into this post."
|
13347 |
msgstr ""
|
13348 |
|
13349 |
-
#: bp-members/js/blocks/member.js:
|
13350 |
msgid "Member's username"
|
13351 |
msgstr ""
|
13352 |
|
13353 |
-
#: bp-members/js/blocks/member.js:
|
13354 |
msgid "Enter Member's username here…"
|
13355 |
msgstr ""
|
13356 |
|
13357 |
-
#: bp-members/js/blocks/member.js:
|
13358 |
msgid "Select another member"
|
13359 |
msgstr ""
|
13360 |
|
13361 |
-
#: bp-members/js/blocks/member.js:
|
13362 |
msgid "Display Profile button"
|
13363 |
msgstr ""
|
13364 |
|
13365 |
-
#: bp-members/js/blocks/member.js:
|
13366 |
msgid "Include a link to the user's profile page under their display name."
|
13367 |
msgstr ""
|
13368 |
|
13369 |
-
#: bp-members/js/blocks/member.js:
|
13370 |
msgid "Toggle to display a link to the user's profile page under their display name."
|
13371 |
msgstr ""
|
13372 |
|
13373 |
-
#: bp-members/js/blocks/member.js:
|
13374 |
msgid "Include the user's cover image over their display name."
|
13375 |
msgstr ""
|
13376 |
|
13377 |
-
#: bp-members/js/blocks/member.js:
|
13378 |
msgid "Toggle to display the user's cover image over their display name."
|
13379 |
msgstr ""
|
13380 |
|
13381 |
-
#: bp-members/js/blocks/member.js:
|
13382 |
msgid "Display Mention slug"
|
13383 |
msgstr ""
|
13384 |
|
13385 |
-
#: bp-members/js/blocks/member.js:
|
13386 |
msgid "Include the user's mention name under their display name."
|
13387 |
msgstr ""
|
13388 |
|
13389 |
-
#: bp-members/js/blocks/member.js:
|
13390 |
msgid "Toggle to display the user's mention name under their display name."
|
13391 |
msgstr ""
|
13392 |
|
13393 |
-
#: bp-members/js/blocks/member.js:
|
13394 |
msgid "BuddyPress Member."
|
13395 |
msgstr ""
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2020-05-03T03:38:59+00:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.4.0\n"
|
15 |
"X-Domain: buddypress\n"
|
3757 |
#: bp-settings/classes/class-bp-settings-component.php:28
|
3758 |
#: bp-settings/classes/class-bp-settings-component.php:142
|
3759 |
#: bp-settings/classes/class-bp-settings-component.php:243
|
3760 |
+
#: bp-groups/js/blocks/group.js:70
|
3761 |
+
#: bp-members/js/blocks/member.js:69
|
3762 |
msgid "Settings"
|
3763 |
msgstr ""
|
3764 |
|
4041 |
msgid "Community Support"
|
4042 |
msgstr ""
|
4043 |
|
4044 |
+
#. translators: %s: BuddyPress version number
|
4045 |
+
#: bp-core/classes/class-bp-admin.php:934
|
4046 |
msgid "Noteworthy Contributors to %s"
|
4047 |
msgstr ""
|
4048 |
|
4049 |
#. translators: %s: BuddyPress version number
|
4050 |
+
#: bp-core/classes/class-bp-admin.php:966
|
4051 |
msgid "All Contributors to BuddyPress %s"
|
4052 |
msgstr ""
|
4053 |
|
4054 |
+
#: bp-core/classes/class-bp-admin.php:1002
|
4055 |
msgid "With our thanks to these Open Source projects"
|
4056 |
msgstr ""
|
4057 |
|
4058 |
+
#: bp-core/classes/class-bp-admin.php:1016
|
4059 |
msgid "Contributor Emeriti"
|
4060 |
msgstr ""
|
4061 |
|
4062 |
+
#: bp-core/classes/class-bp-admin.php:1021
|
4063 |
msgid "Project Founder"
|
4064 |
msgstr ""
|
4065 |
|
4066 |
+
#: bp-core/classes/class-bp-admin.php:1057
|
4067 |
msgctxt "Email post type"
|
4068 |
msgid "Situations"
|
4069 |
msgstr ""
|
5569 |
#: bp-groups/bp-groups-functions.php:1213
|
5570 |
#: bp-groups/bp-groups-functions.php:2916
|
5571 |
#: bp-members/classes/class-bp-members-admin.php:836
|
5572 |
+
#: bp-members/js/blocks/member.js:143
|
5573 |
msgid "Member"
|
5574 |
msgstr ""
|
5575 |
|
5925 |
msgstr ""
|
5926 |
|
5927 |
#: bp-groups/bp-groups-template.php:690
|
5928 |
+
#: bp-groups/js/blocks/group.js:142
|
5929 |
msgid "Group"
|
5930 |
msgstr ""
|
5931 |
|
13245 |
msgid "BuddyPress Nouveau"
|
13246 |
msgstr ""
|
13247 |
|
13248 |
+
#: bp-core/js/block-components.js:167
|
13249 |
msgid "Item's name"
|
13250 |
msgstr ""
|
13251 |
|
13252 |
+
#: bp-core/js/block-components.js:171
|
13253 |
msgid "Enter Item's name here…"
|
13254 |
msgstr ""
|
13255 |
|
13256 |
+
#: bp-groups/js/blocks/group.js:20
|
13257 |
+
#: bp-members/js/blocks/member.js:20
|
13258 |
msgid "None"
|
13259 |
msgstr ""
|
13260 |
|
13261 |
+
#: bp-groups/js/blocks/group.js:24
|
13262 |
+
#: bp-members/js/blocks/member.js:24
|
13263 |
msgid "Thumb"
|
13264 |
msgstr ""
|
13265 |
|
13266 |
+
#: bp-groups/js/blocks/group.js:28
|
13267 |
+
#: bp-members/js/blocks/member.js:28
|
13268 |
msgid "Full"
|
13269 |
msgstr ""
|
13270 |
|
13271 |
+
#: bp-groups/js/blocks/group.js:41
|
13272 |
msgid "BuddyPress Group"
|
13273 |
msgstr ""
|
13274 |
|
13275 |
+
#: bp-groups/js/blocks/group.js:42
|
13276 |
msgid "Start typing the name of the group you want to feature into this post."
|
13277 |
msgstr ""
|
13278 |
|
13279 |
+
#: bp-groups/js/blocks/group.js:47
|
13280 |
msgid "Group's name"
|
13281 |
msgstr ""
|
13282 |
|
13283 |
+
#: bp-groups/js/blocks/group.js:48
|
13284 |
msgid "Enter Group's name here…"
|
13285 |
msgstr ""
|
13286 |
|
13287 |
+
#: bp-groups/js/blocks/group.js:62
|
13288 |
msgid "Select another group"
|
13289 |
msgstr ""
|
13290 |
|
13291 |
+
#: bp-groups/js/blocks/group.js:72
|
13292 |
msgid "Display Group's home button"
|
13293 |
msgstr ""
|
13294 |
|
13295 |
+
#: bp-groups/js/blocks/group.js:79
|
13296 |
msgid "Include a link to the group's home page under their name."
|
13297 |
msgstr ""
|
13298 |
|
13299 |
+
#: bp-groups/js/blocks/group.js:80
|
13300 |
msgid "Toggle to display a link to the group's home page under their name."
|
13301 |
msgstr ""
|
13302 |
|
13303 |
+
#: bp-groups/js/blocks/group.js:85
|
13304 |
msgid "Display group's description"
|
13305 |
msgstr ""
|
13306 |
|
13307 |
+
#: bp-groups/js/blocks/group.js:92
|
13308 |
msgid "Include the group's description under their name."
|
13309 |
msgstr ""
|
13310 |
|
13311 |
+
#: bp-groups/js/blocks/group.js:93
|
13312 |
msgid "Toggle to display the group's description under their name."
|
13313 |
msgstr ""
|
13314 |
|
13315 |
+
#: bp-groups/js/blocks/group.js:99
|
13316 |
+
#: bp-members/js/blocks/member.js:85
|
13317 |
msgid "Avatar size"
|
13318 |
msgstr ""
|
13319 |
|
13320 |
+
#: bp-groups/js/blocks/group.js:102
|
13321 |
+
#: bp-members/js/blocks/member.js:88
|
13322 |
msgid "Select \"None\" to disable the avatar."
|
13323 |
msgstr ""
|
13324 |
|
13325 |
+
#: bp-groups/js/blocks/group.js:111
|
13326 |
+
#: bp-members/js/blocks/member.js:97
|
13327 |
msgid "Display Cover Image"
|
13328 |
msgstr ""
|
13329 |
|
13330 |
+
#: bp-groups/js/blocks/group.js:118
|
13331 |
msgid "Include the group's cover image over their name."
|
13332 |
msgstr ""
|
13333 |
|
13334 |
+
#: bp-groups/js/blocks/group.js:119
|
13335 |
msgid "Toggle to display the group's cover image over their name."
|
13336 |
msgstr ""
|
13337 |
|
13338 |
+
#: bp-groups/js/blocks/group.js:144
|
13339 |
msgid "BuddyPress Group."
|
13340 |
msgstr ""
|
13341 |
|
13342 |
+
#: bp-members/js/blocks/member.js:41
|
13343 |
msgid "BuddyPress Member"
|
13344 |
msgstr ""
|
13345 |
|
13346 |
+
#: bp-members/js/blocks/member.js:42
|
13347 |
msgid "Start typing the name of the member you want to feature into this post."
|
13348 |
msgstr ""
|
13349 |
|
13350 |
+
#: bp-members/js/blocks/member.js:46
|
13351 |
msgid "Member's username"
|
13352 |
msgstr ""
|
13353 |
|
13354 |
+
#: bp-members/js/blocks/member.js:47
|
13355 |
msgid "Enter Member's username here…"
|
13356 |
msgstr ""
|
13357 |
|
13358 |
+
#: bp-members/js/blocks/member.js:61
|
13359 |
msgid "Select another member"
|
13360 |
msgstr ""
|
13361 |
|
13362 |
+
#: bp-members/js/blocks/member.js:71
|
13363 |
msgid "Display Profile button"
|
13364 |
msgstr ""
|
13365 |
|
13366 |
+
#: bp-members/js/blocks/member.js:78
|
13367 |
msgid "Include a link to the user's profile page under their display name."
|
13368 |
msgstr ""
|
13369 |
|
13370 |
+
#: bp-members/js/blocks/member.js:79
|
13371 |
msgid "Toggle to display a link to the user's profile page under their display name."
|
13372 |
msgstr ""
|
13373 |
|
13374 |
+
#: bp-members/js/blocks/member.js:104
|
13375 |
msgid "Include the user's cover image over their display name."
|
13376 |
msgstr ""
|
13377 |
|
13378 |
+
#: bp-members/js/blocks/member.js:105
|
13379 |
msgid "Toggle to display the user's cover image over their display name."
|
13380 |
msgstr ""
|
13381 |
|
13382 |
+
#: bp-members/js/blocks/member.js:112
|
13383 |
msgid "Display Mention slug"
|
13384 |
msgstr ""
|
13385 |
|
13386 |
+
#: bp-members/js/blocks/member.js:119
|
13387 |
msgid "Include the user's mention name under their display name."
|
13388 |
msgstr ""
|
13389 |
|
13390 |
+
#: bp-members/js/blocks/member.js:120
|
13391 |
msgid "Toggle to display the user's mention name under their display name."
|
13392 |
msgstr ""
|
13393 |
|
13394 |
+
#: bp-members/js/blocks/member.js:145
|
13395 |
msgid "BuddyPress Member."
|
13396 |
msgstr ""
|
class-buddypress.php
CHANGED
@@ -303,7 +303,7 @@ class BuddyPress {
|
|
303 |
|
304 |
/** Versions **********************************************************/
|
305 |
|
306 |
-
$this->version = '6.0.0-
|
307 |
$this->db_version = 12385;
|
308 |
|
309 |
/** Loading ***********************************************************/
|
303 |
|
304 |
/** Versions **********************************************************/
|
305 |
|
306 |
+
$this->version = '6.0.0-RC2';
|
307 |
$this->db_version = 12385;
|
308 |
|
309 |
/** Loading ***********************************************************/
|