Changeset 3627603
- Timestamp:
- 07/29/2026 06:58:52 PM (4 months ago)
- Location:
- buddypress
- Files:
-
- 26 edited
- 1 copied
-
tags/14.5.2 (copied) (copied from buddypress/trunk )
-
tags/14.5.2/bp-activity/bp-activity-functions.php (modified) (2 diffs)
-
tags/14.5.2/bp-activity/classes/class-bp-activity-oembed-extension.php (modified) (1 diff)
-
tags/14.5.2/bp-core/bp-core-template-loader.php (modified) (2 diffs)
-
tags/14.5.2/bp-groups/bp-groups-admin.php (modified) (1 diff)
-
tags/14.5.2/bp-loader.php (modified) (1 diff)
-
tags/14.5.2/bp-templates/bp-legacy/buddypress-functions.php (modified) (3 diffs)
-
tags/14.5.2/bp-templates/bp-nouveau/includes/activity/ajax.php (modified) (1 diff)
-
tags/14.5.2/bp-templates/bp-nouveau/includes/ajax.php (modified) (3 diffs)
-
tags/14.5.2/bp-templates/bp-nouveau/js/buddypress-nouveau.js (modified) (1 diff)
-
tags/14.5.2/bp-templates/bp-nouveau/js/buddypress-nouveau.min.js (modified) (1 diff)
-
tags/14.5.2/buddypress.pot (modified) (20 diffs)
-
tags/14.5.2/class-buddypress.php (modified) (1 diff)
-
tags/14.5.2/readme.txt (modified) (5 diffs)
-
trunk/bp-activity/bp-activity-functions.php (modified) (2 diffs)
-
trunk/bp-activity/classes/class-bp-activity-oembed-extension.php (modified) (1 diff)
-
trunk/bp-core/bp-core-template-loader.php (modified) (2 diffs)
-
trunk/bp-groups/bp-groups-admin.php (modified) (1 diff)
-
trunk/bp-loader.php (modified) (1 diff)
-
trunk/bp-templates/bp-legacy/buddypress-functions.php (modified) (3 diffs)
-
trunk/bp-templates/bp-nouveau/includes/activity/ajax.php (modified) (1 diff)
-
trunk/bp-templates/bp-nouveau/includes/ajax.php (modified) (3 diffs)
-
trunk/bp-templates/bp-nouveau/js/buddypress-nouveau.js (modified) (1 diff)
-
trunk/bp-templates/bp-nouveau/js/buddypress-nouveau.min.js (modified) (1 diff)
-
trunk/buddypress.pot (modified) (20 diffs)
-
trunk/class-buddypress.php (modified) (1 diff)
-
trunk/readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
buddypress/tags/14.5.2/bp-activity/bp-activity-functions.php
r3259420 r3627603 3354 3354 } 3355 3355 3356 // Get parent activity item for activity comment. 3357 if ( 'activity_comment' === $activity->type ) { 3358 $activity = new BP_Activity_Activity( $activity->item_id ); 3359 } 3360 3356 3361 // If activity is from a group, do extra cap checks. 3357 3362 if ( bp_is_active( 'groups' ) && buddypress()->groups->id === $activity->component && bp_current_user_can( 'bp_view', array( 'bp_component' => 'groups' ) ) ) { … … 3381 3386 if ( bp_current_user_can( 'bp_moderate' ) ) { 3382 3387 $retval = true; 3388 } 3389 3390 // Activity comments as parent are not allowed. 3391 if ( 'activity_comment' === $activity->type ) { 3392 $retval = false; 3383 3393 } 3384 3394 -
buddypress/tags/14.5.2/bp-activity/classes/class-bp-activity-oembed-extension.php
r3079691 r3627603 123 123 124 124 // Okay, we're good to go! 125 if ( ! empty( $activity->component ) && 0 === (int) $activity->is_spam ) {125 if ( ! empty( $activity->component ) && 0 === (int) $activity->is_spam && bp_activity_user_can_read( $activity ) ) { 126 126 return $activity_id; 127 127 } -
buddypress/tags/14.5.2/bp-core/bp-core-template-loader.php
r3599376 r3627603 654 654 * 655 655 * @since 12.0.0 656 * @since 14.5.1 Make nullable type parameter compatible with PHP 8.4. 656 657 * 657 658 * @param string $bp_request A specific BuddyPress request. … … 659 660 * @return true 660 661 */ 661 function bp_reset_query( $bp_request = '', WP_Query$query = null ) {662 function bp_reset_query( $bp_request = '', $query = null ) { 662 663 global $wp; 663 664 -
buddypress/tags/14.5.2/bp-groups/bp-groups-admin.php
r3599376 r3627603 1163 1163 * 1164 1164 * @since 2.6.0 1165 * @since 14.5.1 Make nullable type parameter compatible with PHP 8.4. 1165 1166 * 1166 1167 * @param BP_Groups_Group|null $group The BP_Groups_Group object corresponding to the group being edited. 1167 1168 */ 1168 function bp_groups_admin_edit_metabox_group_type( BP_Groups_Group$group = null ) {1169 function bp_groups_admin_edit_metabox_group_type( $group = null ) { 1169 1170 1170 1171 // Bail if no group ID. -
buddypress/tags/14.5.2/bp-loader.php
r3599376 r3627603 22 22 * Requires PHP: 5.6 23 23 * Requires at least: 6.1 24 * Version: 14.5. 024 * Version: 14.5.2 25 25 */ 26 26 -
buddypress/tags/14.5.2/bp-templates/bp-legacy/buddypress-functions.php
r3599376 r3627603 859 859 } 860 860 861 if ( ! bp_current_user_can( 'bp_view', array( 'bp_component' => $object ) ) ) { 862 return; 863 } 864 861 865 /** 862 866 * AJAX requests happen too early to be seen by bp_update_is_directory() … … 925 929 function bp_legacy_theme_activity_template_loader() { 926 930 if ( ! bp_is_post_request() ) { 931 return; 932 } 933 934 if ( ! bp_current_user_can( 'bp_view', array( 'bp_component' => 'activity' ) ) ) { 927 935 return; 928 936 } … … 1367 1375 if ( empty( $activity ) ) { 1368 1376 exit; // @todo: error? 1377 } 1378 1379 // Ensure that the user is allowed to read the activity item. 1380 if ( ! bp_activity_user_can_read( $activity ) ) { 1381 exit; 1369 1382 } 1370 1383 -
buddypress/tags/14.5.2/bp-templates/bp-nouveau/includes/activity/ajax.php
r3259420 r3627603 317 317 318 318 $activity = $activity_array['activities'][0]; 319 320 // Ensure that the user is allowed to read the activity item. 321 if ( ! bp_activity_user_can_read( $activity ) ) { 322 wp_send_json_error( $response ); 323 } 319 324 320 325 /** -
buddypress/tags/14.5.2/bp-templates/bp-nouveau/includes/ajax.php
r2947464 r3627603 18 18 */ 19 19 function bp_nouveau_ajax_object_template_loader() { 20 $response = array( 21 'feedback' => sprintf( 22 '<div class="bp-feedback bp-messages error">%s</div>', 23 esc_html__( 'There was a problem displaying the content. Please try again.', 'buddypress' ) 24 ), 25 ); 26 20 27 if ( ! bp_is_post_request() ) { 21 wp_send_json_error( );28 wp_send_json_error( $response ); 22 29 } 23 30 … … 38 45 // Bail if object is not an active component to prevent arbitrary file inclusion. 39 46 if ( ! bp_is_active( $object ) ) { 40 wp_send_json_error(); 47 wp_send_json_error( $response ); 48 } 49 50 if ( ! bp_current_user_can( 'bp_view', array( 'bp_component' => $object ) ) ) { 51 wp_send_json_error( $response ); 41 52 } 42 53 43 54 // Nonce check! 44 55 if ( ! $post_vars['nonce'] || ! wp_verify_nonce( $post_vars['nonce'], 'bp_nouveau_' . $object ) ) { 45 wp_send_json_error( );56 wp_send_json_error( $response ); 46 57 } 47 58 … … 106 117 } 107 118 119 if ( 'activity' === $object && (int) bp_current_action() ) { 120 $activity_array = bp_activity_get_specific( 121 array( 122 'activity_ids' => bp_current_action(), 123 'display_comments' => 'stream', 124 ) 125 ); 126 127 if ( ! empty( $activity_array['activities'][0] ) ) { 128 $activity = $activity_array['activities'][0]; 129 130 // Ensure that the user is allowed to read the activity item. 131 if ( ! bp_activity_user_can_read( $activity ) ) { 132 wp_send_json_error( $response ); 133 } 134 } 135 } 136 108 137 // Get the template path based on the 'template' variable via the AJAX request. 109 138 $template = ''; -
buddypress/tags/14.5.2/bp-templates/bp-nouveau/js/buddypress-nouveau.js
r2814648 r3627603 854 854 .addClass( 'description' ) 855 855 ); 856 857 // Reinitialize after adding #password-warning. 858 passwordWarningContainer = $( currentForm ).find( '#password-warning' ); 856 859 } 860 861 // Ensure we override user-profile.js. 862 setTimeout( function() { 863 $( '#submit' ).prop( 'disabled', true ); 864 }, 1 ); 857 865 858 866 $( passwordWarningContainer ).html( bpPasswordVerify.tooWeakPasswordWarning ); -
buddypress/tags/14.5.2/bp-templates/bp-nouveau/js/buddypress-nouveau.min.js
r2912673 r3627603 1 window.wp=window.wp||{},window.bp=window.bp||{},function(s,c){"undefined"!=typeof BP_Nouveau&&(s.Nouveau={start:function(){this.setupGlobals(),this.prepareDocument(),this.initObjects(),this.setHeartBeat(),this.addListeners()},setupGlobals:function(){this.ajax_request=null,this.objects=c.map(BP_Nouveau.objects,function(e){return e}),this.objectNavParent=BP_Nouveau.object_nav_parent,this.heartbeat=wp.heartbeat||{},this.querystring=this.getLinkParams()},prepareDocument:function(){var a;c("body").hasClass("no-js")&&c("body").removeClass("no-js").addClass("js"),BP_Nouveau.warnings&&"undefined"!=typeof console&&console.warn&&c.each(BP_Nouveau.warnings,function(e,t){console.warn(t)}),c(".buddypress_object_nav .widget-title").length&&(a=c(".buddypress_object_nav .widget-title").html(),c("body").find('*:contains("'+a+'")').each(function(e,t){c(t).hasClass("widget-title")||a!==c(t).html()||c(t).is("a")||c(t).remove()}))},getStorage:function(e,t){e=(e=sessionStorage.getItem(e))?JSON.parse(e):{};return void 0!==t?e[t]||!1:e},setStorage:function(e,t,a){var s=this.getStorage(e);return void 0===a&&void 0!==s[t]?delete s[t]:s[t]=a,sessionStorage.setItem(e,JSON.stringify(s)),null!==sessionStorage.getItem(e)},getLinkParams:function(e,t){var e=e?-1!==e.indexOf("?")?"?"+e.split("?")[1]:"":document.location.search;return e?(e=e.replace(/(^\?)/,"").split("&").map(function(e){return this[(e=e.split("="))[0]]=e[1],this}.bind({}))[0],t?e[t]:e):null},urlDecode:function(e,t){var a=t||{amp:"&",lt:"<",gt:">",quot:'"',"#039":"'"};return decodeURIComponent(e.replace(/\+/g," ")).replace(/&([^;]+);/g,function(e,t){return a[t]||""})},ajax:function(e,t){this.ajax_request&&this.ajax_request.abort();t=c.extend({},s.Nouveau.getStorage("bp-"+t),{nonce:BP_Nouveau.nonces[t]},e);return void 0!==BP_Nouveau.customizer_settings&&(t.customized=BP_Nouveau.customizer_settings),this.ajax_request=c.post(BP_Nouveau.ajaxurl,t,"json"),this.ajax_request},inject:function(e,t,a){c(e).length&&t&&("append"===(a=a||"reset")?c(e).append(t):"prepend"===a?c(e).prepend(t):c(e).html(t),"undefined"==typeof bp_mentions&&void 0===s.mentions||c(".bp-suggestions").bp_mentions(s.mentions.users))},objectRequest:function(a){var e,s=this;if((a=c.extend({object:"",scope:null,filter:null,target:"#buddypress [data-bp-list]",search_terms:"",page:1,extras:null,caller:null,template:null,method:"reset"},a)).object&&a.target)return a.search_terms&&(a.search_terms=a.search_terms.replace(/</g,"<").replace(/>/g,">")),null!==a.scope&&this.setStorage("bp-"+a.object,"scope",a.scope),null!==a.filter&&this.setStorage("bp-"+a.object,"filter",a.filter),null!==a.extras&&this.setStorage("bp-"+a.object,"extras",a.extras),c(this.objectNavParent+" [data-bp-object]").each(function(){c(this).removeClass("selected loading")}),c(this.objectNavParent+' [data-bp-scope="'+a.scope+'"], #object-nav li.current').addClass("selected loading"),c('#buddypress [data-bp-filter="'+a.object+'"] option[value="'+a.filter+'"]').prop("selected",!0),"friends"===a.object||"friend_requests"===a.object||"group_members"===a.object?(a.template=a.object,a.object="members"):"group_requests"===a.object?(a.object="groups",a.template="group_requests"):"notifications"===a.object&&(a.object="members",a.template="member_notifications"),e=c.extend({action:a.object+"_filter"},a),this.ajax(e,a.object).done(function(e){var t;!1!==e.success&&((t=c(s.objectNavParent+' [data-bp-scope="'+a.scope+'"]')).removeClass("loading"),e.data&&e.data.totalItems&&e.data.navLabel&&t.find("a").first().html(e.data.navLabel+" ").append(c("<span></span>").addClass("count").html(e.data.totalItems)),"reset"!==a.method?(s.inject(a.target,e.data.contents,a.method),c(a.target).trigger("bp_ajax_"+a.method,c.extend(a,{response:e.data}))):"pag-bottom"===a.caller&&c("#subnav").length?(t=c("#subnav").parent(),c("html,body").animate({scrollTop:t.offset().top},"slow",function(){c(a.target).fadeOut(100,function(){s.inject(this,e.data.contents,a.method),c(this).fadeIn(100,"swing",function(){c(a.target).trigger("bp_ajax_request",c.extend(a,{response:e.data}))})})})):c(a.target).fadeOut(100,function(){s.inject(this,e.data.contents,a.method),c(this).fadeIn(100,"swing",function(){c(a.target).trigger("bp_ajax_request",c.extend(a,{response:e.data}))})}))})},initObjects:function(){var a,s=this,r="all",n="",o=null,i=null;c.each(this.objects,function(e,t){void 0!==(a=s.getStorage("bp-"+t)).scope&&(r=a.scope),void 0!==a.extras&&"notifications"!==t&&(o=a.extras),c('#buddypress [data-bp-filter="'+t+'"]').length&&(void 0!==a.filter?(i=a.filter,c('#buddypress [data-bp-filter="'+t+'"] option[value="'+i+'"]').prop("selected",!0)):"-1"!==c('#buddypress [data-bp-filter="'+t+'"]').val()&&"0"!==c('#buddypress [data-bp-filter="'+t+'"]').val()&&(i=c('#buddypress [data-bp-filter="'+t+'"]').val())),c(this.objectNavParent+' [data-bp-object="'+t+'"]').length&&(c(this.objectNavParent+' [data-bp-object="'+t+'"]').each(function(){c(this).removeClass("selected")}),c(this.objectNavParent+' [data-bp-scope="'+t+'"], #object-nav li.current').addClass("selected")),null!==s.querystring&&(void 0!==s.querystring[t+"_search"]?n=s.querystring[t+"_search"]:void 0!==s.querystring.s&&(n=s.querystring.s),n)&&(n=s.urlDecode(n),c('#buddypress [data-bp-search="'+t+'"] input[type=search]').val(n)),c('#buddypress [data-bp-list="'+t+'"]').length&&(a={object:t,scope:r,filter:i,search_terms:n,extras:o},s.objectRequest(a))})},setHeartBeat:function(){void 0!==BP_Nouveau.pulse&&this.heartbeat&&(this.heartbeat.interval(Number(BP_Nouveau.pulse)),c.fn.extend({"heartbeat-send":function(){return this.bind("heartbeat-send.buddypress")}}),c.fn.extend({"heartbeat-tick":function(){return this.bind("heartbeat-tick.buddypress")}}))},addListeners:function(){c("[data-bp-disable-input]").on("change",this.toggleDisabledInput),c(document).on("heartbeat-send.buddypress",this.heartbeatSend),c(document).on("heartbeat-tick.buddypress",this.heartbeatTick),c(this.objectNavParent+" .bp-navs").on("click","a",this,this.scopeQuery),c("#buddypress [data-bp-filter]").on("change",this,this.filterQuery),c("#buddypress [data-bp-search]").on("submit","form",this,this.searchQuery),c("#buddypress [data-bp-search] form").on("search","input[type=search]",this.resetSearch),c("#buddypress [data-bp-list], #buddypress #item-header").on("click","[data-bp-btn-action]",this,this.buttonAction),c("#buddypress [data-bp-close]").on("click",this,this.closeNotice),c("#buddypress [data-bp-list]").on("click","[data-bp-pagination] a",this,this.paginateAction),BP_Nouveau.bpPasswordVerify&&BP_Nouveau.bpPasswordVerify.requiredPassStrength&&c("#pass1").on("input pwupdate",this.checkPassStrength)},toggleDisabledInput:function(e){var e=c(e.currentTarget),t="#"+e.data("bp-disable-input"),a=e.prop("checked");e.removeClass("enabled disabled"),a?(e.addClass("enabled"),c(t).prop("disabled",!1)):(c(t).prop("disabled",!0),e.addClass("disabled"))},heartbeatSend:function(e,t){c("#buddypress").trigger("bp_heartbeat_send",t)},heartbeatTick:function(e,t){c("#buddypress").trigger("bp_heartbeat_tick",t)},scopeQuery:function(e){var t,a,s,r=e.data,n=c(e.currentTarget).parent(),o="";return!n.hasClass("no-ajax")&&!c(e.currentTarget).hasClass("no-ajax")&&n.attr("data-bp-scope")&&(t=n.data("bp-scope"),a=n.data("bp-object"),t)&&a?(e.preventDefault(),s=c("#buddypress").find('[data-bp-filter="'+a+'"]').first().val(),c('#buddypress [data-bp-search="'+a+'"] input[type=search]').length&&(o=c('#buddypress [data-bp-search="'+a+'"] input[type=search]').val()),n.hasClass("dynamic")&&n.find("a span").html(""),void r.objectRequest({object:a,scope:t,filter:s,search_terms:o,page:1})):e},filterQuery:function(e){var t=e.data,a=c(e.target).data("bp-filter"),s="all",r=c(e.target).val(),n="";if(!a)return e;c(t.objectNavParent+" [data-bp-object].selected").length&&(s=c(t.objectNavParent+" [data-bp-object].selected").data("bp-scope")),c('#buddypress [data-bp-search="'+a+'"] input[type=search]').length&&(n=c('#buddypress [data-bp-search="'+a+'"] input[type=search]').val()),t.objectRequest({object:a,scope:s,filter:r,search_terms:n,page:1,template:null})},searchQuery:function(e){var t,a,s=e.data,r="all";if(c(e.delegateTarget).hasClass("no-ajax")||void 0===c(e.delegateTarget).data("bp-search"))return e;e.preventDefault(),t=c(e.delegateTarget).data("bp-search"),a=c("#buddypress").find('[data-bp-filter="'+t+'"]').first().val(),e=c(e.delegateTarget).find("input[type=search]").first().val(),c(s.objectNavParent+" [data-bp-object]").length&&(r=c(s.objectNavParent+' [data-bp-object="'+t+'"].selected').data("bp-scope")),s.objectRequest({object:t,scope:r,filter:a,search_terms:e,page:1,template:null})},showSearchSubmit:function(e){c(e.delegateTarget).find("[type=submit]").addClass("bp-show"),c("[type=submit]").hasClass("bp-hide")&&c("[type=submit]").removeClass("bp-hide")},resetSearch:function(e){c(e.target).val()?c(e.delegateTarget).find("[type=submit]").show():c(e.delegateTarget).submit()},buttonAction:function(e){var a=e.data,s=c(e.currentTarget),r=s.data("bp-btn-action"),t=s.data("bp-nonce"),n=s.closest("[data-bp-item-id]"),o=n.data("bp-item-id"),i=s.closest(".list-wrap"),d=n.data("bp-item-component"),p="";return r&&o&&d?(e.preventDefault(),!(void 0!==BP_Nouveau[r+"_confirm"]&&!1===window.confirm(BP_Nouveau[r+"_confirm"])||s.hasClass("pending"))&&(t=t||s.prop("href"),p=a.getLinkParams(t,"_wpnonce"),t={is_friend:"remove_friend",not_friends:"add_friend",pending:"withdraw_friendship",accept_friendship:"accept_friendship",reject_friendship:"reject_friendship"},"members"===d&&void 0!==t[r]&&(r=t[r],d="friends"),s.addClass("pending loading"),void a.ajax({action:d+"_"+r,item_id:o,_wpnonce:p},d).done(function(e){if(!1===e.success)i.prepend(e.data.feedback),s.removeClass("pending loading"),n.find(".bp-feedback").fadeOut(6e3);else{if("groups"===d&&void 0!==e.data.is_group&&e.data.is_group)return window.location.reload();var t;void 0!==e.data.is_user&&e.data.is_user?(s.parent().html(e.data.feedback),n.fadeOut(1500)):(c(a.objectNavParent+' [data-bp-scope="personal"]').length&&(t=Number(c(a.objectNavParent+' [data-bp-scope="personal"] span').html())||0,-1!==c.inArray(r,["leave_group","remove_friend"])?--t:-1!==c.inArray(r,["join_group"])&&(t+=1),t<0&&(t=0),c(a.objectNavParent+' [data-bp-scope="personal"] span').html(t)),s.parent().replaceWith(e.data.contents))}}))):e},closeNotice:function(e){var t=c(e.currentTarget);e.preventDefault(),"clear"===t.data("bp-close")&&(void 0!==c.cookie("bp-message")&&c.removeCookie("bp-message"),void 0!==c.cookie("bp-message-type"))&&c.removeCookie("bp-message-type"),t.closest(".bp-feedback").hasClass("bp-sitewide-notice")&&s.Nouveau.ajax({action:"messages_dismiss_sitewide_notice"},"messages"),t.closest(".bp-feedback").remove()},paginateAction:function(e){var t=e.data,a=c(e.currentTarget),s=null,r=null,n=null,o=null,i=a.closest("[data-bp-pagination]").data("bp-pagination")||null;if(null===i)return e;e.preventDefault(),null!==(e=c(e.delegateTarget).data("bp-list")||null)&&(void 0!==(d=t.getStorage("bp-"+e)).scope&&(s=d.scope),void 0!==d.filter&&(r=d.filter),void 0!==d.extras)&&(o=d.extras);var d={object:e,scope:s,filter:r,search_terms:n=c('#buddypress [data-bp-search="'+e+'"] input[type=search]').length?c('#buddypress [data-bp-search="'+e+'"] input[type=search]').val():n,extras:o,page:t.getLinkParams(a.prop("href"),i)||1};t.objectRequest(d)},checkPassStrength:function(e){var t=BP_Nouveau.bpPasswordVerify,a=parseInt(t.requiredPassStrength,10),s=c(e.currentTarget).val(),r=c("#pass2").val(),n=c(e.currentTarget).closest("form"),s="function"==typeof wp.passwordStrength.userInputDisallowedList?wp.passwordStrength.meter(s,wp.passwordStrength.userInputDisallowedList(),r):wp.passwordStrength.meter(s,wp.passwordStrength.userInputBlacklist(),r);a&&a<=4&&(r=c(n).find("#password-warning"),s<a?(c(r).length|| c(e.currentTarget).before(c("<p></p>").prop("id","password-warning").addClass("description")),c(r).html(t.tooWeakPasswordWarning)):c(r).length&&c(r).remove(),c(n).find("#password-strength-score").length||c(n).prepend(c("<input></input>").prop({id:"password-strength-score",type:"hidden",name:"_password_strength_score"})),c("#password-strength-score").val(s),s<a)&&c(".pw-weak").remove()}},s.Nouveau.start())}(window.bp,jQuery);1 window.wp=window.wp||{},window.bp=window.bp||{},function(s,c){"undefined"!=typeof BP_Nouveau&&(s.Nouveau={start:function(){this.setupGlobals(),this.prepareDocument(),this.initObjects(),this.setHeartBeat(),this.addListeners()},setupGlobals:function(){this.ajax_request=null,this.objects=c.map(BP_Nouveau.objects,function(e){return e}),this.objectNavParent=BP_Nouveau.object_nav_parent,this.heartbeat=wp.heartbeat||{},this.querystring=this.getLinkParams()},prepareDocument:function(){var a;c("body").hasClass("no-js")&&c("body").removeClass("no-js").addClass("js"),BP_Nouveau.warnings&&"undefined"!=typeof console&&console.warn&&c.each(BP_Nouveau.warnings,function(e,t){console.warn(t)}),c(".buddypress_object_nav .widget-title").length&&(a=c(".buddypress_object_nav .widget-title").html(),c("body").find('*:contains("'+a+'")').each(function(e,t){c(t).hasClass("widget-title")||a!==c(t).html()||c(t).is("a")||c(t).remove()}))},getStorage:function(e,t){e=(e=sessionStorage.getItem(e))?JSON.parse(e):{};return void 0!==t?e[t]||!1:e},setStorage:function(e,t,a){var s=this.getStorage(e);return void 0===a&&void 0!==s[t]?delete s[t]:s[t]=a,sessionStorage.setItem(e,JSON.stringify(s)),null!==sessionStorage.getItem(e)},getLinkParams:function(e,t){var e=e?-1!==e.indexOf("?")?"?"+e.split("?")[1]:"":document.location.search;return e?(e=e.replace(/(^\?)/,"").split("&").map(function(e){return this[(e=e.split("="))[0]]=e[1],this}.bind({}))[0],t?e[t]:e):null},urlDecode:function(e,t){var a=t||{amp:"&",lt:"<",gt:">",quot:'"',"#039":"'"};return decodeURIComponent(e.replace(/\+/g," ")).replace(/&([^;]+);/g,function(e,t){return a[t]||""})},ajax:function(e,t){this.ajax_request&&this.ajax_request.abort();t=c.extend({},s.Nouveau.getStorage("bp-"+t),{nonce:BP_Nouveau.nonces[t]},e);return void 0!==BP_Nouveau.customizer_settings&&(t.customized=BP_Nouveau.customizer_settings),this.ajax_request=c.post(BP_Nouveau.ajaxurl,t,"json"),this.ajax_request},inject:function(e,t,a){c(e).length&&t&&("append"===(a=a||"reset")?c(e).append(t):"prepend"===a?c(e).prepend(t):c(e).html(t),"undefined"==typeof bp_mentions&&void 0===s.mentions||c(".bp-suggestions").bp_mentions(s.mentions.users))},objectRequest:function(a){var e,s=this;if((a=c.extend({object:"",scope:null,filter:null,target:"#buddypress [data-bp-list]",search_terms:"",page:1,extras:null,caller:null,template:null,method:"reset"},a)).object&&a.target)return a.search_terms&&(a.search_terms=a.search_terms.replace(/</g,"<").replace(/>/g,">")),null!==a.scope&&this.setStorage("bp-"+a.object,"scope",a.scope),null!==a.filter&&this.setStorage("bp-"+a.object,"filter",a.filter),null!==a.extras&&this.setStorage("bp-"+a.object,"extras",a.extras),c(this.objectNavParent+" [data-bp-object]").each(function(){c(this).removeClass("selected loading")}),c(this.objectNavParent+' [data-bp-scope="'+a.scope+'"], #object-nav li.current').addClass("selected loading"),c('#buddypress [data-bp-filter="'+a.object+'"] option[value="'+a.filter+'"]').prop("selected",!0),"friends"===a.object||"friend_requests"===a.object||"group_members"===a.object?(a.template=a.object,a.object="members"):"group_requests"===a.object?(a.object="groups",a.template="group_requests"):"notifications"===a.object&&(a.object="members",a.template="member_notifications"),e=c.extend({action:a.object+"_filter"},a),this.ajax(e,a.object).done(function(e){var t;!1!==e.success&&((t=c(s.objectNavParent+' [data-bp-scope="'+a.scope+'"]')).removeClass("loading"),e.data&&e.data.totalItems&&e.data.navLabel&&t.find("a").first().html(e.data.navLabel+" ").append(c("<span></span>").addClass("count").html(e.data.totalItems)),"reset"!==a.method?(s.inject(a.target,e.data.contents,a.method),c(a.target).trigger("bp_ajax_"+a.method,c.extend(a,{response:e.data}))):"pag-bottom"===a.caller&&c("#subnav").length?(t=c("#subnav").parent(),c("html,body").animate({scrollTop:t.offset().top},"slow",function(){c(a.target).fadeOut(100,function(){s.inject(this,e.data.contents,a.method),c(this).fadeIn(100,"swing",function(){c(a.target).trigger("bp_ajax_request",c.extend(a,{response:e.data}))})})})):c(a.target).fadeOut(100,function(){s.inject(this,e.data.contents,a.method),c(this).fadeIn(100,"swing",function(){c(a.target).trigger("bp_ajax_request",c.extend(a,{response:e.data}))})}))})},initObjects:function(){var a,s=this,r="all",n="",o=null,i=null;c.each(this.objects,function(e,t){void 0!==(a=s.getStorage("bp-"+t)).scope&&(r=a.scope),void 0!==a.extras&&"notifications"!==t&&(o=a.extras),c('#buddypress [data-bp-filter="'+t+'"]').length&&(void 0!==a.filter?(i=a.filter,c('#buddypress [data-bp-filter="'+t+'"] option[value="'+i+'"]').prop("selected",!0)):"-1"!==c('#buddypress [data-bp-filter="'+t+'"]').val()&&"0"!==c('#buddypress [data-bp-filter="'+t+'"]').val()&&(i=c('#buddypress [data-bp-filter="'+t+'"]').val())),c(this.objectNavParent+' [data-bp-object="'+t+'"]').length&&(c(this.objectNavParent+' [data-bp-object="'+t+'"]').each(function(){c(this).removeClass("selected")}),c(this.objectNavParent+' [data-bp-scope="'+t+'"], #object-nav li.current').addClass("selected")),null!==s.querystring&&(void 0!==s.querystring[t+"_search"]?n=s.querystring[t+"_search"]:void 0!==s.querystring.s&&(n=s.querystring.s),n)&&(n=s.urlDecode(n),c('#buddypress [data-bp-search="'+t+'"] input[type=search]').val(n)),c('#buddypress [data-bp-list="'+t+'"]').length&&(a={object:t,scope:r,filter:i,search_terms:n,extras:o},s.objectRequest(a))})},setHeartBeat:function(){void 0!==BP_Nouveau.pulse&&this.heartbeat&&(this.heartbeat.interval(Number(BP_Nouveau.pulse)),c.fn.extend({"heartbeat-send":function(){return this.bind("heartbeat-send.buddypress")}}),c.fn.extend({"heartbeat-tick":function(){return this.bind("heartbeat-tick.buddypress")}}))},addListeners:function(){c("[data-bp-disable-input]").on("change",this.toggleDisabledInput),c(document).on("heartbeat-send.buddypress",this.heartbeatSend),c(document).on("heartbeat-tick.buddypress",this.heartbeatTick),c(this.objectNavParent+" .bp-navs").on("click","a",this,this.scopeQuery),c("#buddypress [data-bp-filter]").on("change",this,this.filterQuery),c("#buddypress [data-bp-search]").on("submit","form",this,this.searchQuery),c("#buddypress [data-bp-search] form").on("search","input[type=search]",this.resetSearch),c("#buddypress [data-bp-list], #buddypress #item-header").on("click","[data-bp-btn-action]",this,this.buttonAction),c("#buddypress [data-bp-close]").on("click",this,this.closeNotice),c("#buddypress [data-bp-list]").on("click","[data-bp-pagination] a",this,this.paginateAction),BP_Nouveau.bpPasswordVerify&&BP_Nouveau.bpPasswordVerify.requiredPassStrength&&c("#pass1").on("input pwupdate",this.checkPassStrength)},toggleDisabledInput:function(e){var e=c(e.currentTarget),t="#"+e.data("bp-disable-input"),a=e.prop("checked");e.removeClass("enabled disabled"),a?(e.addClass("enabled"),c(t).prop("disabled",!1)):(c(t).prop("disabled",!0),e.addClass("disabled"))},heartbeatSend:function(e,t){c("#buddypress").trigger("bp_heartbeat_send",t)},heartbeatTick:function(e,t){c("#buddypress").trigger("bp_heartbeat_tick",t)},scopeQuery:function(e){var t,a,s,r=e.data,n=c(e.currentTarget).parent(),o="";return!n.hasClass("no-ajax")&&!c(e.currentTarget).hasClass("no-ajax")&&n.attr("data-bp-scope")&&(t=n.data("bp-scope"),a=n.data("bp-object"),t)&&a?(e.preventDefault(),s=c("#buddypress").find('[data-bp-filter="'+a+'"]').first().val(),c('#buddypress [data-bp-search="'+a+'"] input[type=search]').length&&(o=c('#buddypress [data-bp-search="'+a+'"] input[type=search]').val()),n.hasClass("dynamic")&&n.find("a span").html(""),void r.objectRequest({object:a,scope:t,filter:s,search_terms:o,page:1})):e},filterQuery:function(e){var t=e.data,a=c(e.target).data("bp-filter"),s="all",r=c(e.target).val(),n="";if(!a)return e;c(t.objectNavParent+" [data-bp-object].selected").length&&(s=c(t.objectNavParent+" [data-bp-object].selected").data("bp-scope")),c('#buddypress [data-bp-search="'+a+'"] input[type=search]').length&&(n=c('#buddypress [data-bp-search="'+a+'"] input[type=search]').val()),t.objectRequest({object:a,scope:s,filter:r,search_terms:n,page:1,template:null})},searchQuery:function(e){var t,a,s=e.data,r="all";if(c(e.delegateTarget).hasClass("no-ajax")||void 0===c(e.delegateTarget).data("bp-search"))return e;e.preventDefault(),t=c(e.delegateTarget).data("bp-search"),a=c("#buddypress").find('[data-bp-filter="'+t+'"]').first().val(),e=c(e.delegateTarget).find("input[type=search]").first().val(),c(s.objectNavParent+" [data-bp-object]").length&&(r=c(s.objectNavParent+' [data-bp-object="'+t+'"].selected').data("bp-scope")),s.objectRequest({object:t,scope:r,filter:a,search_terms:e,page:1,template:null})},showSearchSubmit:function(e){c(e.delegateTarget).find("[type=submit]").addClass("bp-show"),c("[type=submit]").hasClass("bp-hide")&&c("[type=submit]").removeClass("bp-hide")},resetSearch:function(e){c(e.target).val()?c(e.delegateTarget).find("[type=submit]").show():c(e.delegateTarget).submit()},buttonAction:function(e){var a=e.data,s=c(e.currentTarget),r=s.data("bp-btn-action"),t=s.data("bp-nonce"),n=s.closest("[data-bp-item-id]"),o=n.data("bp-item-id"),i=s.closest(".list-wrap"),d=n.data("bp-item-component"),p="";return r&&o&&d?(e.preventDefault(),!(void 0!==BP_Nouveau[r+"_confirm"]&&!1===window.confirm(BP_Nouveau[r+"_confirm"])||s.hasClass("pending"))&&(t=t||s.prop("href"),p=a.getLinkParams(t,"_wpnonce"),t={is_friend:"remove_friend",not_friends:"add_friend",pending:"withdraw_friendship",accept_friendship:"accept_friendship",reject_friendship:"reject_friendship"},"members"===d&&void 0!==t[r]&&(r=t[r],d="friends"),s.addClass("pending loading"),void a.ajax({action:d+"_"+r,item_id:o,_wpnonce:p},d).done(function(e){if(!1===e.success)i.prepend(e.data.feedback),s.removeClass("pending loading"),n.find(".bp-feedback").fadeOut(6e3);else{if("groups"===d&&void 0!==e.data.is_group&&e.data.is_group)return window.location.reload();var t;void 0!==e.data.is_user&&e.data.is_user?(s.parent().html(e.data.feedback),n.fadeOut(1500)):(c(a.objectNavParent+' [data-bp-scope="personal"]').length&&(t=Number(c(a.objectNavParent+' [data-bp-scope="personal"] span').html())||0,-1!==c.inArray(r,["leave_group","remove_friend"])?--t:-1!==c.inArray(r,["join_group"])&&(t+=1),t<0&&(t=0),c(a.objectNavParent+' [data-bp-scope="personal"] span').html(t)),s.parent().replaceWith(e.data.contents))}}))):e},closeNotice:function(e){var t=c(e.currentTarget);e.preventDefault(),"clear"===t.data("bp-close")&&(void 0!==c.cookie("bp-message")&&c.removeCookie("bp-message"),void 0!==c.cookie("bp-message-type"))&&c.removeCookie("bp-message-type"),t.closest(".bp-feedback").hasClass("bp-sitewide-notice")&&s.Nouveau.ajax({action:"messages_dismiss_sitewide_notice"},"messages"),t.closest(".bp-feedback").remove()},paginateAction:function(e){var t=e.data,a=c(e.currentTarget),s=null,r=null,n=null,o=null,i=a.closest("[data-bp-pagination]").data("bp-pagination")||null;if(null===i)return e;e.preventDefault(),null!==(e=c(e.delegateTarget).data("bp-list")||null)&&(void 0!==(d=t.getStorage("bp-"+e)).scope&&(s=d.scope),void 0!==d.filter&&(r=d.filter),void 0!==d.extras)&&(o=d.extras);var d={object:e,scope:s,filter:r,search_terms:n=c('#buddypress [data-bp-search="'+e+'"] input[type=search]').length?c('#buddypress [data-bp-search="'+e+'"] input[type=search]').val():n,extras:o,page:t.getLinkParams(a.prop("href"),i)||1};t.objectRequest(d)},checkPassStrength:function(e){var t=BP_Nouveau.bpPasswordVerify,a=parseInt(t.requiredPassStrength,10),s=c(e.currentTarget).val(),r=c("#pass2").val(),n=c(e.currentTarget).closest("form"),s="function"==typeof wp.passwordStrength.userInputDisallowedList?wp.passwordStrength.meter(s,wp.passwordStrength.userInputDisallowedList(),r):wp.passwordStrength.meter(s,wp.passwordStrength.userInputBlacklist(),r);a&&a<=4&&(r=c(n).find("#password-warning"),s<a?(c(r).length||(c(e.currentTarget).before(c("<p></p>").prop("id","password-warning").addClass("description")),r=c(n).find("#password-warning")),setTimeout(function(){c("#submit").prop("disabled",!0)},1),c(r).html(t.tooWeakPasswordWarning)):c(r).length&&c(r).remove(),c(n).find("#password-strength-score").length||c(n).prepend(c("<input></input>").prop({id:"password-strength-score",type:"hidden",name:"_password_strength_score"})),c("#password-strength-score").val(s),s<a)&&c(".pw-weak").remove()}},s.Nouveau.start())}(window.bp,jQuery); -
buddypress/tags/14.5.2/buddypress.pot
r3599376 r3627603 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2026-07- 07T14:10:23+00:00\n"12 "POT-Creation-Date: 2026-07-29T17:27:16+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.11.0\n" … … 124 124 #: bp-activity/classes/class-bp-activity-activity.php:299 125 125 #: bp-groups/bp-groups-activity.php:591 126 #: bp-templates/bp-legacy/buddypress-functions.php:10 05126 #: bp-templates/bp-legacy/buddypress-functions.php:1013 127 127 msgid "Please enter some content to post." 128 128 msgstr "" … … 137 137 138 138 #: bp-activity/actions/reply.php:54 139 #: bp-templates/bp-legacy/buddypress-functions.php:1 096140 #: bp-templates/bp-nouveau/includes/activity/ajax.php:38 1139 #: bp-templates/bp-legacy/buddypress-functions.php:1104 140 #: bp-templates/bp-nouveau/includes/activity/ajax.php:386 141 141 msgid "Please do not leave the comment area blank." 142 142 msgstr "" … … 698 698 699 699 #: bp-activity/bp-activity-functions.php:2818 700 #: bp-templates/bp-legacy/buddypress-functions.php:1 093701 #: bp-templates/bp-nouveau/includes/activity/ajax.php:36 0700 #: bp-templates/bp-legacy/buddypress-functions.php:1101 701 #: bp-templates/bp-nouveau/includes/activity/ajax.php:365 702 702 msgid "There was an error posting your reply. Please try again." 703 703 msgstr "" … … 707 707 msgstr "" 708 708 709 #: bp-activity/bp-activity-functions.php:34 66709 #: bp-activity/bp-activity-functions.php:3476 710 710 msgid "Thumbnail" 711 711 msgstr "" 712 712 713 #: bp-activity/bp-activity-functions.php:35 45713 #: bp-activity/bp-activity-functions.php:3555 714 714 #: bp-core/bp-core-template.php:774 715 715 msgid " […]" 716 716 msgstr "" 717 717 718 #: bp-activity/bp-activity-functions.php:44 76718 #: bp-activity/bp-activity-functions.php:4486 719 719 msgid "Activity Date" 720 720 msgstr "" 721 721 722 #: bp-activity/bp-activity-functions.php:44 80722 #: bp-activity/bp-activity-functions.php:4490 723 723 msgid "Activity Description" 724 724 msgstr "" 725 725 726 #: bp-activity/bp-activity-functions.php:44 84726 #: bp-activity/bp-activity-functions.php:4494 727 727 msgid "Activity URL" 728 728 msgstr "" 729 729 730 #: bp-activity/bp-activity-functions.php:4 491730 #: bp-activity/bp-activity-functions.php:4501 731 731 msgid "Activity Content" 732 732 msgstr "" 733 733 734 #: bp-activity/bp-activity-functions.php:45 12734 #: bp-activity/bp-activity-functions.php:4522 735 735 #: bp-activity/bp-activity-notifications.php:401 736 736 #: bp-activity/classes/class-bp-activity-oembed-extension.php:146 … … 4602 4602 #: bp-members/bp-members-membership-requests.php:463 4603 4603 #: bp-members/classes/class-bp-registration-theme-compat.php:101 4604 #: bp-templates/bp-legacy/buddypress-functions.php:17 064604 #: bp-templates/bp-legacy/buddypress-functions.php:1719 4605 4605 msgid "Request Membership" 4606 4606 msgstr "" … … 5816 5816 5817 5817 #: bp-friends/actions/remove-friend.php:38 5818 #: bp-templates/bp-legacy/buddypress-functions.php:15 115818 #: bp-templates/bp-legacy/buddypress-functions.php:1524 5819 5819 msgid "Friendship could not be canceled." 5820 5820 msgstr "" … … 6028 6028 6029 6029 #: bp-friends/bp-friends-template.php:245 6030 #: bp-templates/bp-legacy/buddypress-functions.php:15 256030 #: bp-templates/bp-legacy/buddypress-functions.php:1538 6031 6031 msgid "Cancel Friendship Request" 6032 6032 msgstr "" … … 6048 6048 #: bp-friends/bp-friends-template.php:302 6049 6049 #: bp-friends/bp-friends-template.php:303 6050 #: bp-templates/bp-legacy/buddypress-functions.php:15 146051 #: bp-templates/bp-legacy/buddypress-functions.php:15 346050 #: bp-templates/bp-legacy/buddypress-functions.php:1527 6051 #: bp-templates/bp-legacy/buddypress-functions.php:1547 6052 6052 msgid "Add Friend" 6053 6053 msgstr "" … … 6769 6769 6770 6770 #. translators: accessibility text 6771 #: bp-groups/bp-groups-admin.php:118 36771 #: bp-groups/bp-groups-admin.php:1184 6772 6772 msgid "Select group type" 6773 6773 msgstr "" 6774 6774 6775 #: bp-groups/bp-groups-admin.php:119 46775 #: bp-groups/bp-groups-admin.php:1195 6776 6776 msgid "(Not available on the front end)" 6777 6777 msgstr "" 6778 6778 6779 #: bp-groups/bp-groups-admin.php:129 06779 #: bp-groups/bp-groups-admin.php:1291 6780 6780 msgid "«" 6781 6781 msgstr "" 6782 6782 6783 #: bp-groups/bp-groups-admin.php:129 16783 #: bp-groups/bp-groups-admin.php:1292 6784 6784 msgid "»" 6785 6785 msgstr "" 6786 6786 6787 #: bp-groups/bp-groups-admin.php:129 86787 #: bp-groups/bp-groups-admin.php:1299 6788 6788 #: bp-groups/bp-groups-template.php:4627 6789 6789 #: bp-members/bp-members-template.php:538 … … 6792 6792 6793 6793 #. translators: 1: group member from number. 2: group member to number. 3: total group members. 6794 #: bp-groups/bp-groups-admin.php:130 26794 #: bp-groups/bp-groups-admin.php:1303 6795 6795 msgctxt "Group members pagination in group admin" 6796 6796 msgid "Viewing %1$s - %2$s of %3$s member" … … 6800 6800 6801 6801 #. Translators: 1: user_login, 2: user_email. 6802 #: bp-groups/bp-groups-admin.php:137 26802 #: bp-groups/bp-groups-admin.php:1373 6803 6803 msgid "%1$s (%2$s)" 6804 6804 msgstr "" 6805 6805 6806 #: bp-groups/bp-groups-admin.php:146 56806 #: bp-groups/bp-groups-admin.php:1466 6807 6807 msgid "There was an error while changing group type. Please try again." 6808 6808 msgstr "" 6809 6809 6810 #: bp-groups/bp-groups-admin.php:146 86810 #: bp-groups/bp-groups-admin.php:1469 6811 6811 msgid "Group type was changed successfully." 6812 6812 msgstr "" 6813 6813 6814 #: bp-groups/bp-groups-admin.php:150 86814 #: bp-groups/bp-groups-admin.php:1509 6815 6815 msgid "Please define the Group Type ID field." 6816 6816 msgstr "" 6817 6817 6818 #: bp-groups/bp-groups-admin.php:15 096818 #: bp-groups/bp-groups-admin.php:1510 6819 6819 msgid "Group type successfully added." 6820 6820 msgstr "" 6821 6821 6822 #: bp-groups/bp-groups-admin.php:151 06822 #: bp-groups/bp-groups-admin.php:1511 6823 6823 msgid "Sorry, there was an error and the Group type wasn’t added." 6824 6824 msgstr "" 6825 6825 6826 #: bp-groups/bp-groups-admin.php:151 26826 #: bp-groups/bp-groups-admin.php:1513 6827 6827 msgid "Group type successfully updated." 6828 6828 msgstr "" 6829 6829 6830 #: bp-groups/bp-groups-admin.php:151 36830 #: bp-groups/bp-groups-admin.php:1514 6831 6831 msgid "Sorry, this Group type already exists." 6832 6832 msgstr "" 6833 6833 6834 #: bp-groups/bp-groups-admin.php:151 46834 #: bp-groups/bp-groups-admin.php:1515 6835 6835 msgid "Sorry, the Group type was not deleted: it does not exist." 6836 6836 msgstr "" 6837 6837 6838 #: bp-groups/bp-groups-admin.php:151 56838 #: bp-groups/bp-groups-admin.php:1516 6839 6839 msgid "Sorry, This Group type is registered using code, deactivate the plugin or remove the custom code before trying to delete it again." 6840 6840 msgstr "" 6841 6841 6842 #: bp-groups/bp-groups-admin.php:151 66842 #: bp-groups/bp-groups-admin.php:1517 6843 6843 msgid "Sorry, there was an error while trying to delete this Group type." 6844 6844 msgstr "" 6845 6845 6846 #: bp-groups/bp-groups-admin.php:151 76846 #: bp-groups/bp-groups-admin.php:1518 6847 6847 msgid "Group type successfully deleted." 6848 6848 msgstr "" 6849 6849 6850 #: bp-groups/bp-groups-admin.php:151 86850 #: bp-groups/bp-groups-admin.php:1519 6851 6851 msgid "Group type could not be updated due to missing required information." 6852 6852 msgstr "" … … 7461 7461 #: bp-groups/bp-groups-template.php:3535 7462 7462 #: bp-groups/bp-groups-template.php:3536 7463 #: bp-templates/bp-legacy/buddypress-functions.php:16 537464 #: bp-templates/bp-legacy/buddypress-functions.php:16 707463 #: bp-templates/bp-legacy/buddypress-functions.php:1666 7464 #: bp-templates/bp-legacy/buddypress-functions.php:1683 7465 7465 msgid "Leave Group" 7466 7466 msgstr "" … … 7475 7475 #: bp-groups/bp-groups-template.php:3587 7476 7476 #: bp-groups/bp-groups-template.php:3588 7477 #: bp-templates/bp-legacy/buddypress-functions.php:1 6977477 #: bp-templates/bp-legacy/buddypress-functions.php:1710 7478 7478 msgid "Join Group" 7479 7479 msgstr "" … … 7481 7481 #: bp-groups/bp-groups-template.php:3624 7482 7482 #: bp-groups/bp-groups-template.php:3625 7483 #: bp-templates/bp-legacy/buddypress-functions.php:16 807483 #: bp-templates/bp-legacy/buddypress-functions.php:1693 7484 7484 msgid "Request Sent" 7485 7485 msgstr "" … … 11723 11723 11724 11724 #: bp-templates/bp-legacy/buddypress-functions.php:310 11725 #: bp-templates/bp-legacy/buddypress-functions.php:13 0811726 #: bp-templates/bp-legacy/buddypress-functions.php:13 3911725 #: bp-templates/bp-legacy/buddypress-functions.php:1316 11726 #: bp-templates/bp-legacy/buddypress-functions.php:1347 11727 11727 #: bp-templates/bp-legacy/buddypress/activity/entry.php:82 11728 11728 msgid "Favorite" … … 11740 11740 11741 11741 #: bp-templates/bp-legacy/buddypress-functions.php:313 11742 #: bp-templates/bp-legacy/buddypress-functions.php:13 0611743 #: bp-templates/bp-legacy/buddypress-functions.php:134 111742 #: bp-templates/bp-legacy/buddypress-functions.php:1314 11743 #: bp-templates/bp-legacy/buddypress-functions.php:1349 11744 11744 #: bp-templates/bp-legacy/buddypress/activity/entry.php:86 11745 11745 #: bp-templates/bp-nouveau/includes/activity/ajax.php:111 … … 11772 11772 msgstr "" 11773 11773 11774 #: bp-templates/bp-legacy/buddypress-functions.php:10 4211775 #: bp-templates/bp-nouveau/includes/activity/ajax.php:5 7911774 #: bp-templates/bp-legacy/buddypress-functions.php:1050 11775 #: bp-templates/bp-nouveau/includes/activity/ajax.php:584 11776 11776 msgid "There was a problem posting your update. Please try again." 11777 11777 msgstr "" 11778 11778 11779 #: bp-templates/bp-legacy/buddypress-functions.php:118 011780 #: bp-templates/bp-legacy/buddypress-functions.php:122 011779 #: bp-templates/bp-legacy/buddypress-functions.php:1188 11780 #: bp-templates/bp-legacy/buddypress-functions.php:1228 11781 11781 #: bp-templates/bp-nouveau/includes/activity/ajax.php:205 11782 11782 msgid "There was a problem when deleting. Please try again." 11783 11783 msgstr "" 11784 11784 11785 #: bp-templates/bp-legacy/buddypress-functions.php:14 5511785 #: bp-templates/bp-legacy/buddypress-functions.php:1468 11786 11786 #: bp-templates/bp-legacy/buddypress/groups/create.php:395 11787 11787 #: bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php:75 … … 11790 11790 11791 11791 #. translators: %s: user link 11792 #: bp-templates/bp-legacy/buddypress-functions.php:14 6011792 #: bp-templates/bp-legacy/buddypress-functions.php:1473 11793 11793 msgid "%s has previously requested to join this group. Sending an invitation will automatically add the member to the group." 11794 11794 msgstr "" 11795 11795 11796 #: bp-templates/bp-legacy/buddypress-functions.php:15 0311796 #: bp-templates/bp-legacy/buddypress-functions.php:1516 11797 11797 #: bp-templates/bp-nouveau/includes/friends/ajax.php:107 11798 11798 msgid "No member found by that ID." 11799 11799 msgstr "" 11800 11800 11801 #: bp-templates/bp-legacy/buddypress-functions.php:15 2211801 #: bp-templates/bp-legacy/buddypress-functions.php:1535 11802 11802 msgid " Friendship could not be requested." 11803 11803 msgstr "" 11804 11804 11805 #: bp-templates/bp-legacy/buddypress-functions.php:15 3611805 #: bp-templates/bp-legacy/buddypress-functions.php:1549 11806 11806 #: bp-templates/bp-nouveau/includes/friends/ajax.php:210 11807 11807 msgid "Friendship request could not be cancelled." 11808 11808 msgstr "" 11809 11809 11810 #: bp-templates/bp-legacy/buddypress-functions.php:15 4111810 #: bp-templates/bp-legacy/buddypress-functions.php:1554 11811 11811 #: bp-templates/bp-nouveau/includes/friends/ajax.php:220 11812 11812 msgid "Request Pending" 11813 11813 msgstr "" 11814 11814 11815 #: bp-templates/bp-legacy/buddypress-functions.php:15 6011815 #: bp-templates/bp-legacy/buddypress-functions.php:1573 11816 11816 #: bp-templates/bp-nouveau/includes/friends/ajax.php:121 11817 11817 msgid "There was a problem accepting that request. Please try again." 11818 11818 msgstr "" 11819 11819 11820 #: bp-templates/bp-legacy/buddypress-functions.php:15 7911820 #: bp-templates/bp-legacy/buddypress-functions.php:1592 11821 11821 #: bp-templates/bp-nouveau/includes/friends/ajax.php:145 11822 11822 msgid "There was a problem rejecting that request. Please try again." 11823 11823 msgstr "" 11824 11824 11825 #: bp-templates/bp-legacy/buddypress-functions.php:16 2911826 #: bp-templates/bp-legacy/buddypress-functions.php:16 3711827 #: bp-templates/bp-legacy/buddypress-functions.php:16 4411825 #: bp-templates/bp-legacy/buddypress-functions.php:1642 11826 #: bp-templates/bp-legacy/buddypress-functions.php:1650 11827 #: bp-templates/bp-legacy/buddypress-functions.php:1657 11828 11828 msgid "Error joining group" 11829 11829 msgstr "" 11830 11830 11831 #: bp-templates/bp-legacy/buddypress-functions.php:16 6111832 #: bp-templates/bp-legacy/buddypress-functions.php:16 7811831 #: bp-templates/bp-legacy/buddypress-functions.php:1674 11832 #: bp-templates/bp-legacy/buddypress-functions.php:1691 11833 11833 msgid "Error requesting membership" 11834 11834 msgstr "" 11835 11835 11836 #: bp-templates/bp-legacy/buddypress-functions.php:1 68811836 #: bp-templates/bp-legacy/buddypress-functions.php:1701 11837 11837 msgid "Error leaving group" 11838 11838 msgstr "" 11839 11839 11840 #: bp-templates/bp-legacy/buddypress-functions.php:17 2711840 #: bp-templates/bp-legacy/buddypress-functions.php:1740 11841 11841 msgid "There was a problem closing the notice." 11842 11842 msgstr "" 11843 11843 11844 #: bp-templates/bp-legacy/buddypress-functions.php:17 5411845 #: bp-templates/bp-legacy/buddypress-functions.php:1 79411844 #: bp-templates/bp-legacy/buddypress-functions.php:1767 11845 #: bp-templates/bp-legacy/buddypress-functions.php:1807 11846 11846 msgid "There was a problem sending that reply. Please try again." 11847 11847 msgstr "" … … 13799 13799 13800 13800 #: bp-templates/bp-nouveau/includes/activity/ajax.php:293 13801 #: bp-templates/bp-nouveau/includes/ajax.php:23 13801 13802 msgid "There was a problem displaying the content. Please try again." 13802 13803 msgstr "" 13803 13804 13804 #: bp-templates/bp-nouveau/includes/activity/ajax.php:49 313805 #: bp-templates/bp-nouveau/includes/activity/ajax.php:498 13805 13806 msgid "No activities were found." 13806 13807 msgstr "" 13807 13808 13808 #: bp-templates/bp-nouveau/includes/activity/ajax.php: 59613809 #: bp-templates/bp-nouveau/includes/activity/ajax.php:601 13809 13810 msgid "Update posted." 13810 13811 msgstr "" 13811 13812 13812 #: bp-templates/bp-nouveau/includes/activity/ajax.php: 59613813 #: bp-templates/bp-nouveau/includes/activity/ajax.php:601 13813 13814 msgid "View activity." 13814 13815 msgstr "" 13815 13816 13816 #: bp-templates/bp-nouveau/includes/activity/ajax.php:62 413817 #: bp-templates/bp-nouveau/includes/activity/ajax.php:629 13817 13818 msgid "There was a problem marking this activity as spam. Please try again." 13818 13819 msgstr "" 13819 13820 13820 #: bp-templates/bp-nouveau/includes/activity/ajax.php:67 313821 #: bp-templates/bp-nouveau/includes/activity/ajax.php:678 13821 13822 msgid "This activity has been marked as spam and is no longer visible." 13822 13823 msgstr "" -
buddypress/tags/14.5.2/class-buddypress.php
r3599376 r3627603 461 461 /** Versions */ 462 462 463 $this->version = '14.5. 0';463 $this->version = '14.5.2'; 464 464 $this->db_version = 13906; 465 465 -
buddypress/tags/14.5.2/readme.txt
r3599376 r3627603 8 8 Requires at least: 6.1 9 9 Tested up to: 7.0 10 Stable tag: 14.5. 010 Stable tag: 14.5.2 11 11 12 12 Get together safely, in your own way, in WordPress. … … 131 131 == Upgrade Notice == 132 132 133 = 14.5.0= 133 = 14.5.2 = 134 See: https://codex.buddypress.org/releases/version-14-5-2/ 135 136 = 14.5.0 = 134 137 See: https://codex.buddypress.org/releases/version-14-5-0/ 135 138 136 = 14.4.0 =139 = 14.4.0 = 137 140 See: https://codex.buddypress.org/releases/version-14-4-0/ 138 141 … … 221 224 == Changelog == 222 225 223 = 14.5.0= 226 = 14.5.2 = 227 See: https://codex.buddypress.org/releases/version-14-5-2/ 228 229 = 14.5.0 = 224 230 See: https://codex.buddypress.org/releases/version-14-5-0/ 225 231 … … 246 252 247 253 = 12.5.1 = 248 Security fix: The Members block was vulnerable to a Stored Cross-Site Scripting. Discovered by Wesley (wcraft) from the Wordfence organization.254 Security fix: The Members block was vulnerable to a Stored Cross-Site Scripting. Discovered by Wesley (wcraft) from the Wordfence organization. 249 255 See: https://codex.buddypress.org/releases/version-12-5-1/ 250 256 … … 253 259 254 260 = 12.4.1 = 255 Security fix: The dynamic Members, dynamic Friends & dynamic Groups blocks were vulnerable to a Stored Cross-Site Scripting. Discovered by Wesley (wcraft) from the Wordfence organization.261 Security fix: The dynamic Members, dynamic Friends & dynamic Groups blocks were vulnerable to a Stored Cross-Site Scripting. Discovered by Wesley (wcraft) from the Wordfence organization. 256 262 See: https://codex.buddypress.org/releases/version-12-4-1/ 257 263 -
buddypress/trunk/bp-activity/bp-activity-functions.php
r3259420 r3627603 3354 3354 } 3355 3355 3356 // Get parent activity item for activity comment. 3357 if ( 'activity_comment' === $activity->type ) { 3358 $activity = new BP_Activity_Activity( $activity->item_id ); 3359 } 3360 3356 3361 // If activity is from a group, do extra cap checks. 3357 3362 if ( bp_is_active( 'groups' ) && buddypress()->groups->id === $activity->component && bp_current_user_can( 'bp_view', array( 'bp_component' => 'groups' ) ) ) { … … 3381 3386 if ( bp_current_user_can( 'bp_moderate' ) ) { 3382 3387 $retval = true; 3388 } 3389 3390 // Activity comments as parent are not allowed. 3391 if ( 'activity_comment' === $activity->type ) { 3392 $retval = false; 3383 3393 } 3384 3394 -
buddypress/trunk/bp-activity/classes/class-bp-activity-oembed-extension.php
r3079691 r3627603 123 123 124 124 // Okay, we're good to go! 125 if ( ! empty( $activity->component ) && 0 === (int) $activity->is_spam ) {125 if ( ! empty( $activity->component ) && 0 === (int) $activity->is_spam && bp_activity_user_can_read( $activity ) ) { 126 126 return $activity_id; 127 127 } -
buddypress/trunk/bp-core/bp-core-template-loader.php
r3599376 r3627603 654 654 * 655 655 * @since 12.0.0 656 * @since 14.5.1 Make nullable type parameter compatible with PHP 8.4. 656 657 * 657 658 * @param string $bp_request A specific BuddyPress request. … … 659 660 * @return true 660 661 */ 661 function bp_reset_query( $bp_request = '', WP_Query$query = null ) {662 function bp_reset_query( $bp_request = '', $query = null ) { 662 663 global $wp; 663 664 -
buddypress/trunk/bp-groups/bp-groups-admin.php
r3599376 r3627603 1163 1163 * 1164 1164 * @since 2.6.0 1165 * @since 14.5.1 Make nullable type parameter compatible with PHP 8.4. 1165 1166 * 1166 1167 * @param BP_Groups_Group|null $group The BP_Groups_Group object corresponding to the group being edited. 1167 1168 */ 1168 function bp_groups_admin_edit_metabox_group_type( BP_Groups_Group$group = null ) {1169 function bp_groups_admin_edit_metabox_group_type( $group = null ) { 1169 1170 1170 1171 // Bail if no group ID. -
buddypress/trunk/bp-loader.php
r3599376 r3627603 22 22 * Requires PHP: 5.6 23 23 * Requires at least: 6.1 24 * Version: 14.5. 024 * Version: 14.5.2 25 25 */ 26 26 -
buddypress/trunk/bp-templates/bp-legacy/buddypress-functions.php
r3599376 r3627603 859 859 } 860 860 861 if ( ! bp_current_user_can( 'bp_view', array( 'bp_component' => $object ) ) ) { 862 return; 863 } 864 861 865 /** 862 866 * AJAX requests happen too early to be seen by bp_update_is_directory() … … 925 929 function bp_legacy_theme_activity_template_loader() { 926 930 if ( ! bp_is_post_request() ) { 931 return; 932 } 933 934 if ( ! bp_current_user_can( 'bp_view', array( 'bp_component' => 'activity' ) ) ) { 927 935 return; 928 936 } … … 1367 1375 if ( empty( $activity ) ) { 1368 1376 exit; // @todo: error? 1377 } 1378 1379 // Ensure that the user is allowed to read the activity item. 1380 if ( ! bp_activity_user_can_read( $activity ) ) { 1381 exit; 1369 1382 } 1370 1383 -
buddypress/trunk/bp-templates/bp-nouveau/includes/activity/ajax.php
r3259420 r3627603 317 317 318 318 $activity = $activity_array['activities'][0]; 319 320 // Ensure that the user is allowed to read the activity item. 321 if ( ! bp_activity_user_can_read( $activity ) ) { 322 wp_send_json_error( $response ); 323 } 319 324 320 325 /** -
buddypress/trunk/bp-templates/bp-nouveau/includes/ajax.php
r2947464 r3627603 18 18 */ 19 19 function bp_nouveau_ajax_object_template_loader() { 20 $response = array( 21 'feedback' => sprintf( 22 '<div class="bp-feedback bp-messages error">%s</div>', 23 esc_html__( 'There was a problem displaying the content. Please try again.', 'buddypress' ) 24 ), 25 ); 26 20 27 if ( ! bp_is_post_request() ) { 21 wp_send_json_error( );28 wp_send_json_error( $response ); 22 29 } 23 30 … … 38 45 // Bail if object is not an active component to prevent arbitrary file inclusion. 39 46 if ( ! bp_is_active( $object ) ) { 40 wp_send_json_error(); 47 wp_send_json_error( $response ); 48 } 49 50 if ( ! bp_current_user_can( 'bp_view', array( 'bp_component' => $object ) ) ) { 51 wp_send_json_error( $response ); 41 52 } 42 53 43 54 // Nonce check! 44 55 if ( ! $post_vars['nonce'] || ! wp_verify_nonce( $post_vars['nonce'], 'bp_nouveau_' . $object ) ) { 45 wp_send_json_error( );56 wp_send_json_error( $response ); 46 57 } 47 58 … … 106 117 } 107 118 119 if ( 'activity' === $object && (int) bp_current_action() ) { 120 $activity_array = bp_activity_get_specific( 121 array( 122 'activity_ids' => bp_current_action(), 123 'display_comments' => 'stream', 124 ) 125 ); 126 127 if ( ! empty( $activity_array['activities'][0] ) ) { 128 $activity = $activity_array['activities'][0]; 129 130 // Ensure that the user is allowed to read the activity item. 131 if ( ! bp_activity_user_can_read( $activity ) ) { 132 wp_send_json_error( $response ); 133 } 134 } 135 } 136 108 137 // Get the template path based on the 'template' variable via the AJAX request. 109 138 $template = ''; -
buddypress/trunk/bp-templates/bp-nouveau/js/buddypress-nouveau.js
r2814648 r3627603 854 854 .addClass( 'description' ) 855 855 ); 856 857 // Reinitialize after adding #password-warning. 858 passwordWarningContainer = $( currentForm ).find( '#password-warning' ); 856 859 } 860 861 // Ensure we override user-profile.js. 862 setTimeout( function() { 863 $( '#submit' ).prop( 'disabled', true ); 864 }, 1 ); 857 865 858 866 $( passwordWarningContainer ).html( bpPasswordVerify.tooWeakPasswordWarning ); -
buddypress/trunk/bp-templates/bp-nouveau/js/buddypress-nouveau.min.js
r2912673 r3627603 1 window.wp=window.wp||{},window.bp=window.bp||{},function(s,c){"undefined"!=typeof BP_Nouveau&&(s.Nouveau={start:function(){this.setupGlobals(),this.prepareDocument(),this.initObjects(),this.setHeartBeat(),this.addListeners()},setupGlobals:function(){this.ajax_request=null,this.objects=c.map(BP_Nouveau.objects,function(e){return e}),this.objectNavParent=BP_Nouveau.object_nav_parent,this.heartbeat=wp.heartbeat||{},this.querystring=this.getLinkParams()},prepareDocument:function(){var a;c("body").hasClass("no-js")&&c("body").removeClass("no-js").addClass("js"),BP_Nouveau.warnings&&"undefined"!=typeof console&&console.warn&&c.each(BP_Nouveau.warnings,function(e,t){console.warn(t)}),c(".buddypress_object_nav .widget-title").length&&(a=c(".buddypress_object_nav .widget-title").html(),c("body").find('*:contains("'+a+'")').each(function(e,t){c(t).hasClass("widget-title")||a!==c(t).html()||c(t).is("a")||c(t).remove()}))},getStorage:function(e,t){e=(e=sessionStorage.getItem(e))?JSON.parse(e):{};return void 0!==t?e[t]||!1:e},setStorage:function(e,t,a){var s=this.getStorage(e);return void 0===a&&void 0!==s[t]?delete s[t]:s[t]=a,sessionStorage.setItem(e,JSON.stringify(s)),null!==sessionStorage.getItem(e)},getLinkParams:function(e,t){var e=e?-1!==e.indexOf("?")?"?"+e.split("?")[1]:"":document.location.search;return e?(e=e.replace(/(^\?)/,"").split("&").map(function(e){return this[(e=e.split("="))[0]]=e[1],this}.bind({}))[0],t?e[t]:e):null},urlDecode:function(e,t){var a=t||{amp:"&",lt:"<",gt:">",quot:'"',"#039":"'"};return decodeURIComponent(e.replace(/\+/g," ")).replace(/&([^;]+);/g,function(e,t){return a[t]||""})},ajax:function(e,t){this.ajax_request&&this.ajax_request.abort();t=c.extend({},s.Nouveau.getStorage("bp-"+t),{nonce:BP_Nouveau.nonces[t]},e);return void 0!==BP_Nouveau.customizer_settings&&(t.customized=BP_Nouveau.customizer_settings),this.ajax_request=c.post(BP_Nouveau.ajaxurl,t,"json"),this.ajax_request},inject:function(e,t,a){c(e).length&&t&&("append"===(a=a||"reset")?c(e).append(t):"prepend"===a?c(e).prepend(t):c(e).html(t),"undefined"==typeof bp_mentions&&void 0===s.mentions||c(".bp-suggestions").bp_mentions(s.mentions.users))},objectRequest:function(a){var e,s=this;if((a=c.extend({object:"",scope:null,filter:null,target:"#buddypress [data-bp-list]",search_terms:"",page:1,extras:null,caller:null,template:null,method:"reset"},a)).object&&a.target)return a.search_terms&&(a.search_terms=a.search_terms.replace(/</g,"<").replace(/>/g,">")),null!==a.scope&&this.setStorage("bp-"+a.object,"scope",a.scope),null!==a.filter&&this.setStorage("bp-"+a.object,"filter",a.filter),null!==a.extras&&this.setStorage("bp-"+a.object,"extras",a.extras),c(this.objectNavParent+" [data-bp-object]").each(function(){c(this).removeClass("selected loading")}),c(this.objectNavParent+' [data-bp-scope="'+a.scope+'"], #object-nav li.current').addClass("selected loading"),c('#buddypress [data-bp-filter="'+a.object+'"] option[value="'+a.filter+'"]').prop("selected",!0),"friends"===a.object||"friend_requests"===a.object||"group_members"===a.object?(a.template=a.object,a.object="members"):"group_requests"===a.object?(a.object="groups",a.template="group_requests"):"notifications"===a.object&&(a.object="members",a.template="member_notifications"),e=c.extend({action:a.object+"_filter"},a),this.ajax(e,a.object).done(function(e){var t;!1!==e.success&&((t=c(s.objectNavParent+' [data-bp-scope="'+a.scope+'"]')).removeClass("loading"),e.data&&e.data.totalItems&&e.data.navLabel&&t.find("a").first().html(e.data.navLabel+" ").append(c("<span></span>").addClass("count").html(e.data.totalItems)),"reset"!==a.method?(s.inject(a.target,e.data.contents,a.method),c(a.target).trigger("bp_ajax_"+a.method,c.extend(a,{response:e.data}))):"pag-bottom"===a.caller&&c("#subnav").length?(t=c("#subnav").parent(),c("html,body").animate({scrollTop:t.offset().top},"slow",function(){c(a.target).fadeOut(100,function(){s.inject(this,e.data.contents,a.method),c(this).fadeIn(100,"swing",function(){c(a.target).trigger("bp_ajax_request",c.extend(a,{response:e.data}))})})})):c(a.target).fadeOut(100,function(){s.inject(this,e.data.contents,a.method),c(this).fadeIn(100,"swing",function(){c(a.target).trigger("bp_ajax_request",c.extend(a,{response:e.data}))})}))})},initObjects:function(){var a,s=this,r="all",n="",o=null,i=null;c.each(this.objects,function(e,t){void 0!==(a=s.getStorage("bp-"+t)).scope&&(r=a.scope),void 0!==a.extras&&"notifications"!==t&&(o=a.extras),c('#buddypress [data-bp-filter="'+t+'"]').length&&(void 0!==a.filter?(i=a.filter,c('#buddypress [data-bp-filter="'+t+'"] option[value="'+i+'"]').prop("selected",!0)):"-1"!==c('#buddypress [data-bp-filter="'+t+'"]').val()&&"0"!==c('#buddypress [data-bp-filter="'+t+'"]').val()&&(i=c('#buddypress [data-bp-filter="'+t+'"]').val())),c(this.objectNavParent+' [data-bp-object="'+t+'"]').length&&(c(this.objectNavParent+' [data-bp-object="'+t+'"]').each(function(){c(this).removeClass("selected")}),c(this.objectNavParent+' [data-bp-scope="'+t+'"], #object-nav li.current').addClass("selected")),null!==s.querystring&&(void 0!==s.querystring[t+"_search"]?n=s.querystring[t+"_search"]:void 0!==s.querystring.s&&(n=s.querystring.s),n)&&(n=s.urlDecode(n),c('#buddypress [data-bp-search="'+t+'"] input[type=search]').val(n)),c('#buddypress [data-bp-list="'+t+'"]').length&&(a={object:t,scope:r,filter:i,search_terms:n,extras:o},s.objectRequest(a))})},setHeartBeat:function(){void 0!==BP_Nouveau.pulse&&this.heartbeat&&(this.heartbeat.interval(Number(BP_Nouveau.pulse)),c.fn.extend({"heartbeat-send":function(){return this.bind("heartbeat-send.buddypress")}}),c.fn.extend({"heartbeat-tick":function(){return this.bind("heartbeat-tick.buddypress")}}))},addListeners:function(){c("[data-bp-disable-input]").on("change",this.toggleDisabledInput),c(document).on("heartbeat-send.buddypress",this.heartbeatSend),c(document).on("heartbeat-tick.buddypress",this.heartbeatTick),c(this.objectNavParent+" .bp-navs").on("click","a",this,this.scopeQuery),c("#buddypress [data-bp-filter]").on("change",this,this.filterQuery),c("#buddypress [data-bp-search]").on("submit","form",this,this.searchQuery),c("#buddypress [data-bp-search] form").on("search","input[type=search]",this.resetSearch),c("#buddypress [data-bp-list], #buddypress #item-header").on("click","[data-bp-btn-action]",this,this.buttonAction),c("#buddypress [data-bp-close]").on("click",this,this.closeNotice),c("#buddypress [data-bp-list]").on("click","[data-bp-pagination] a",this,this.paginateAction),BP_Nouveau.bpPasswordVerify&&BP_Nouveau.bpPasswordVerify.requiredPassStrength&&c("#pass1").on("input pwupdate",this.checkPassStrength)},toggleDisabledInput:function(e){var e=c(e.currentTarget),t="#"+e.data("bp-disable-input"),a=e.prop("checked");e.removeClass("enabled disabled"),a?(e.addClass("enabled"),c(t).prop("disabled",!1)):(c(t).prop("disabled",!0),e.addClass("disabled"))},heartbeatSend:function(e,t){c("#buddypress").trigger("bp_heartbeat_send",t)},heartbeatTick:function(e,t){c("#buddypress").trigger("bp_heartbeat_tick",t)},scopeQuery:function(e){var t,a,s,r=e.data,n=c(e.currentTarget).parent(),o="";return!n.hasClass("no-ajax")&&!c(e.currentTarget).hasClass("no-ajax")&&n.attr("data-bp-scope")&&(t=n.data("bp-scope"),a=n.data("bp-object"),t)&&a?(e.preventDefault(),s=c("#buddypress").find('[data-bp-filter="'+a+'"]').first().val(),c('#buddypress [data-bp-search="'+a+'"] input[type=search]').length&&(o=c('#buddypress [data-bp-search="'+a+'"] input[type=search]').val()),n.hasClass("dynamic")&&n.find("a span").html(""),void r.objectRequest({object:a,scope:t,filter:s,search_terms:o,page:1})):e},filterQuery:function(e){var t=e.data,a=c(e.target).data("bp-filter"),s="all",r=c(e.target).val(),n="";if(!a)return e;c(t.objectNavParent+" [data-bp-object].selected").length&&(s=c(t.objectNavParent+" [data-bp-object].selected").data("bp-scope")),c('#buddypress [data-bp-search="'+a+'"] input[type=search]').length&&(n=c('#buddypress [data-bp-search="'+a+'"] input[type=search]').val()),t.objectRequest({object:a,scope:s,filter:r,search_terms:n,page:1,template:null})},searchQuery:function(e){var t,a,s=e.data,r="all";if(c(e.delegateTarget).hasClass("no-ajax")||void 0===c(e.delegateTarget).data("bp-search"))return e;e.preventDefault(),t=c(e.delegateTarget).data("bp-search"),a=c("#buddypress").find('[data-bp-filter="'+t+'"]').first().val(),e=c(e.delegateTarget).find("input[type=search]").first().val(),c(s.objectNavParent+" [data-bp-object]").length&&(r=c(s.objectNavParent+' [data-bp-object="'+t+'"].selected').data("bp-scope")),s.objectRequest({object:t,scope:r,filter:a,search_terms:e,page:1,template:null})},showSearchSubmit:function(e){c(e.delegateTarget).find("[type=submit]").addClass("bp-show"),c("[type=submit]").hasClass("bp-hide")&&c("[type=submit]").removeClass("bp-hide")},resetSearch:function(e){c(e.target).val()?c(e.delegateTarget).find("[type=submit]").show():c(e.delegateTarget).submit()},buttonAction:function(e){var a=e.data,s=c(e.currentTarget),r=s.data("bp-btn-action"),t=s.data("bp-nonce"),n=s.closest("[data-bp-item-id]"),o=n.data("bp-item-id"),i=s.closest(".list-wrap"),d=n.data("bp-item-component"),p="";return r&&o&&d?(e.preventDefault(),!(void 0!==BP_Nouveau[r+"_confirm"]&&!1===window.confirm(BP_Nouveau[r+"_confirm"])||s.hasClass("pending"))&&(t=t||s.prop("href"),p=a.getLinkParams(t,"_wpnonce"),t={is_friend:"remove_friend",not_friends:"add_friend",pending:"withdraw_friendship",accept_friendship:"accept_friendship",reject_friendship:"reject_friendship"},"members"===d&&void 0!==t[r]&&(r=t[r],d="friends"),s.addClass("pending loading"),void a.ajax({action:d+"_"+r,item_id:o,_wpnonce:p},d).done(function(e){if(!1===e.success)i.prepend(e.data.feedback),s.removeClass("pending loading"),n.find(".bp-feedback").fadeOut(6e3);else{if("groups"===d&&void 0!==e.data.is_group&&e.data.is_group)return window.location.reload();var t;void 0!==e.data.is_user&&e.data.is_user?(s.parent().html(e.data.feedback),n.fadeOut(1500)):(c(a.objectNavParent+' [data-bp-scope="personal"]').length&&(t=Number(c(a.objectNavParent+' [data-bp-scope="personal"] span').html())||0,-1!==c.inArray(r,["leave_group","remove_friend"])?--t:-1!==c.inArray(r,["join_group"])&&(t+=1),t<0&&(t=0),c(a.objectNavParent+' [data-bp-scope="personal"] span').html(t)),s.parent().replaceWith(e.data.contents))}}))):e},closeNotice:function(e){var t=c(e.currentTarget);e.preventDefault(),"clear"===t.data("bp-close")&&(void 0!==c.cookie("bp-message")&&c.removeCookie("bp-message"),void 0!==c.cookie("bp-message-type"))&&c.removeCookie("bp-message-type"),t.closest(".bp-feedback").hasClass("bp-sitewide-notice")&&s.Nouveau.ajax({action:"messages_dismiss_sitewide_notice"},"messages"),t.closest(".bp-feedback").remove()},paginateAction:function(e){var t=e.data,a=c(e.currentTarget),s=null,r=null,n=null,o=null,i=a.closest("[data-bp-pagination]").data("bp-pagination")||null;if(null===i)return e;e.preventDefault(),null!==(e=c(e.delegateTarget).data("bp-list")||null)&&(void 0!==(d=t.getStorage("bp-"+e)).scope&&(s=d.scope),void 0!==d.filter&&(r=d.filter),void 0!==d.extras)&&(o=d.extras);var d={object:e,scope:s,filter:r,search_terms:n=c('#buddypress [data-bp-search="'+e+'"] input[type=search]').length?c('#buddypress [data-bp-search="'+e+'"] input[type=search]').val():n,extras:o,page:t.getLinkParams(a.prop("href"),i)||1};t.objectRequest(d)},checkPassStrength:function(e){var t=BP_Nouveau.bpPasswordVerify,a=parseInt(t.requiredPassStrength,10),s=c(e.currentTarget).val(),r=c("#pass2").val(),n=c(e.currentTarget).closest("form"),s="function"==typeof wp.passwordStrength.userInputDisallowedList?wp.passwordStrength.meter(s,wp.passwordStrength.userInputDisallowedList(),r):wp.passwordStrength.meter(s,wp.passwordStrength.userInputBlacklist(),r);a&&a<=4&&(r=c(n).find("#password-warning"),s<a?(c(r).length|| c(e.currentTarget).before(c("<p></p>").prop("id","password-warning").addClass("description")),c(r).html(t.tooWeakPasswordWarning)):c(r).length&&c(r).remove(),c(n).find("#password-strength-score").length||c(n).prepend(c("<input></input>").prop({id:"password-strength-score",type:"hidden",name:"_password_strength_score"})),c("#password-strength-score").val(s),s<a)&&c(".pw-weak").remove()}},s.Nouveau.start())}(window.bp,jQuery);1 window.wp=window.wp||{},window.bp=window.bp||{},function(s,c){"undefined"!=typeof BP_Nouveau&&(s.Nouveau={start:function(){this.setupGlobals(),this.prepareDocument(),this.initObjects(),this.setHeartBeat(),this.addListeners()},setupGlobals:function(){this.ajax_request=null,this.objects=c.map(BP_Nouveau.objects,function(e){return e}),this.objectNavParent=BP_Nouveau.object_nav_parent,this.heartbeat=wp.heartbeat||{},this.querystring=this.getLinkParams()},prepareDocument:function(){var a;c("body").hasClass("no-js")&&c("body").removeClass("no-js").addClass("js"),BP_Nouveau.warnings&&"undefined"!=typeof console&&console.warn&&c.each(BP_Nouveau.warnings,function(e,t){console.warn(t)}),c(".buddypress_object_nav .widget-title").length&&(a=c(".buddypress_object_nav .widget-title").html(),c("body").find('*:contains("'+a+'")').each(function(e,t){c(t).hasClass("widget-title")||a!==c(t).html()||c(t).is("a")||c(t).remove()}))},getStorage:function(e,t){e=(e=sessionStorage.getItem(e))?JSON.parse(e):{};return void 0!==t?e[t]||!1:e},setStorage:function(e,t,a){var s=this.getStorage(e);return void 0===a&&void 0!==s[t]?delete s[t]:s[t]=a,sessionStorage.setItem(e,JSON.stringify(s)),null!==sessionStorage.getItem(e)},getLinkParams:function(e,t){var e=e?-1!==e.indexOf("?")?"?"+e.split("?")[1]:"":document.location.search;return e?(e=e.replace(/(^\?)/,"").split("&").map(function(e){return this[(e=e.split("="))[0]]=e[1],this}.bind({}))[0],t?e[t]:e):null},urlDecode:function(e,t){var a=t||{amp:"&",lt:"<",gt:">",quot:'"',"#039":"'"};return decodeURIComponent(e.replace(/\+/g," ")).replace(/&([^;]+);/g,function(e,t){return a[t]||""})},ajax:function(e,t){this.ajax_request&&this.ajax_request.abort();t=c.extend({},s.Nouveau.getStorage("bp-"+t),{nonce:BP_Nouveau.nonces[t]},e);return void 0!==BP_Nouveau.customizer_settings&&(t.customized=BP_Nouveau.customizer_settings),this.ajax_request=c.post(BP_Nouveau.ajaxurl,t,"json"),this.ajax_request},inject:function(e,t,a){c(e).length&&t&&("append"===(a=a||"reset")?c(e).append(t):"prepend"===a?c(e).prepend(t):c(e).html(t),"undefined"==typeof bp_mentions&&void 0===s.mentions||c(".bp-suggestions").bp_mentions(s.mentions.users))},objectRequest:function(a){var e,s=this;if((a=c.extend({object:"",scope:null,filter:null,target:"#buddypress [data-bp-list]",search_terms:"",page:1,extras:null,caller:null,template:null,method:"reset"},a)).object&&a.target)return a.search_terms&&(a.search_terms=a.search_terms.replace(/</g,"<").replace(/>/g,">")),null!==a.scope&&this.setStorage("bp-"+a.object,"scope",a.scope),null!==a.filter&&this.setStorage("bp-"+a.object,"filter",a.filter),null!==a.extras&&this.setStorage("bp-"+a.object,"extras",a.extras),c(this.objectNavParent+" [data-bp-object]").each(function(){c(this).removeClass("selected loading")}),c(this.objectNavParent+' [data-bp-scope="'+a.scope+'"], #object-nav li.current').addClass("selected loading"),c('#buddypress [data-bp-filter="'+a.object+'"] option[value="'+a.filter+'"]').prop("selected",!0),"friends"===a.object||"friend_requests"===a.object||"group_members"===a.object?(a.template=a.object,a.object="members"):"group_requests"===a.object?(a.object="groups",a.template="group_requests"):"notifications"===a.object&&(a.object="members",a.template="member_notifications"),e=c.extend({action:a.object+"_filter"},a),this.ajax(e,a.object).done(function(e){var t;!1!==e.success&&((t=c(s.objectNavParent+' [data-bp-scope="'+a.scope+'"]')).removeClass("loading"),e.data&&e.data.totalItems&&e.data.navLabel&&t.find("a").first().html(e.data.navLabel+" ").append(c("<span></span>").addClass("count").html(e.data.totalItems)),"reset"!==a.method?(s.inject(a.target,e.data.contents,a.method),c(a.target).trigger("bp_ajax_"+a.method,c.extend(a,{response:e.data}))):"pag-bottom"===a.caller&&c("#subnav").length?(t=c("#subnav").parent(),c("html,body").animate({scrollTop:t.offset().top},"slow",function(){c(a.target).fadeOut(100,function(){s.inject(this,e.data.contents,a.method),c(this).fadeIn(100,"swing",function(){c(a.target).trigger("bp_ajax_request",c.extend(a,{response:e.data}))})})})):c(a.target).fadeOut(100,function(){s.inject(this,e.data.contents,a.method),c(this).fadeIn(100,"swing",function(){c(a.target).trigger("bp_ajax_request",c.extend(a,{response:e.data}))})}))})},initObjects:function(){var a,s=this,r="all",n="",o=null,i=null;c.each(this.objects,function(e,t){void 0!==(a=s.getStorage("bp-"+t)).scope&&(r=a.scope),void 0!==a.extras&&"notifications"!==t&&(o=a.extras),c('#buddypress [data-bp-filter="'+t+'"]').length&&(void 0!==a.filter?(i=a.filter,c('#buddypress [data-bp-filter="'+t+'"] option[value="'+i+'"]').prop("selected",!0)):"-1"!==c('#buddypress [data-bp-filter="'+t+'"]').val()&&"0"!==c('#buddypress [data-bp-filter="'+t+'"]').val()&&(i=c('#buddypress [data-bp-filter="'+t+'"]').val())),c(this.objectNavParent+' [data-bp-object="'+t+'"]').length&&(c(this.objectNavParent+' [data-bp-object="'+t+'"]').each(function(){c(this).removeClass("selected")}),c(this.objectNavParent+' [data-bp-scope="'+t+'"], #object-nav li.current').addClass("selected")),null!==s.querystring&&(void 0!==s.querystring[t+"_search"]?n=s.querystring[t+"_search"]:void 0!==s.querystring.s&&(n=s.querystring.s),n)&&(n=s.urlDecode(n),c('#buddypress [data-bp-search="'+t+'"] input[type=search]').val(n)),c('#buddypress [data-bp-list="'+t+'"]').length&&(a={object:t,scope:r,filter:i,search_terms:n,extras:o},s.objectRequest(a))})},setHeartBeat:function(){void 0!==BP_Nouveau.pulse&&this.heartbeat&&(this.heartbeat.interval(Number(BP_Nouveau.pulse)),c.fn.extend({"heartbeat-send":function(){return this.bind("heartbeat-send.buddypress")}}),c.fn.extend({"heartbeat-tick":function(){return this.bind("heartbeat-tick.buddypress")}}))},addListeners:function(){c("[data-bp-disable-input]").on("change",this.toggleDisabledInput),c(document).on("heartbeat-send.buddypress",this.heartbeatSend),c(document).on("heartbeat-tick.buddypress",this.heartbeatTick),c(this.objectNavParent+" .bp-navs").on("click","a",this,this.scopeQuery),c("#buddypress [data-bp-filter]").on("change",this,this.filterQuery),c("#buddypress [data-bp-search]").on("submit","form",this,this.searchQuery),c("#buddypress [data-bp-search] form").on("search","input[type=search]",this.resetSearch),c("#buddypress [data-bp-list], #buddypress #item-header").on("click","[data-bp-btn-action]",this,this.buttonAction),c("#buddypress [data-bp-close]").on("click",this,this.closeNotice),c("#buddypress [data-bp-list]").on("click","[data-bp-pagination] a",this,this.paginateAction),BP_Nouveau.bpPasswordVerify&&BP_Nouveau.bpPasswordVerify.requiredPassStrength&&c("#pass1").on("input pwupdate",this.checkPassStrength)},toggleDisabledInput:function(e){var e=c(e.currentTarget),t="#"+e.data("bp-disable-input"),a=e.prop("checked");e.removeClass("enabled disabled"),a?(e.addClass("enabled"),c(t).prop("disabled",!1)):(c(t).prop("disabled",!0),e.addClass("disabled"))},heartbeatSend:function(e,t){c("#buddypress").trigger("bp_heartbeat_send",t)},heartbeatTick:function(e,t){c("#buddypress").trigger("bp_heartbeat_tick",t)},scopeQuery:function(e){var t,a,s,r=e.data,n=c(e.currentTarget).parent(),o="";return!n.hasClass("no-ajax")&&!c(e.currentTarget).hasClass("no-ajax")&&n.attr("data-bp-scope")&&(t=n.data("bp-scope"),a=n.data("bp-object"),t)&&a?(e.preventDefault(),s=c("#buddypress").find('[data-bp-filter="'+a+'"]').first().val(),c('#buddypress [data-bp-search="'+a+'"] input[type=search]').length&&(o=c('#buddypress [data-bp-search="'+a+'"] input[type=search]').val()),n.hasClass("dynamic")&&n.find("a span").html(""),void r.objectRequest({object:a,scope:t,filter:s,search_terms:o,page:1})):e},filterQuery:function(e){var t=e.data,a=c(e.target).data("bp-filter"),s="all",r=c(e.target).val(),n="";if(!a)return e;c(t.objectNavParent+" [data-bp-object].selected").length&&(s=c(t.objectNavParent+" [data-bp-object].selected").data("bp-scope")),c('#buddypress [data-bp-search="'+a+'"] input[type=search]').length&&(n=c('#buddypress [data-bp-search="'+a+'"] input[type=search]').val()),t.objectRequest({object:a,scope:s,filter:r,search_terms:n,page:1,template:null})},searchQuery:function(e){var t,a,s=e.data,r="all";if(c(e.delegateTarget).hasClass("no-ajax")||void 0===c(e.delegateTarget).data("bp-search"))return e;e.preventDefault(),t=c(e.delegateTarget).data("bp-search"),a=c("#buddypress").find('[data-bp-filter="'+t+'"]').first().val(),e=c(e.delegateTarget).find("input[type=search]").first().val(),c(s.objectNavParent+" [data-bp-object]").length&&(r=c(s.objectNavParent+' [data-bp-object="'+t+'"].selected').data("bp-scope")),s.objectRequest({object:t,scope:r,filter:a,search_terms:e,page:1,template:null})},showSearchSubmit:function(e){c(e.delegateTarget).find("[type=submit]").addClass("bp-show"),c("[type=submit]").hasClass("bp-hide")&&c("[type=submit]").removeClass("bp-hide")},resetSearch:function(e){c(e.target).val()?c(e.delegateTarget).find("[type=submit]").show():c(e.delegateTarget).submit()},buttonAction:function(e){var a=e.data,s=c(e.currentTarget),r=s.data("bp-btn-action"),t=s.data("bp-nonce"),n=s.closest("[data-bp-item-id]"),o=n.data("bp-item-id"),i=s.closest(".list-wrap"),d=n.data("bp-item-component"),p="";return r&&o&&d?(e.preventDefault(),!(void 0!==BP_Nouveau[r+"_confirm"]&&!1===window.confirm(BP_Nouveau[r+"_confirm"])||s.hasClass("pending"))&&(t=t||s.prop("href"),p=a.getLinkParams(t,"_wpnonce"),t={is_friend:"remove_friend",not_friends:"add_friend",pending:"withdraw_friendship",accept_friendship:"accept_friendship",reject_friendship:"reject_friendship"},"members"===d&&void 0!==t[r]&&(r=t[r],d="friends"),s.addClass("pending loading"),void a.ajax({action:d+"_"+r,item_id:o,_wpnonce:p},d).done(function(e){if(!1===e.success)i.prepend(e.data.feedback),s.removeClass("pending loading"),n.find(".bp-feedback").fadeOut(6e3);else{if("groups"===d&&void 0!==e.data.is_group&&e.data.is_group)return window.location.reload();var t;void 0!==e.data.is_user&&e.data.is_user?(s.parent().html(e.data.feedback),n.fadeOut(1500)):(c(a.objectNavParent+' [data-bp-scope="personal"]').length&&(t=Number(c(a.objectNavParent+' [data-bp-scope="personal"] span').html())||0,-1!==c.inArray(r,["leave_group","remove_friend"])?--t:-1!==c.inArray(r,["join_group"])&&(t+=1),t<0&&(t=0),c(a.objectNavParent+' [data-bp-scope="personal"] span').html(t)),s.parent().replaceWith(e.data.contents))}}))):e},closeNotice:function(e){var t=c(e.currentTarget);e.preventDefault(),"clear"===t.data("bp-close")&&(void 0!==c.cookie("bp-message")&&c.removeCookie("bp-message"),void 0!==c.cookie("bp-message-type"))&&c.removeCookie("bp-message-type"),t.closest(".bp-feedback").hasClass("bp-sitewide-notice")&&s.Nouveau.ajax({action:"messages_dismiss_sitewide_notice"},"messages"),t.closest(".bp-feedback").remove()},paginateAction:function(e){var t=e.data,a=c(e.currentTarget),s=null,r=null,n=null,o=null,i=a.closest("[data-bp-pagination]").data("bp-pagination")||null;if(null===i)return e;e.preventDefault(),null!==(e=c(e.delegateTarget).data("bp-list")||null)&&(void 0!==(d=t.getStorage("bp-"+e)).scope&&(s=d.scope),void 0!==d.filter&&(r=d.filter),void 0!==d.extras)&&(o=d.extras);var d={object:e,scope:s,filter:r,search_terms:n=c('#buddypress [data-bp-search="'+e+'"] input[type=search]').length?c('#buddypress [data-bp-search="'+e+'"] input[type=search]').val():n,extras:o,page:t.getLinkParams(a.prop("href"),i)||1};t.objectRequest(d)},checkPassStrength:function(e){var t=BP_Nouveau.bpPasswordVerify,a=parseInt(t.requiredPassStrength,10),s=c(e.currentTarget).val(),r=c("#pass2").val(),n=c(e.currentTarget).closest("form"),s="function"==typeof wp.passwordStrength.userInputDisallowedList?wp.passwordStrength.meter(s,wp.passwordStrength.userInputDisallowedList(),r):wp.passwordStrength.meter(s,wp.passwordStrength.userInputBlacklist(),r);a&&a<=4&&(r=c(n).find("#password-warning"),s<a?(c(r).length||(c(e.currentTarget).before(c("<p></p>").prop("id","password-warning").addClass("description")),r=c(n).find("#password-warning")),setTimeout(function(){c("#submit").prop("disabled",!0)},1),c(r).html(t.tooWeakPasswordWarning)):c(r).length&&c(r).remove(),c(n).find("#password-strength-score").length||c(n).prepend(c("<input></input>").prop({id:"password-strength-score",type:"hidden",name:"_password_strength_score"})),c("#password-strength-score").val(s),s<a)&&c(".pw-weak").remove()}},s.Nouveau.start())}(window.bp,jQuery); -
buddypress/trunk/buddypress.pot
r3599376 r3627603 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2026-07- 07T14:10:23+00:00\n"12 "POT-Creation-Date: 2026-07-29T17:27:16+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.11.0\n" … … 124 124 #: bp-activity/classes/class-bp-activity-activity.php:299 125 125 #: bp-groups/bp-groups-activity.php:591 126 #: bp-templates/bp-legacy/buddypress-functions.php:10 05126 #: bp-templates/bp-legacy/buddypress-functions.php:1013 127 127 msgid "Please enter some content to post." 128 128 msgstr "" … … 137 137 138 138 #: bp-activity/actions/reply.php:54 139 #: bp-templates/bp-legacy/buddypress-functions.php:1 096140 #: bp-templates/bp-nouveau/includes/activity/ajax.php:38 1139 #: bp-templates/bp-legacy/buddypress-functions.php:1104 140 #: bp-templates/bp-nouveau/includes/activity/ajax.php:386 141 141 msgid "Please do not leave the comment area blank." 142 142 msgstr "" … … 698 698 699 699 #: bp-activity/bp-activity-functions.php:2818 700 #: bp-templates/bp-legacy/buddypress-functions.php:1 093701 #: bp-templates/bp-nouveau/includes/activity/ajax.php:36 0700 #: bp-templates/bp-legacy/buddypress-functions.php:1101 701 #: bp-templates/bp-nouveau/includes/activity/ajax.php:365 702 702 msgid "There was an error posting your reply. Please try again." 703 703 msgstr "" … … 707 707 msgstr "" 708 708 709 #: bp-activity/bp-activity-functions.php:34 66709 #: bp-activity/bp-activity-functions.php:3476 710 710 msgid "Thumbnail" 711 711 msgstr "" 712 712 713 #: bp-activity/bp-activity-functions.php:35 45713 #: bp-activity/bp-activity-functions.php:3555 714 714 #: bp-core/bp-core-template.php:774 715 715 msgid " […]" 716 716 msgstr "" 717 717 718 #: bp-activity/bp-activity-functions.php:44 76718 #: bp-activity/bp-activity-functions.php:4486 719 719 msgid "Activity Date" 720 720 msgstr "" 721 721 722 #: bp-activity/bp-activity-functions.php:44 80722 #: bp-activity/bp-activity-functions.php:4490 723 723 msgid "Activity Description" 724 724 msgstr "" 725 725 726 #: bp-activity/bp-activity-functions.php:44 84726 #: bp-activity/bp-activity-functions.php:4494 727 727 msgid "Activity URL" 728 728 msgstr "" 729 729 730 #: bp-activity/bp-activity-functions.php:4 491730 #: bp-activity/bp-activity-functions.php:4501 731 731 msgid "Activity Content" 732 732 msgstr "" 733 733 734 #: bp-activity/bp-activity-functions.php:45 12734 #: bp-activity/bp-activity-functions.php:4522 735 735 #: bp-activity/bp-activity-notifications.php:401 736 736 #: bp-activity/classes/class-bp-activity-oembed-extension.php:146 … … 4602 4602 #: bp-members/bp-members-membership-requests.php:463 4603 4603 #: bp-members/classes/class-bp-registration-theme-compat.php:101 4604 #: bp-templates/bp-legacy/buddypress-functions.php:17 064604 #: bp-templates/bp-legacy/buddypress-functions.php:1719 4605 4605 msgid "Request Membership" 4606 4606 msgstr "" … … 5816 5816 5817 5817 #: bp-friends/actions/remove-friend.php:38 5818 #: bp-templates/bp-legacy/buddypress-functions.php:15 115818 #: bp-templates/bp-legacy/buddypress-functions.php:1524 5819 5819 msgid "Friendship could not be canceled." 5820 5820 msgstr "" … … 6028 6028 6029 6029 #: bp-friends/bp-friends-template.php:245 6030 #: bp-templates/bp-legacy/buddypress-functions.php:15 256030 #: bp-templates/bp-legacy/buddypress-functions.php:1538 6031 6031 msgid "Cancel Friendship Request" 6032 6032 msgstr "" … … 6048 6048 #: bp-friends/bp-friends-template.php:302 6049 6049 #: bp-friends/bp-friends-template.php:303 6050 #: bp-templates/bp-legacy/buddypress-functions.php:15 146051 #: bp-templates/bp-legacy/buddypress-functions.php:15 346050 #: bp-templates/bp-legacy/buddypress-functions.php:1527 6051 #: bp-templates/bp-legacy/buddypress-functions.php:1547 6052 6052 msgid "Add Friend" 6053 6053 msgstr "" … … 6769 6769 6770 6770 #. translators: accessibility text 6771 #: bp-groups/bp-groups-admin.php:118 36771 #: bp-groups/bp-groups-admin.php:1184 6772 6772 msgid "Select group type" 6773 6773 msgstr "" 6774 6774 6775 #: bp-groups/bp-groups-admin.php:119 46775 #: bp-groups/bp-groups-admin.php:1195 6776 6776 msgid "(Not available on the front end)" 6777 6777 msgstr "" 6778 6778 6779 #: bp-groups/bp-groups-admin.php:129 06779 #: bp-groups/bp-groups-admin.php:1291 6780 6780 msgid "«" 6781 6781 msgstr "" 6782 6782 6783 #: bp-groups/bp-groups-admin.php:129 16783 #: bp-groups/bp-groups-admin.php:1292 6784 6784 msgid "»" 6785 6785 msgstr "" 6786 6786 6787 #: bp-groups/bp-groups-admin.php:129 86787 #: bp-groups/bp-groups-admin.php:1299 6788 6788 #: bp-groups/bp-groups-template.php:4627 6789 6789 #: bp-members/bp-members-template.php:538 … … 6792 6792 6793 6793 #. translators: 1: group member from number. 2: group member to number. 3: total group members. 6794 #: bp-groups/bp-groups-admin.php:130 26794 #: bp-groups/bp-groups-admin.php:1303 6795 6795 msgctxt "Group members pagination in group admin" 6796 6796 msgid "Viewing %1$s - %2$s of %3$s member" … … 6800 6800 6801 6801 #. Translators: 1: user_login, 2: user_email. 6802 #: bp-groups/bp-groups-admin.php:137 26802 #: bp-groups/bp-groups-admin.php:1373 6803 6803 msgid "%1$s (%2$s)" 6804 6804 msgstr "" 6805 6805 6806 #: bp-groups/bp-groups-admin.php:146 56806 #: bp-groups/bp-groups-admin.php:1466 6807 6807 msgid "There was an error while changing group type. Please try again." 6808 6808 msgstr "" 6809 6809 6810 #: bp-groups/bp-groups-admin.php:146 86810 #: bp-groups/bp-groups-admin.php:1469 6811 6811 msgid "Group type was changed successfully." 6812 6812 msgstr "" 6813 6813 6814 #: bp-groups/bp-groups-admin.php:150 86814 #: bp-groups/bp-groups-admin.php:1509 6815 6815 msgid "Please define the Group Type ID field." 6816 6816 msgstr "" 6817 6817 6818 #: bp-groups/bp-groups-admin.php:15 096818 #: bp-groups/bp-groups-admin.php:1510 6819 6819 msgid "Group type successfully added." 6820 6820 msgstr "" 6821 6821 6822 #: bp-groups/bp-groups-admin.php:151 06822 #: bp-groups/bp-groups-admin.php:1511 6823 6823 msgid "Sorry, there was an error and the Group type wasn’t added." 6824 6824 msgstr "" 6825 6825 6826 #: bp-groups/bp-groups-admin.php:151 26826 #: bp-groups/bp-groups-admin.php:1513 6827 6827 msgid "Group type successfully updated." 6828 6828 msgstr "" 6829 6829 6830 #: bp-groups/bp-groups-admin.php:151 36830 #: bp-groups/bp-groups-admin.php:1514 6831 6831 msgid "Sorry, this Group type already exists." 6832 6832 msgstr "" 6833 6833 6834 #: bp-groups/bp-groups-admin.php:151 46834 #: bp-groups/bp-groups-admin.php:1515 6835 6835 msgid "Sorry, the Group type was not deleted: it does not exist." 6836 6836 msgstr "" 6837 6837 6838 #: bp-groups/bp-groups-admin.php:151 56838 #: bp-groups/bp-groups-admin.php:1516 6839 6839 msgid "Sorry, This Group type is registered using code, deactivate the plugin or remove the custom code before trying to delete it again." 6840 6840 msgstr "" 6841 6841 6842 #: bp-groups/bp-groups-admin.php:151 66842 #: bp-groups/bp-groups-admin.php:1517 6843 6843 msgid "Sorry, there was an error while trying to delete this Group type." 6844 6844 msgstr "" 6845 6845 6846 #: bp-groups/bp-groups-admin.php:151 76846 #: bp-groups/bp-groups-admin.php:1518 6847 6847 msgid "Group type successfully deleted." 6848 6848 msgstr "" 6849 6849 6850 #: bp-groups/bp-groups-admin.php:151 86850 #: bp-groups/bp-groups-admin.php:1519 6851 6851 msgid "Group type could not be updated due to missing required information." 6852 6852 msgstr "" … … 7461 7461 #: bp-groups/bp-groups-template.php:3535 7462 7462 #: bp-groups/bp-groups-template.php:3536 7463 #: bp-templates/bp-legacy/buddypress-functions.php:16 537464 #: bp-templates/bp-legacy/buddypress-functions.php:16 707463 #: bp-templates/bp-legacy/buddypress-functions.php:1666 7464 #: bp-templates/bp-legacy/buddypress-functions.php:1683 7465 7465 msgid "Leave Group" 7466 7466 msgstr "" … … 7475 7475 #: bp-groups/bp-groups-template.php:3587 7476 7476 #: bp-groups/bp-groups-template.php:3588 7477 #: bp-templates/bp-legacy/buddypress-functions.php:1 6977477 #: bp-templates/bp-legacy/buddypress-functions.php:1710 7478 7478 msgid "Join Group" 7479 7479 msgstr "" … … 7481 7481 #: bp-groups/bp-groups-template.php:3624 7482 7482 #: bp-groups/bp-groups-template.php:3625 7483 #: bp-templates/bp-legacy/buddypress-functions.php:16 807483 #: bp-templates/bp-legacy/buddypress-functions.php:1693 7484 7484 msgid "Request Sent" 7485 7485 msgstr "" … … 11723 11723 11724 11724 #: bp-templates/bp-legacy/buddypress-functions.php:310 11725 #: bp-templates/bp-legacy/buddypress-functions.php:13 0811726 #: bp-templates/bp-legacy/buddypress-functions.php:13 3911725 #: bp-templates/bp-legacy/buddypress-functions.php:1316 11726 #: bp-templates/bp-legacy/buddypress-functions.php:1347 11727 11727 #: bp-templates/bp-legacy/buddypress/activity/entry.php:82 11728 11728 msgid "Favorite" … … 11740 11740 11741 11741 #: bp-templates/bp-legacy/buddypress-functions.php:313 11742 #: bp-templates/bp-legacy/buddypress-functions.php:13 0611743 #: bp-templates/bp-legacy/buddypress-functions.php:134 111742 #: bp-templates/bp-legacy/buddypress-functions.php:1314 11743 #: bp-templates/bp-legacy/buddypress-functions.php:1349 11744 11744 #: bp-templates/bp-legacy/buddypress/activity/entry.php:86 11745 11745 #: bp-templates/bp-nouveau/includes/activity/ajax.php:111 … … 11772 11772 msgstr "" 11773 11773 11774 #: bp-templates/bp-legacy/buddypress-functions.php:10 4211775 #: bp-templates/bp-nouveau/includes/activity/ajax.php:5 7911774 #: bp-templates/bp-legacy/buddypress-functions.php:1050 11775 #: bp-templates/bp-nouveau/includes/activity/ajax.php:584 11776 11776 msgid "There was a problem posting your update. Please try again." 11777 11777 msgstr "" 11778 11778 11779 #: bp-templates/bp-legacy/buddypress-functions.php:118 011780 #: bp-templates/bp-legacy/buddypress-functions.php:122 011779 #: bp-templates/bp-legacy/buddypress-functions.php:1188 11780 #: bp-templates/bp-legacy/buddypress-functions.php:1228 11781 11781 #: bp-templates/bp-nouveau/includes/activity/ajax.php:205 11782 11782 msgid "There was a problem when deleting. Please try again." 11783 11783 msgstr "" 11784 11784 11785 #: bp-templates/bp-legacy/buddypress-functions.php:14 5511785 #: bp-templates/bp-legacy/buddypress-functions.php:1468 11786 11786 #: bp-templates/bp-legacy/buddypress/groups/create.php:395 11787 11787 #: bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php:75 … … 11790 11790 11791 11791 #. translators: %s: user link 11792 #: bp-templates/bp-legacy/buddypress-functions.php:14 6011792 #: bp-templates/bp-legacy/buddypress-functions.php:1473 11793 11793 msgid "%s has previously requested to join this group. Sending an invitation will automatically add the member to the group." 11794 11794 msgstr "" 11795 11795 11796 #: bp-templates/bp-legacy/buddypress-functions.php:15 0311796 #: bp-templates/bp-legacy/buddypress-functions.php:1516 11797 11797 #: bp-templates/bp-nouveau/includes/friends/ajax.php:107 11798 11798 msgid "No member found by that ID." 11799 11799 msgstr "" 11800 11800 11801 #: bp-templates/bp-legacy/buddypress-functions.php:15 2211801 #: bp-templates/bp-legacy/buddypress-functions.php:1535 11802 11802 msgid " Friendship could not be requested." 11803 11803 msgstr "" 11804 11804 11805 #: bp-templates/bp-legacy/buddypress-functions.php:15 3611805 #: bp-templates/bp-legacy/buddypress-functions.php:1549 11806 11806 #: bp-templates/bp-nouveau/includes/friends/ajax.php:210 11807 11807 msgid "Friendship request could not be cancelled." 11808 11808 msgstr "" 11809 11809 11810 #: bp-templates/bp-legacy/buddypress-functions.php:15 4111810 #: bp-templates/bp-legacy/buddypress-functions.php:1554 11811 11811 #: bp-templates/bp-nouveau/includes/friends/ajax.php:220 11812 11812 msgid "Request Pending" 11813 11813 msgstr "" 11814 11814 11815 #: bp-templates/bp-legacy/buddypress-functions.php:15 6011815 #: bp-templates/bp-legacy/buddypress-functions.php:1573 11816 11816 #: bp-templates/bp-nouveau/includes/friends/ajax.php:121 11817 11817 msgid "There was a problem accepting that request. Please try again." 11818 11818 msgstr "" 11819 11819 11820 #: bp-templates/bp-legacy/buddypress-functions.php:15 7911820 #: bp-templates/bp-legacy/buddypress-functions.php:1592 11821 11821 #: bp-templates/bp-nouveau/includes/friends/ajax.php:145 11822 11822 msgid "There was a problem rejecting that request. Please try again." 11823 11823 msgstr "" 11824 11824 11825 #: bp-templates/bp-legacy/buddypress-functions.php:16 2911826 #: bp-templates/bp-legacy/buddypress-functions.php:16 3711827 #: bp-templates/bp-legacy/buddypress-functions.php:16 4411825 #: bp-templates/bp-legacy/buddypress-functions.php:1642 11826 #: bp-templates/bp-legacy/buddypress-functions.php:1650 11827 #: bp-templates/bp-legacy/buddypress-functions.php:1657 11828 11828 msgid "Error joining group" 11829 11829 msgstr "" 11830 11830 11831 #: bp-templates/bp-legacy/buddypress-functions.php:16 6111832 #: bp-templates/bp-legacy/buddypress-functions.php:16 7811831 #: bp-templates/bp-legacy/buddypress-functions.php:1674 11832 #: bp-templates/bp-legacy/buddypress-functions.php:1691 11833 11833 msgid "Error requesting membership" 11834 11834 msgstr "" 11835 11835 11836 #: bp-templates/bp-legacy/buddypress-functions.php:1 68811836 #: bp-templates/bp-legacy/buddypress-functions.php:1701 11837 11837 msgid "Error leaving group" 11838 11838 msgstr "" 11839 11839 11840 #: bp-templates/bp-legacy/buddypress-functions.php:17 2711840 #: bp-templates/bp-legacy/buddypress-functions.php:1740 11841 11841 msgid "There was a problem closing the notice." 11842 11842 msgstr "" 11843 11843 11844 #: bp-templates/bp-legacy/buddypress-functions.php:17 5411845 #: bp-templates/bp-legacy/buddypress-functions.php:1 79411844 #: bp-templates/bp-legacy/buddypress-functions.php:1767 11845 #: bp-templates/bp-legacy/buddypress-functions.php:1807 11846 11846 msgid "There was a problem sending that reply. Please try again." 11847 11847 msgstr "" … … 13799 13799 13800 13800 #: bp-templates/bp-nouveau/includes/activity/ajax.php:293 13801 #: bp-templates/bp-nouveau/includes/ajax.php:23 13801 13802 msgid "There was a problem displaying the content. Please try again." 13802 13803 msgstr "" 13803 13804 13804 #: bp-templates/bp-nouveau/includes/activity/ajax.php:49 313805 #: bp-templates/bp-nouveau/includes/activity/ajax.php:498 13805 13806 msgid "No activities were found." 13806 13807 msgstr "" 13807 13808 13808 #: bp-templates/bp-nouveau/includes/activity/ajax.php: 59613809 #: bp-templates/bp-nouveau/includes/activity/ajax.php:601 13809 13810 msgid "Update posted." 13810 13811 msgstr "" 13811 13812 13812 #: bp-templates/bp-nouveau/includes/activity/ajax.php: 59613813 #: bp-templates/bp-nouveau/includes/activity/ajax.php:601 13813 13814 msgid "View activity." 13814 13815 msgstr "" 13815 13816 13816 #: bp-templates/bp-nouveau/includes/activity/ajax.php:62 413817 #: bp-templates/bp-nouveau/includes/activity/ajax.php:629 13817 13818 msgid "There was a problem marking this activity as spam. Please try again." 13818 13819 msgstr "" 13819 13820 13820 #: bp-templates/bp-nouveau/includes/activity/ajax.php:67 313821 #: bp-templates/bp-nouveau/includes/activity/ajax.php:678 13821 13822 msgid "This activity has been marked as spam and is no longer visible." 13822 13823 msgstr "" -
buddypress/trunk/class-buddypress.php
r3599376 r3627603 461 461 /** Versions */ 462 462 463 $this->version = '14.5. 0';463 $this->version = '14.5.2'; 464 464 $this->db_version = 13906; 465 465 -
buddypress/trunk/readme.txt
r3599376 r3627603 8 8 Requires at least: 6.1 9 9 Tested up to: 7.0 10 Stable tag: 14.5. 010 Stable tag: 14.5.2 11 11 12 12 Get together safely, in your own way, in WordPress. … … 131 131 == Upgrade Notice == 132 132 133 = 14.5.0= 133 = 14.5.2 = 134 See: https://codex.buddypress.org/releases/version-14-5-2/ 135 136 = 14.5.0 = 134 137 See: https://codex.buddypress.org/releases/version-14-5-0/ 135 138 136 = 14.4.0 =139 = 14.4.0 = 137 140 See: https://codex.buddypress.org/releases/version-14-4-0/ 138 141 … … 221 224 == Changelog == 222 225 223 = 14.5.0= 226 = 14.5.2 = 227 See: https://codex.buddypress.org/releases/version-14-5-2/ 228 229 = 14.5.0 = 224 230 See: https://codex.buddypress.org/releases/version-14-5-0/ 225 231 … … 246 252 247 253 = 12.5.1 = 248 Security fix: The Members block was vulnerable to a Stored Cross-Site Scripting. Discovered by Wesley (wcraft) from the Wordfence organization.254 Security fix: The Members block was vulnerable to a Stored Cross-Site Scripting. Discovered by Wesley (wcraft) from the Wordfence organization. 249 255 See: https://codex.buddypress.org/releases/version-12-5-1/ 250 256 … … 253 259 254 260 = 12.4.1 = 255 Security fix: The dynamic Members, dynamic Friends & dynamic Groups blocks were vulnerable to a Stored Cross-Site Scripting. Discovered by Wesley (wcraft) from the Wordfence organization.261 Security fix: The dynamic Members, dynamic Friends & dynamic Groups blocks were vulnerable to a Stored Cross-Site Scripting. Discovered by Wesley (wcraft) from the Wordfence organization. 256 262 See: https://codex.buddypress.org/releases/version-12-4-1/ 257 263
Note:
See TracChangeset
for help on using the changeset viewer.