[buddypress-trac] [BuddyPress Trac] #8319: Block based Activity post form

buddypress-trac noreply at wordpress.org
Wed May 29 20:57:48 UTC 2024


#8319: Block based Activity post form
--------------------------------------+-----------------------
 Reporter:  imath                     |       Owner:  imath
     Type:  enhancement               |      Status:  assigned
 Priority:  normal                    |   Milestone:  14.0.0
Component:  Activity                  |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |
--------------------------------------+-----------------------
Changes (by prbot):

 * keywords:   => has-patch has-unit-tests


Comment:

 ''This ticket was mentioned in
 [https://github.com/buddypress/buddypress/pull/301 PR #301] on
 [https://github.com/buddypress/buddypress/ buddypress/buddypress] by
 [https://github.com/imath imath].''
 This PR is extending the WP theme supports API to be able to check
 Standalone themes opted in for BP Modern features such as the Activity
 Block Editor.

 Usage in theme:
 {{{
 #!php
 add_theme_support(
         'buddypress',
         array(
                 'activity'     => array( 'block-editor' ),
                 'messages => array( 'pagination' ),
         )
 );
 }}}


 Usage in BuddyPress:
 {{{
 #!php
 if ( bp_current_theme_supports( array( 'activity' => 'block-editor' ) ) )
 {}
 }}}


 Trac ticket: https://buddypress.trac.wordpress.org/ticket/8319

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8319#comment:13>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list