Skip to:
Content

BuddyPress.org

Changeset 12790


Ignore:
Timestamp:
11/19/2020 12:15:52 PM (9 months ago)
Author:
imath
Message:

BP Blocks: improve the Activity embed block error message

As private/hidden group activities cannot are not embeddable. The error message has been improved to inform the activity URL is not a public activity permalink

Fixes #8397

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/js/blocks/embed-activity.js

    r12763 r12790  
    321321    }, createElement("p", {
    322322      className: "components-placeholder__error"
    323     }, __('The URL you provided is not a permalink to a BuddyPress Activity. Please use another URL.', 'buddypress'))));
     323    }, __('The URL you provided is not a permalink to a public BuddyPress Activity. Please use another URL.', 'buddypress'))));
    324324  }
    325325
  • trunk/src/js/bp-activity/js/blocks/embed-activity/edit.js

    r12763 r12790  
    128128                >
    129129                    <p className="components-placeholder__error">
    130                         { __( 'The URL you provided is not a permalink to a BuddyPress Activity. Please use another URL.', 'buddypress' ) }
     130                        { __( 'The URL you provided is not a permalink to a public BuddyPress Activity. Please use another URL.', 'buddypress' ) }
    131131                    </p>
    132132                </Placeholder>
Note: See TracChangeset for help on using the changeset viewer.