1
0
Fork 0
mirror of https://github.com/buddypress/buddypress.git synced 2026-07-23 21:06:56 +08:00
buddypress/tests/phpunit/testcases/core
Mathieu Viet 33c6c87f79 Silently introduce block support for Activity content
Functions and filters bringing support for Block based activity content are disabled by default. We're adding these so that it's easier to progress on building a Block Based activity post form from a feature as a plugin and the BP Attachments BuddyPress Add-on. To allow Activity content to support blocks, we simply need to use this filter `add_filter( 'bp_is_activity_blocks_active', '__return_true' ); `.

This commit also allowes community users to share more than 2 links when these links are coming from the website BuddyPress is activated on.

Closes https://github.com/buddypress/buddypress/pull/38
Fixes #8765



git-svn-id: https://buddypress.svn.wordpress.org/trunk@13370 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2022-11-19 10:26:02 +00:00
..
functions Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
nav Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
template Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
attachments.php Attachments: introduce a new function to retrieve a media mime type 2022-03-15 23:21:26 +00:00
avatars.php Media: adjust avatar/cover image unit tests for the WP v5.7 context 2022-08-13 12:59:52 +00:00
cache.php Use static factory method throughout PHPUnit tests. 2017-11-03 19:44:10 +00:00
caps.php Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
class-bp-attachment.php Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
class-bp-button.php Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
class-bp-component.php Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
class-bp-core-user.php Members: stop mirroring user last_activity data to user metadata 2020-10-15 18:33:17 +00:00
class-bp-email-recipient.php Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
class-bp-email.php Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
class-bp-media-extractor.php Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
class-bp-user-query.php Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
class-bp-walker-nav-menu.php Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
filters.php Add Root component slugs to MS Subdirectory site reserved names 2020-03-15 05:30:13 +00:00
functions.php Silently introduce block support for Activity content 2022-11-19 10:26:02 +00:00
invitations.php Limit orderby values in BP_Invitation. 2021-08-18 00:28:22 +00:00
optouts.php BP_Optout: Prevent bp_send_email() delivery to opted-out address. 2021-04-28 23:49:31 +00:00
suggestions-nonauth.php Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
suggestions.php Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00
templateLoader.php Fully enjoy Yoast’s PHPUnit polyfills 2022-08-13 08:58:51 +00:00