Skip to:
Content

bbPress.org

Ticket #3525: 3525.1_show_in_rest.patch

File 3525.1_show_in_rest.patch, 720 bytes (added by arafatjamil01, 2 years ago)

Since I couldn't get the previous patch to work, I wrote the same code again and created this patch. Now bbPress forum, topic and reply can be edited using Gutenberg block

  • src/bbpress.php

     
    527527                                'query_var'           => true,
    528528                                'menu_icon'           => '',
    529529                                'source'              => 'bbpress',
     530                                'show_in_rest'        => true,
    530531                        ) )
    531532                );
    532533
     
    553554                                'query_var'           => true,
    554555                                'menu_icon'           => '',
    555556                                'source'              => 'bbpress',
     557                                'show_in_rest'        => true,
    556558                        ) )
    557559                );
    558560
     
    579581                                'query_var'           => true,
    580582                                'menu_icon'           => '',
    581583                                'source'              => 'bbpress',
     584                                'show_in_rest'        => true,
    582585                        ) )
    583586                );
    584587        }