Plugin Directory

Changeset 3627603


Ignore:
Timestamp:
07/29/2026 06:58:52 PM (4 months ago)
Author:
dcavins
Message:

Update trunk with 14.5.2 code & create 14.5.2 tag from trunk

Location:
buddypress
Files:
26 edited
1 copied

Legend:

Unmodified
Added
Removed
  • buddypress/tags/14.5.2/bp-activity/bp-activity-functions.php

    r3259420 r3627603  
    33543354        }
    33553355
     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
    33563361        // If activity is from a group, do extra cap checks.
    33573362        if ( bp_is_active( 'groups' ) && buddypress()->groups->id === $activity->component && bp_current_user_can( 'bp_view', array( 'bp_component' => 'groups' ) ) ) {
    … …  
    33813386        if ( bp_current_user_can( 'bp_moderate' ) ) {
    33823387                $retval = true;
     3388        }
     3389
     3390        // Activity comments as parent are not allowed.
     3391        if ( 'activity_comment' === $activity->type ) {
     3392                $retval = false;
    33833393        }
    33843394
  • buddypress/tags/14.5.2/bp-activity/classes/class-bp-activity-oembed-extension.php

    r3079691 r3627603  
    123123
    124124                        // 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 ) ) {
    126126                                return $activity_id;
    127127                        }
  • buddypress/tags/14.5.2/bp-core/bp-core-template-loader.php

    r3599376 r3627603  
    654654 *
    655655 * @since 12.0.0
     656 * @since 14.5.1 Make nullable type parameter compatible with PHP 8.4.
    656657 *
    657658 * @param string   $bp_request A specific BuddyPress request.
    … …  
    659660 * @return true
    660661 */
    661 function bp_reset_query( $bp_request = '', WP_Query $query = null ) {
     662function bp_reset_query( $bp_request = '', $query = null ) {
    662663        global $wp;
    663664
  • buddypress/tags/14.5.2/bp-groups/bp-groups-admin.php

    r3599376 r3627603  
    11631163 *
    11641164 * @since 2.6.0
     1165 * @since 14.5.1 Make nullable type parameter compatible with PHP 8.4.
    11651166 *
    11661167 * @param BP_Groups_Group|null $group The BP_Groups_Group object corresponding to the group being edited.
    11671168 */
    1168 function bp_groups_admin_edit_metabox_group_type( BP_Groups_Group $group = null ) {
     1169function bp_groups_admin_edit_metabox_group_type( $group = null ) {
    11691170
    11701171        // Bail if no group ID.
  • buddypress/tags/14.5.2/bp-loader.php

    r3599376 r3627603  
    2222 * Requires PHP:      5.6
    2323 * Requires at least: 6.1
    24  * Version:           14.5.0
     24 * Version:           14.5.2
    2525 */
    2626
  • buddypress/tags/14.5.2/bp-templates/bp-legacy/buddypress-functions.php

    r3599376 r3627603  
    859859        }
    860860
     861        if ( ! bp_current_user_can( 'bp_view', array( 'bp_component' => $object ) ) ) {
     862                return;
     863        }
     864
    861865        /**
    862866         * AJAX requests happen too early to be seen by bp_update_is_directory()
    … …  
    925929function bp_legacy_theme_activity_template_loader() {
    926930        if ( ! bp_is_post_request() ) {
     931                return;
     932        }
     933
     934        if ( ! bp_current_user_can( 'bp_view', array( 'bp_component' => 'activity' ) ) ) {
    927935                return;
    928936        }
    … …  
    13671375        if ( empty( $activity ) ) {
    13681376                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;
    13691382        }
    13701383
  • buddypress/tags/14.5.2/bp-templates/bp-nouveau/includes/activity/ajax.php

    r3259420 r3627603  
    317317
    318318        $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        }
    319324
    320325        /**
  • buddypress/tags/14.5.2/bp-templates/bp-nouveau/includes/ajax.php

    r2947464 r3627603  
    1818 */
    1919function 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
    2027        if ( ! bp_is_post_request() ) {
    21                 wp_send_json_error();
     28                wp_send_json_error( $response );
    2229        }
    2330
    … …  
    3845        // Bail if object is not an active component to prevent arbitrary file inclusion.
    3946        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 );
    4152        }
    4253
    4354        // Nonce check!
    4455        if ( ! $post_vars['nonce'] || ! wp_verify_nonce( $post_vars['nonce'], 'bp_nouveau_' . $object ) ) {
    45                 wp_send_json_error();
     56                wp_send_json_error( $response );
    4657        }
    4758
    … …  
    106117        }
    107118
     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
    108137        // Get the template path based on the 'template' variable via the AJAX request.
    109138        $template = '';
  • buddypress/tags/14.5.2/bp-templates/bp-nouveau/js/buddypress-nouveau.js

    r2814648 r3627603  
    854854                                                                                  .addClass( 'description' )
    855855                                                );
     856
     857                                                // Reinitialize after adding #password-warning.
     858                                                passwordWarningContainer = $( currentForm ).find( '#password-warning' );
    856859                                        }
     860
     861                                        // Ensure we override user-profile.js.
     862                                        setTimeout( function() {
     863                                                $( '#submit' ).prop( 'disabled', true );
     864                                        }, 1 );
    857865
    858866                                        $( 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,"&lt;").replace(/>/g,"&gt;")),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+"&nbsp;").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);
     1window.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,"&lt;").replace(/>/g,"&gt;")),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+"&nbsp;").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  
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"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"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.11.0\n"
    … …  
    124124#: bp-activity/classes/class-bp-activity-activity.php:299
    125125#: bp-groups/bp-groups-activity.php:591
    126 #: bp-templates/bp-legacy/buddypress-functions.php:1005
     126#: bp-templates/bp-legacy/buddypress-functions.php:1013
    127127msgid "Please enter some content to post."
    128128msgstr ""
    … …  
    137137
    138138#: bp-activity/actions/reply.php:54
    139 #: bp-templates/bp-legacy/buddypress-functions.php:1096
    140 #: bp-templates/bp-nouveau/includes/activity/ajax.php:381
     139#: bp-templates/bp-legacy/buddypress-functions.php:1104
     140#: bp-templates/bp-nouveau/includes/activity/ajax.php:386
    141141msgid "Please do not leave the comment area blank."
    142142msgstr ""
    … …  
    698698
    699699#: bp-activity/bp-activity-functions.php:2818
    700 #: bp-templates/bp-legacy/buddypress-functions.php:1093
    701 #: bp-templates/bp-nouveau/includes/activity/ajax.php:360
     700#: bp-templates/bp-legacy/buddypress-functions.php:1101
     701#: bp-templates/bp-nouveau/includes/activity/ajax.php:365
    702702msgid "There was an error posting your reply. Please try again."
    703703msgstr ""
    … …  
    707707msgstr ""
    708708
    709 #: bp-activity/bp-activity-functions.php:3466
     709#: bp-activity/bp-activity-functions.php:3476
    710710msgid "Thumbnail"
    711711msgstr ""
    712712
    713 #: bp-activity/bp-activity-functions.php:3545
     713#: bp-activity/bp-activity-functions.php:3555
    714714#: bp-core/bp-core-template.php:774
    715715msgid " [&hellip;]"
    716716msgstr ""
    717717
    718 #: bp-activity/bp-activity-functions.php:4476
     718#: bp-activity/bp-activity-functions.php:4486
    719719msgid "Activity Date"
    720720msgstr ""
    721721
    722 #: bp-activity/bp-activity-functions.php:4480
     722#: bp-activity/bp-activity-functions.php:4490
    723723msgid "Activity Description"
    724724msgstr ""
    725725
    726 #: bp-activity/bp-activity-functions.php:4484
     726#: bp-activity/bp-activity-functions.php:4494
    727727msgid "Activity URL"
    728728msgstr ""
    729729
    730 #: bp-activity/bp-activity-functions.php:4491
     730#: bp-activity/bp-activity-functions.php:4501
    731731msgid "Activity Content"
    732732msgstr ""
    733733
    734 #: bp-activity/bp-activity-functions.php:4512
     734#: bp-activity/bp-activity-functions.php:4522
    735735#: bp-activity/bp-activity-notifications.php:401
    736736#: bp-activity/classes/class-bp-activity-oembed-extension.php:146
    … …  
    46024602#: bp-members/bp-members-membership-requests.php:463
    46034603#: bp-members/classes/class-bp-registration-theme-compat.php:101
    4604 #: bp-templates/bp-legacy/buddypress-functions.php:1706
     4604#: bp-templates/bp-legacy/buddypress-functions.php:1719
    46054605msgid "Request Membership"
    46064606msgstr ""
    … …  
    58165816
    58175817#: bp-friends/actions/remove-friend.php:38
    5818 #: bp-templates/bp-legacy/buddypress-functions.php:1511
     5818#: bp-templates/bp-legacy/buddypress-functions.php:1524
    58195819msgid "Friendship could not be canceled."
    58205820msgstr ""
    … …  
    60286028
    60296029#: bp-friends/bp-friends-template.php:245
    6030 #: bp-templates/bp-legacy/buddypress-functions.php:1525
     6030#: bp-templates/bp-legacy/buddypress-functions.php:1538
    60316031msgid "Cancel Friendship Request"
    60326032msgstr ""
    … …  
    60486048#: bp-friends/bp-friends-template.php:302
    60496049#: bp-friends/bp-friends-template.php:303
    6050 #: bp-templates/bp-legacy/buddypress-functions.php:1514
    6051 #: bp-templates/bp-legacy/buddypress-functions.php:1534
     6050#: bp-templates/bp-legacy/buddypress-functions.php:1527
     6051#: bp-templates/bp-legacy/buddypress-functions.php:1547
    60526052msgid "Add Friend"
    60536053msgstr ""
    … …  
    67696769
    67706770#. translators: accessibility text
    6771 #: bp-groups/bp-groups-admin.php:1183
     6771#: bp-groups/bp-groups-admin.php:1184
    67726772msgid "Select group type"
    67736773msgstr ""
    67746774
    6775 #: bp-groups/bp-groups-admin.php:1194
     6775#: bp-groups/bp-groups-admin.php:1195
    67766776msgid "(Not available on the front end)"
    67776777msgstr ""
    67786778
    6779 #: bp-groups/bp-groups-admin.php:1290
     6779#: bp-groups/bp-groups-admin.php:1291
    67806780msgid "&laquo;"
    67816781msgstr ""
    67826782
    6783 #: bp-groups/bp-groups-admin.php:1291
     6783#: bp-groups/bp-groups-admin.php:1292
    67846784msgid "&raquo;"
    67856785msgstr ""
    67866786
    6787 #: bp-groups/bp-groups-admin.php:1298
     6787#: bp-groups/bp-groups-admin.php:1299
    67886788#: bp-groups/bp-groups-template.php:4627
    67896789#: bp-members/bp-members-template.php:538
    … …  
    67926792
    67936793#. translators: 1: group member from number. 2: group member to number. 3: total group members.
    6794 #: bp-groups/bp-groups-admin.php:1302
     6794#: bp-groups/bp-groups-admin.php:1303
    67956795msgctxt "Group members pagination in group admin"
    67966796msgid "Viewing %1$s - %2$s of %3$s member"
    … …  
    68006800
    68016801#. Translators: 1: user_login, 2: user_email.
    6802 #: bp-groups/bp-groups-admin.php:1372
     6802#: bp-groups/bp-groups-admin.php:1373
    68036803msgid "%1$s (%2$s)"
    68046804msgstr ""
    68056805
    6806 #: bp-groups/bp-groups-admin.php:1465
     6806#: bp-groups/bp-groups-admin.php:1466
    68076807msgid "There was an error while changing group type. Please try again."
    68086808msgstr ""
    68096809
    6810 #: bp-groups/bp-groups-admin.php:1468
     6810#: bp-groups/bp-groups-admin.php:1469
    68116811msgid "Group type was changed successfully."
    68126812msgstr ""
    68136813
    6814 #: bp-groups/bp-groups-admin.php:1508
     6814#: bp-groups/bp-groups-admin.php:1509
    68156815msgid "Please define the Group Type ID field."
    68166816msgstr ""
    68176817
    6818 #: bp-groups/bp-groups-admin.php:1509
     6818#: bp-groups/bp-groups-admin.php:1510
    68196819msgid "Group type successfully added."
    68206820msgstr ""
    68216821
    6822 #: bp-groups/bp-groups-admin.php:1510
     6822#: bp-groups/bp-groups-admin.php:1511
    68236823msgid "Sorry, there was an error and the Group type wasn’t added."
    68246824msgstr ""
    68256825
    6826 #: bp-groups/bp-groups-admin.php:1512
     6826#: bp-groups/bp-groups-admin.php:1513
    68276827msgid "Group type successfully updated."
    68286828msgstr ""
    68296829
    6830 #: bp-groups/bp-groups-admin.php:1513
     6830#: bp-groups/bp-groups-admin.php:1514
    68316831msgid "Sorry, this Group type already exists."
    68326832msgstr ""
    68336833
    6834 #: bp-groups/bp-groups-admin.php:1514
     6834#: bp-groups/bp-groups-admin.php:1515
    68356835msgid "Sorry, the Group type was not deleted: it does not exist."
    68366836msgstr ""
    68376837
    6838 #: bp-groups/bp-groups-admin.php:1515
     6838#: bp-groups/bp-groups-admin.php:1516
    68396839msgid "Sorry, This Group type is registered using code, deactivate the plugin or remove the custom code before trying to delete it again."
    68406840msgstr ""
    68416841
    6842 #: bp-groups/bp-groups-admin.php:1516
     6842#: bp-groups/bp-groups-admin.php:1517
    68436843msgid "Sorry, there was an error while trying to delete this Group type."
    68446844msgstr ""
    68456845
    6846 #: bp-groups/bp-groups-admin.php:1517
     6846#: bp-groups/bp-groups-admin.php:1518
    68476847msgid "Group type successfully deleted."
    68486848msgstr ""
    68496849
    6850 #: bp-groups/bp-groups-admin.php:1518
     6850#: bp-groups/bp-groups-admin.php:1519
    68516851msgid "Group type could not be updated due to missing required information."
    68526852msgstr ""
    … …  
    74617461#: bp-groups/bp-groups-template.php:3535
    74627462#: bp-groups/bp-groups-template.php:3536
    7463 #: bp-templates/bp-legacy/buddypress-functions.php:1653
    7464 #: bp-templates/bp-legacy/buddypress-functions.php:1670
     7463#: bp-templates/bp-legacy/buddypress-functions.php:1666
     7464#: bp-templates/bp-legacy/buddypress-functions.php:1683
    74657465msgid "Leave Group"
    74667466msgstr ""
    … …  
    74757475#: bp-groups/bp-groups-template.php:3587
    74767476#: bp-groups/bp-groups-template.php:3588
    7477 #: bp-templates/bp-legacy/buddypress-functions.php:1697
     7477#: bp-templates/bp-legacy/buddypress-functions.php:1710
    74787478msgid "Join Group"
    74797479msgstr ""
    … …  
    74817481#: bp-groups/bp-groups-template.php:3624
    74827482#: bp-groups/bp-groups-template.php:3625
    7483 #: bp-templates/bp-legacy/buddypress-functions.php:1680
     7483#: bp-templates/bp-legacy/buddypress-functions.php:1693
    74847484msgid "Request Sent"
    74857485msgstr ""
    … …  
    1172311723
    1172411724#: bp-templates/bp-legacy/buddypress-functions.php:310
    11725 #: bp-templates/bp-legacy/buddypress-functions.php:1308
    11726 #: bp-templates/bp-legacy/buddypress-functions.php:1339
     11725#: bp-templates/bp-legacy/buddypress-functions.php:1316
     11726#: bp-templates/bp-legacy/buddypress-functions.php:1347
    1172711727#: bp-templates/bp-legacy/buddypress/activity/entry.php:82
    1172811728msgid "Favorite"
    … …  
    1174011740
    1174111741#: bp-templates/bp-legacy/buddypress-functions.php:313
    11742 #: bp-templates/bp-legacy/buddypress-functions.php:1306
    11743 #: bp-templates/bp-legacy/buddypress-functions.php:1341
     11742#: bp-templates/bp-legacy/buddypress-functions.php:1314
     11743#: bp-templates/bp-legacy/buddypress-functions.php:1349
    1174411744#: bp-templates/bp-legacy/buddypress/activity/entry.php:86
    1174511745#: bp-templates/bp-nouveau/includes/activity/ajax.php:111
    … …  
    1177211772msgstr ""
    1177311773
    11774 #: bp-templates/bp-legacy/buddypress-functions.php:1042
    11775 #: bp-templates/bp-nouveau/includes/activity/ajax.php:579
     11774#: bp-templates/bp-legacy/buddypress-functions.php:1050
     11775#: bp-templates/bp-nouveau/includes/activity/ajax.php:584
    1177611776msgid "There was a problem posting your update. Please try again."
    1177711777msgstr ""
    1177811778
    11779 #: bp-templates/bp-legacy/buddypress-functions.php:1180
    11780 #: bp-templates/bp-legacy/buddypress-functions.php:1220
     11779#: bp-templates/bp-legacy/buddypress-functions.php:1188
     11780#: bp-templates/bp-legacy/buddypress-functions.php:1228
    1178111781#: bp-templates/bp-nouveau/includes/activity/ajax.php:205
    1178211782msgid "There was a problem when deleting. Please try again."
    1178311783msgstr ""
    1178411784
    11785 #: bp-templates/bp-legacy/buddypress-functions.php:1455
     11785#: bp-templates/bp-legacy/buddypress-functions.php:1468
    1178611786#: bp-templates/bp-legacy/buddypress/groups/create.php:395
    1178711787#: bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php:75
    … …  
    1179011790
    1179111791#. translators: %s: user link
    11792 #: bp-templates/bp-legacy/buddypress-functions.php:1460
     11792#: bp-templates/bp-legacy/buddypress-functions.php:1473
    1179311793msgid "%s has previously requested to join this group. Sending an invitation will automatically add the member to the group."
    1179411794msgstr ""
    1179511795
    11796 #: bp-templates/bp-legacy/buddypress-functions.php:1503
     11796#: bp-templates/bp-legacy/buddypress-functions.php:1516
    1179711797#: bp-templates/bp-nouveau/includes/friends/ajax.php:107
    1179811798msgid "No member found by that ID."
    1179911799msgstr ""
    1180011800
    11801 #: bp-templates/bp-legacy/buddypress-functions.php:1522
     11801#: bp-templates/bp-legacy/buddypress-functions.php:1535
    1180211802msgid " Friendship could not be requested."
    1180311803msgstr ""
    1180411804
    11805 #: bp-templates/bp-legacy/buddypress-functions.php:1536
     11805#: bp-templates/bp-legacy/buddypress-functions.php:1549
    1180611806#: bp-templates/bp-nouveau/includes/friends/ajax.php:210
    1180711807msgid "Friendship request could not be cancelled."
    1180811808msgstr ""
    1180911809
    11810 #: bp-templates/bp-legacy/buddypress-functions.php:1541
     11810#: bp-templates/bp-legacy/buddypress-functions.php:1554
    1181111811#: bp-templates/bp-nouveau/includes/friends/ajax.php:220
    1181211812msgid "Request Pending"
    1181311813msgstr ""
    1181411814
    11815 #: bp-templates/bp-legacy/buddypress-functions.php:1560
     11815#: bp-templates/bp-legacy/buddypress-functions.php:1573
    1181611816#: bp-templates/bp-nouveau/includes/friends/ajax.php:121
    1181711817msgid "There was a problem accepting that request. Please try again."
    1181811818msgstr ""
    1181911819
    11820 #: bp-templates/bp-legacy/buddypress-functions.php:1579
     11820#: bp-templates/bp-legacy/buddypress-functions.php:1592
    1182111821#: bp-templates/bp-nouveau/includes/friends/ajax.php:145
    1182211822msgid "There was a problem rejecting that request. Please try again."
    1182311823msgstr ""
    1182411824
    11825 #: bp-templates/bp-legacy/buddypress-functions.php:1629
    11826 #: bp-templates/bp-legacy/buddypress-functions.php:1637
    11827 #: bp-templates/bp-legacy/buddypress-functions.php:1644
     11825#: 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
    1182811828msgid "Error joining group"
    1182911829msgstr ""
    1183011830
    11831 #: bp-templates/bp-legacy/buddypress-functions.php:1661
    11832 #: bp-templates/bp-legacy/buddypress-functions.php:1678
     11831#: bp-templates/bp-legacy/buddypress-functions.php:1674
     11832#: bp-templates/bp-legacy/buddypress-functions.php:1691
    1183311833msgid "Error requesting membership"
    1183411834msgstr ""
    1183511835
    11836 #: bp-templates/bp-legacy/buddypress-functions.php:1688
     11836#: bp-templates/bp-legacy/buddypress-functions.php:1701
    1183711837msgid "Error leaving group"
    1183811838msgstr ""
    1183911839
    11840 #: bp-templates/bp-legacy/buddypress-functions.php:1727
     11840#: bp-templates/bp-legacy/buddypress-functions.php:1740
    1184111841msgid "There was a problem closing the notice."
    1184211842msgstr ""
    1184311843
    11844 #: bp-templates/bp-legacy/buddypress-functions.php:1754
    11845 #: bp-templates/bp-legacy/buddypress-functions.php:1794
     11844#: bp-templates/bp-legacy/buddypress-functions.php:1767
     11845#: bp-templates/bp-legacy/buddypress-functions.php:1807
    1184611846msgid "There was a problem sending that reply. Please try again."
    1184711847msgstr ""
    … …  
    1379913799
    1380013800#: bp-templates/bp-nouveau/includes/activity/ajax.php:293
     13801#: bp-templates/bp-nouveau/includes/ajax.php:23
    1380113802msgid "There was a problem displaying the content. Please try again."
    1380213803msgstr ""
    1380313804
    13804 #: bp-templates/bp-nouveau/includes/activity/ajax.php:493
     13805#: bp-templates/bp-nouveau/includes/activity/ajax.php:498
    1380513806msgid "No activities were found."
    1380613807msgstr ""
    1380713808
    13808 #: bp-templates/bp-nouveau/includes/activity/ajax.php:596
     13809#: bp-templates/bp-nouveau/includes/activity/ajax.php:601
    1380913810msgid "Update posted."
    1381013811msgstr ""
    1381113812
    13812 #: bp-templates/bp-nouveau/includes/activity/ajax.php:596
     13813#: bp-templates/bp-nouveau/includes/activity/ajax.php:601
    1381313814msgid "View activity."
    1381413815msgstr ""
    1381513816
    13816 #: bp-templates/bp-nouveau/includes/activity/ajax.php:624
     13817#: bp-templates/bp-nouveau/includes/activity/ajax.php:629
    1381713818msgid "There was a problem marking this activity as spam. Please try again."
    1381813819msgstr ""
    1381913820
    13820 #: bp-templates/bp-nouveau/includes/activity/ajax.php:673
     13821#: bp-templates/bp-nouveau/includes/activity/ajax.php:678
    1382113822msgid "This activity has been marked as spam and is no longer visible."
    1382213823msgstr ""
  • buddypress/tags/14.5.2/class-buddypress.php

    r3599376 r3627603  
    461461                /** Versions */
    462462
    463                 $this->version    = '14.5.0';
     463                $this->version    = '14.5.2';
    464464                $this->db_version = 13906;
    465465
  • buddypress/tags/14.5.2/readme.txt

    r3599376 r3627603  
    88Requires at least: 6.1
    99Tested up to:      7.0
    10 Stable tag:        14.5.0
     10Stable tag:        14.5.2
    1111
    1212Get together safely, in your own way, in WordPress.
    … …  
    131131== Upgrade Notice ==
    132132
    133 = 14.5.0=
     133= 14.5.2 =
     134See: https://codex.buddypress.org/releases/version-14-5-2/
     135
     136= 14.5.0 =
    134137See: https://codex.buddypress.org/releases/version-14-5-0/
    135138
    136 = 14.4.0=
     139= 14.4.0 =
    137140See: https://codex.buddypress.org/releases/version-14-4-0/
    138141
    … …  
    221224== Changelog ==
    222225
    223 = 14.5.0=
     226= 14.5.2 =
     227See: https://codex.buddypress.org/releases/version-14-5-2/
     228
     229= 14.5.0 =
    224230See: https://codex.buddypress.org/releases/version-14-5-0/
    225231
    … …  
    246252
    247253= 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.
     254Security fix: The Members block was vulnerable to a Stored Cross-Site Scripting. Discovered by Wesley (wcraft) from the Wordfence organization.
    249255See: https://codex.buddypress.org/releases/version-12-5-1/
    250256
    … …  
    253259
    254260= 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.
     261Security 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.
    256262See: https://codex.buddypress.org/releases/version-12-4-1/
    257263
  • buddypress/trunk/bp-activity/bp-activity-functions.php

    r3259420 r3627603  
    33543354        }
    33553355
     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
    33563361        // If activity is from a group, do extra cap checks.
    33573362        if ( bp_is_active( 'groups' ) && buddypress()->groups->id === $activity->component && bp_current_user_can( 'bp_view', array( 'bp_component' => 'groups' ) ) ) {
    … …  
    33813386        if ( bp_current_user_can( 'bp_moderate' ) ) {
    33823387                $retval = true;
     3388        }
     3389
     3390        // Activity comments as parent are not allowed.
     3391        if ( 'activity_comment' === $activity->type ) {
     3392                $retval = false;
    33833393        }
    33843394
  • buddypress/trunk/bp-activity/classes/class-bp-activity-oembed-extension.php

    r3079691 r3627603  
    123123
    124124                        // 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 ) ) {
    126126                                return $activity_id;
    127127                        }
  • buddypress/trunk/bp-core/bp-core-template-loader.php

    r3599376 r3627603  
    654654 *
    655655 * @since 12.0.0
     656 * @since 14.5.1 Make nullable type parameter compatible with PHP 8.4.
    656657 *
    657658 * @param string   $bp_request A specific BuddyPress request.
    … …  
    659660 * @return true
    660661 */
    661 function bp_reset_query( $bp_request = '', WP_Query $query = null ) {
     662function bp_reset_query( $bp_request = '', $query = null ) {
    662663        global $wp;
    663664
  • buddypress/trunk/bp-groups/bp-groups-admin.php

    r3599376 r3627603  
    11631163 *
    11641164 * @since 2.6.0
     1165 * @since 14.5.1 Make nullable type parameter compatible with PHP 8.4.
    11651166 *
    11661167 * @param BP_Groups_Group|null $group The BP_Groups_Group object corresponding to the group being edited.
    11671168 */
    1168 function bp_groups_admin_edit_metabox_group_type( BP_Groups_Group $group = null ) {
     1169function bp_groups_admin_edit_metabox_group_type( $group = null ) {
    11691170
    11701171        // Bail if no group ID.
  • buddypress/trunk/bp-loader.php

    r3599376 r3627603  
    2222 * Requires PHP:      5.6
    2323 * Requires at least: 6.1
    24  * Version:           14.5.0
     24 * Version:           14.5.2
    2525 */
    2626
  • buddypress/trunk/bp-templates/bp-legacy/buddypress-functions.php

    r3599376 r3627603  
    859859        }
    860860
     861        if ( ! bp_current_user_can( 'bp_view', array( 'bp_component' => $object ) ) ) {
     862                return;
     863        }
     864
    861865        /**
    862866         * AJAX requests happen too early to be seen by bp_update_is_directory()
    … …  
    925929function bp_legacy_theme_activity_template_loader() {
    926930        if ( ! bp_is_post_request() ) {
     931                return;
     932        }
     933
     934        if ( ! bp_current_user_can( 'bp_view', array( 'bp_component' => 'activity' ) ) ) {
    927935                return;
    928936        }
    … …  
    13671375        if ( empty( $activity ) ) {
    13681376                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;
    13691382        }
    13701383
  • buddypress/trunk/bp-templates/bp-nouveau/includes/activity/ajax.php

    r3259420 r3627603  
    317317
    318318        $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        }
    319324
    320325        /**
  • buddypress/trunk/bp-templates/bp-nouveau/includes/ajax.php

    r2947464 r3627603  
    1818 */
    1919function 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
    2027        if ( ! bp_is_post_request() ) {
    21                 wp_send_json_error();
     28                wp_send_json_error( $response );
    2229        }
    2330
    … …  
    3845        // Bail if object is not an active component to prevent arbitrary file inclusion.
    3946        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 );
    4152        }
    4253
    4354        // Nonce check!
    4455        if ( ! $post_vars['nonce'] || ! wp_verify_nonce( $post_vars['nonce'], 'bp_nouveau_' . $object ) ) {
    45                 wp_send_json_error();
     56                wp_send_json_error( $response );
    4657        }
    4758
    … …  
    106117        }
    107118
     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
    108137        // Get the template path based on the 'template' variable via the AJAX request.
    109138        $template = '';
  • buddypress/trunk/bp-templates/bp-nouveau/js/buddypress-nouveau.js

    r2814648 r3627603  
    854854                                                                                  .addClass( 'description' )
    855855                                                );
     856
     857                                                // Reinitialize after adding #password-warning.
     858                                                passwordWarningContainer = $( currentForm ).find( '#password-warning' );
    856859                                        }
     860
     861                                        // Ensure we override user-profile.js.
     862                                        setTimeout( function() {
     863                                                $( '#submit' ).prop( 'disabled', true );
     864                                        }, 1 );
    857865
    858866                                        $( 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,"&lt;").replace(/>/g,"&gt;")),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+"&nbsp;").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);
     1window.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,"&lt;").replace(/>/g,"&gt;")),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+"&nbsp;").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  
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"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"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.11.0\n"
    … …  
    124124#: bp-activity/classes/class-bp-activity-activity.php:299
    125125#: bp-groups/bp-groups-activity.php:591
    126 #: bp-templates/bp-legacy/buddypress-functions.php:1005
     126#: bp-templates/bp-legacy/buddypress-functions.php:1013
    127127msgid "Please enter some content to post."
    128128msgstr ""
    … …  
    137137
    138138#: bp-activity/actions/reply.php:54
    139 #: bp-templates/bp-legacy/buddypress-functions.php:1096
    140 #: bp-templates/bp-nouveau/includes/activity/ajax.php:381
     139#: bp-templates/bp-legacy/buddypress-functions.php:1104
     140#: bp-templates/bp-nouveau/includes/activity/ajax.php:386
    141141msgid "Please do not leave the comment area blank."
    142142msgstr ""
    … …  
    698698
    699699#: bp-activity/bp-activity-functions.php:2818
    700 #: bp-templates/bp-legacy/buddypress-functions.php:1093
    701 #: bp-templates/bp-nouveau/includes/activity/ajax.php:360
     700#: bp-templates/bp-legacy/buddypress-functions.php:1101
     701#: bp-templates/bp-nouveau/includes/activity/ajax.php:365
    702702msgid "There was an error posting your reply. Please try again."
    703703msgstr ""
    … …  
    707707msgstr ""
    708708
    709 #: bp-activity/bp-activity-functions.php:3466
     709#: bp-activity/bp-activity-functions.php:3476
    710710msgid "Thumbnail"
    711711msgstr ""
    712712
    713 #: bp-activity/bp-activity-functions.php:3545
     713#: bp-activity/bp-activity-functions.php:3555
    714714#: bp-core/bp-core-template.php:774
    715715msgid " [&hellip;]"
    716716msgstr ""
    717717
    718 #: bp-activity/bp-activity-functions.php:4476
     718#: bp-activity/bp-activity-functions.php:4486
    719719msgid "Activity Date"
    720720msgstr ""
    721721
    722 #: bp-activity/bp-activity-functions.php:4480
     722#: bp-activity/bp-activity-functions.php:4490
    723723msgid "Activity Description"
    724724msgstr ""
    725725
    726 #: bp-activity/bp-activity-functions.php:4484
     726#: bp-activity/bp-activity-functions.php:4494
    727727msgid "Activity URL"
    728728msgstr ""
    729729
    730 #: bp-activity/bp-activity-functions.php:4491
     730#: bp-activity/bp-activity-functions.php:4501
    731731msgid "Activity Content"
    732732msgstr ""
    733733
    734 #: bp-activity/bp-activity-functions.php:4512
     734#: bp-activity/bp-activity-functions.php:4522
    735735#: bp-activity/bp-activity-notifications.php:401
    736736#: bp-activity/classes/class-bp-activity-oembed-extension.php:146
    … …  
    46024602#: bp-members/bp-members-membership-requests.php:463
    46034603#: bp-members/classes/class-bp-registration-theme-compat.php:101
    4604 #: bp-templates/bp-legacy/buddypress-functions.php:1706
     4604#: bp-templates/bp-legacy/buddypress-functions.php:1719
    46054605msgid "Request Membership"
    46064606msgstr ""
    … …  
    58165816
    58175817#: bp-friends/actions/remove-friend.php:38
    5818 #: bp-templates/bp-legacy/buddypress-functions.php:1511
     5818#: bp-templates/bp-legacy/buddypress-functions.php:1524
    58195819msgid "Friendship could not be canceled."
    58205820msgstr ""
    … …  
    60286028
    60296029#: bp-friends/bp-friends-template.php:245
    6030 #: bp-templates/bp-legacy/buddypress-functions.php:1525
     6030#: bp-templates/bp-legacy/buddypress-functions.php:1538
    60316031msgid "Cancel Friendship Request"
    60326032msgstr ""
    … …  
    60486048#: bp-friends/bp-friends-template.php:302
    60496049#: bp-friends/bp-friends-template.php:303
    6050 #: bp-templates/bp-legacy/buddypress-functions.php:1514
    6051 #: bp-templates/bp-legacy/buddypress-functions.php:1534
     6050#: bp-templates/bp-legacy/buddypress-functions.php:1527
     6051#: bp-templates/bp-legacy/buddypress-functions.php:1547
    60526052msgid "Add Friend"
    60536053msgstr ""
    … …  
    67696769
    67706770#. translators: accessibility text
    6771 #: bp-groups/bp-groups-admin.php:1183
     6771#: bp-groups/bp-groups-admin.php:1184
    67726772msgid "Select group type"
    67736773msgstr ""
    67746774
    6775 #: bp-groups/bp-groups-admin.php:1194
     6775#: bp-groups/bp-groups-admin.php:1195
    67766776msgid "(Not available on the front end)"
    67776777msgstr ""
    67786778
    6779 #: bp-groups/bp-groups-admin.php:1290
     6779#: bp-groups/bp-groups-admin.php:1291
    67806780msgid "&laquo;"
    67816781msgstr ""
    67826782
    6783 #: bp-groups/bp-groups-admin.php:1291
     6783#: bp-groups/bp-groups-admin.php:1292
    67846784msgid "&raquo;"
    67856785msgstr ""
    67866786
    6787 #: bp-groups/bp-groups-admin.php:1298
     6787#: bp-groups/bp-groups-admin.php:1299
    67886788#: bp-groups/bp-groups-template.php:4627
    67896789#: bp-members/bp-members-template.php:538
    … …  
    67926792
    67936793#. translators: 1: group member from number. 2: group member to number. 3: total group members.
    6794 #: bp-groups/bp-groups-admin.php:1302
     6794#: bp-groups/bp-groups-admin.php:1303
    67956795msgctxt "Group members pagination in group admin"
    67966796msgid "Viewing %1$s - %2$s of %3$s member"
    … …  
    68006800
    68016801#. Translators: 1: user_login, 2: user_email.
    6802 #: bp-groups/bp-groups-admin.php:1372
     6802#: bp-groups/bp-groups-admin.php:1373
    68036803msgid "%1$s (%2$s)"
    68046804msgstr ""
    68056805
    6806 #: bp-groups/bp-groups-admin.php:1465
     6806#: bp-groups/bp-groups-admin.php:1466
    68076807msgid "There was an error while changing group type. Please try again."
    68086808msgstr ""
    68096809
    6810 #: bp-groups/bp-groups-admin.php:1468
     6810#: bp-groups/bp-groups-admin.php:1469
    68116811msgid "Group type was changed successfully."
    68126812msgstr ""
    68136813
    6814 #: bp-groups/bp-groups-admin.php:1508
     6814#: bp-groups/bp-groups-admin.php:1509
    68156815msgid "Please define the Group Type ID field."
    68166816msgstr ""
    68176817
    6818 #: bp-groups/bp-groups-admin.php:1509
     6818#: bp-groups/bp-groups-admin.php:1510
    68196819msgid "Group type successfully added."
    68206820msgstr ""
    68216821
    6822 #: bp-groups/bp-groups-admin.php:1510
     6822#: bp-groups/bp-groups-admin.php:1511
    68236823msgid "Sorry, there was an error and the Group type wasn’t added."
    68246824msgstr ""
    68256825
    6826 #: bp-groups/bp-groups-admin.php:1512
     6826#: bp-groups/bp-groups-admin.php:1513
    68276827msgid "Group type successfully updated."
    68286828msgstr ""
    68296829
    6830 #: bp-groups/bp-groups-admin.php:1513
     6830#: bp-groups/bp-groups-admin.php:1514
    68316831msgid "Sorry, this Group type already exists."
    68326832msgstr ""
    68336833
    6834 #: bp-groups/bp-groups-admin.php:1514
     6834#: bp-groups/bp-groups-admin.php:1515
    68356835msgid "Sorry, the Group type was not deleted: it does not exist."
    68366836msgstr ""
    68376837
    6838 #: bp-groups/bp-groups-admin.php:1515
     6838#: bp-groups/bp-groups-admin.php:1516
    68396839msgid "Sorry, This Group type is registered using code, deactivate the plugin or remove the custom code before trying to delete it again."
    68406840msgstr ""
    68416841
    6842 #: bp-groups/bp-groups-admin.php:1516
     6842#: bp-groups/bp-groups-admin.php:1517
    68436843msgid "Sorry, there was an error while trying to delete this Group type."
    68446844msgstr ""
    68456845
    6846 #: bp-groups/bp-groups-admin.php:1517
     6846#: bp-groups/bp-groups-admin.php:1518
    68476847msgid "Group type successfully deleted."
    68486848msgstr ""
    68496849
    6850 #: bp-groups/bp-groups-admin.php:1518
     6850#: bp-groups/bp-groups-admin.php:1519
    68516851msgid "Group type could not be updated due to missing required information."
    68526852msgstr ""
    … …  
    74617461#: bp-groups/bp-groups-template.php:3535
    74627462#: bp-groups/bp-groups-template.php:3536
    7463 #: bp-templates/bp-legacy/buddypress-functions.php:1653
    7464 #: bp-templates/bp-legacy/buddypress-functions.php:1670
     7463#: bp-templates/bp-legacy/buddypress-functions.php:1666
     7464#: bp-templates/bp-legacy/buddypress-functions.php:1683
    74657465msgid "Leave Group"
    74667466msgstr ""
    … …  
    74757475#: bp-groups/bp-groups-template.php:3587
    74767476#: bp-groups/bp-groups-template.php:3588
    7477 #: bp-templates/bp-legacy/buddypress-functions.php:1697
     7477#: bp-templates/bp-legacy/buddypress-functions.php:1710
    74787478msgid "Join Group"
    74797479msgstr ""
    … …  
    74817481#: bp-groups/bp-groups-template.php:3624
    74827482#: bp-groups/bp-groups-template.php:3625
    7483 #: bp-templates/bp-legacy/buddypress-functions.php:1680
     7483#: bp-templates/bp-legacy/buddypress-functions.php:1693
    74847484msgid "Request Sent"
    74857485msgstr ""
    … …  
    1172311723
    1172411724#: bp-templates/bp-legacy/buddypress-functions.php:310
    11725 #: bp-templates/bp-legacy/buddypress-functions.php:1308
    11726 #: bp-templates/bp-legacy/buddypress-functions.php:1339
     11725#: bp-templates/bp-legacy/buddypress-functions.php:1316
     11726#: bp-templates/bp-legacy/buddypress-functions.php:1347
    1172711727#: bp-templates/bp-legacy/buddypress/activity/entry.php:82
    1172811728msgid "Favorite"
    … …  
    1174011740
    1174111741#: bp-templates/bp-legacy/buddypress-functions.php:313
    11742 #: bp-templates/bp-legacy/buddypress-functions.php:1306
    11743 #: bp-templates/bp-legacy/buddypress-functions.php:1341
     11742#: bp-templates/bp-legacy/buddypress-functions.php:1314
     11743#: bp-templates/bp-legacy/buddypress-functions.php:1349
    1174411744#: bp-templates/bp-legacy/buddypress/activity/entry.php:86
    1174511745#: bp-templates/bp-nouveau/includes/activity/ajax.php:111
    … …  
    1177211772msgstr ""
    1177311773
    11774 #: bp-templates/bp-legacy/buddypress-functions.php:1042
    11775 #: bp-templates/bp-nouveau/includes/activity/ajax.php:579
     11774#: bp-templates/bp-legacy/buddypress-functions.php:1050
     11775#: bp-templates/bp-nouveau/includes/activity/ajax.php:584
    1177611776msgid "There was a problem posting your update. Please try again."
    1177711777msgstr ""
    1177811778
    11779 #: bp-templates/bp-legacy/buddypress-functions.php:1180
    11780 #: bp-templates/bp-legacy/buddypress-functions.php:1220
     11779#: bp-templates/bp-legacy/buddypress-functions.php:1188
     11780#: bp-templates/bp-legacy/buddypress-functions.php:1228
    1178111781#: bp-templates/bp-nouveau/includes/activity/ajax.php:205
    1178211782msgid "There was a problem when deleting. Please try again."
    1178311783msgstr ""
    1178411784
    11785 #: bp-templates/bp-legacy/buddypress-functions.php:1455
     11785#: bp-templates/bp-legacy/buddypress-functions.php:1468
    1178611786#: bp-templates/bp-legacy/buddypress/groups/create.php:395
    1178711787#: bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php:75
    … …  
    1179011790
    1179111791#. translators: %s: user link
    11792 #: bp-templates/bp-legacy/buddypress-functions.php:1460
     11792#: bp-templates/bp-legacy/buddypress-functions.php:1473
    1179311793msgid "%s has previously requested to join this group. Sending an invitation will automatically add the member to the group."
    1179411794msgstr ""
    1179511795
    11796 #: bp-templates/bp-legacy/buddypress-functions.php:1503
     11796#: bp-templates/bp-legacy/buddypress-functions.php:1516
    1179711797#: bp-templates/bp-nouveau/includes/friends/ajax.php:107
    1179811798msgid "No member found by that ID."
    1179911799msgstr ""
    1180011800
    11801 #: bp-templates/bp-legacy/buddypress-functions.php:1522
     11801#: bp-templates/bp-legacy/buddypress-functions.php:1535
    1180211802msgid " Friendship could not be requested."
    1180311803msgstr ""
    1180411804
    11805 #: bp-templates/bp-legacy/buddypress-functions.php:1536
     11805#: bp-templates/bp-legacy/buddypress-functions.php:1549
    1180611806#: bp-templates/bp-nouveau/includes/friends/ajax.php:210
    1180711807msgid "Friendship request could not be cancelled."
    1180811808msgstr ""
    1180911809
    11810 #: bp-templates/bp-legacy/buddypress-functions.php:1541
     11810#: bp-templates/bp-legacy/buddypress-functions.php:1554
    1181111811#: bp-templates/bp-nouveau/includes/friends/ajax.php:220
    1181211812msgid "Request Pending"
    1181311813msgstr ""
    1181411814
    11815 #: bp-templates/bp-legacy/buddypress-functions.php:1560
     11815#: bp-templates/bp-legacy/buddypress-functions.php:1573
    1181611816#: bp-templates/bp-nouveau/includes/friends/ajax.php:121
    1181711817msgid "There was a problem accepting that request. Please try again."
    1181811818msgstr ""
    1181911819
    11820 #: bp-templates/bp-legacy/buddypress-functions.php:1579
     11820#: bp-templates/bp-legacy/buddypress-functions.php:1592
    1182111821#: bp-templates/bp-nouveau/includes/friends/ajax.php:145
    1182211822msgid "There was a problem rejecting that request. Please try again."
    1182311823msgstr ""
    1182411824
    11825 #: bp-templates/bp-legacy/buddypress-functions.php:1629
    11826 #: bp-templates/bp-legacy/buddypress-functions.php:1637
    11827 #: bp-templates/bp-legacy/buddypress-functions.php:1644
     11825#: 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
    1182811828msgid "Error joining group"
    1182911829msgstr ""
    1183011830
    11831 #: bp-templates/bp-legacy/buddypress-functions.php:1661
    11832 #: bp-templates/bp-legacy/buddypress-functions.php:1678
     11831#: bp-templates/bp-legacy/buddypress-functions.php:1674
     11832#: bp-templates/bp-legacy/buddypress-functions.php:1691
    1183311833msgid "Error requesting membership"
    1183411834msgstr ""
    1183511835
    11836 #: bp-templates/bp-legacy/buddypress-functions.php:1688
     11836#: bp-templates/bp-legacy/buddypress-functions.php:1701
    1183711837msgid "Error leaving group"
    1183811838msgstr ""
    1183911839
    11840 #: bp-templates/bp-legacy/buddypress-functions.php:1727
     11840#: bp-templates/bp-legacy/buddypress-functions.php:1740
    1184111841msgid "There was a problem closing the notice."
    1184211842msgstr ""
    1184311843
    11844 #: bp-templates/bp-legacy/buddypress-functions.php:1754
    11845 #: bp-templates/bp-legacy/buddypress-functions.php:1794
     11844#: bp-templates/bp-legacy/buddypress-functions.php:1767
     11845#: bp-templates/bp-legacy/buddypress-functions.php:1807
    1184611846msgid "There was a problem sending that reply. Please try again."
    1184711847msgstr ""
    … …  
    1379913799
    1380013800#: bp-templates/bp-nouveau/includes/activity/ajax.php:293
     13801#: bp-templates/bp-nouveau/includes/ajax.php:23
    1380113802msgid "There was a problem displaying the content. Please try again."
    1380213803msgstr ""
    1380313804
    13804 #: bp-templates/bp-nouveau/includes/activity/ajax.php:493
     13805#: bp-templates/bp-nouveau/includes/activity/ajax.php:498
    1380513806msgid "No activities were found."
    1380613807msgstr ""
    1380713808
    13808 #: bp-templates/bp-nouveau/includes/activity/ajax.php:596
     13809#: bp-templates/bp-nouveau/includes/activity/ajax.php:601
    1380913810msgid "Update posted."
    1381013811msgstr ""
    1381113812
    13812 #: bp-templates/bp-nouveau/includes/activity/ajax.php:596
     13813#: bp-templates/bp-nouveau/includes/activity/ajax.php:601
    1381313814msgid "View activity."
    1381413815msgstr ""
    1381513816
    13816 #: bp-templates/bp-nouveau/includes/activity/ajax.php:624
     13817#: bp-templates/bp-nouveau/includes/activity/ajax.php:629
    1381713818msgid "There was a problem marking this activity as spam. Please try again."
    1381813819msgstr ""
    1381913820
    13820 #: bp-templates/bp-nouveau/includes/activity/ajax.php:673
     13821#: bp-templates/bp-nouveau/includes/activity/ajax.php:678
    1382113822msgid "This activity has been marked as spam and is no longer visible."
    1382213823msgstr ""
  • buddypress/trunk/class-buddypress.php

    r3599376 r3627603  
    461461                /** Versions */
    462462
    463                 $this->version    = '14.5.0';
     463                $this->version    = '14.5.2';
    464464                $this->db_version = 13906;
    465465
  • buddypress/trunk/readme.txt

    r3599376 r3627603  
    88Requires at least: 6.1
    99Tested up to:      7.0
    10 Stable tag:        14.5.0
     10Stable tag:        14.5.2
    1111
    1212Get together safely, in your own way, in WordPress.
    … …  
    131131== Upgrade Notice ==
    132132
    133 = 14.5.0=
     133= 14.5.2 =
     134See: https://codex.buddypress.org/releases/version-14-5-2/
     135
     136= 14.5.0 =
    134137See: https://codex.buddypress.org/releases/version-14-5-0/
    135138
    136 = 14.4.0=
     139= 14.4.0 =
    137140See: https://codex.buddypress.org/releases/version-14-4-0/
    138141
    … …  
    221224== Changelog ==
    222225
    223 = 14.5.0=
     226= 14.5.2 =
     227See: https://codex.buddypress.org/releases/version-14-5-2/
     228
     229= 14.5.0 =
    224230See: https://codex.buddypress.org/releases/version-14-5-0/
    225231
    … …  
    246252
    247253= 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.
     254Security fix: The Members block was vulnerable to a Stored Cross-Site Scripting. Discovered by Wesley (wcraft) from the Wordfence organization.
    249255See: https://codex.buddypress.org/releases/version-12-5-1/
    250256
    … …  
    253259
    254260= 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.
     261Security 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.
    256262See: https://codex.buddypress.org/releases/version-12-4-1/
    257263
Note: See TracChangeset for help on using the changeset viewer.