Skip to:
Content

bbPress.org

Ticket #3280: 3280.patch

File 3280.patch, 436 bytes (added by johnjamesjacoby, 2 years ago)

Allow count meta data to be updated/deleted by anyone.

  • src/bbpress.php

     
    755755                        'description'       => esc_html__( 'bbPress Item Count', 'bbpress' ),
    756756                        'single'            => true,
    757757                        'sanitize_callback' => 'bbp_number_not_negative',
    758                         'show_in_rest'      => true
     758                        'show_in_rest'      => true,
     759                        'auth_callback'     => '__return_true'
    759760                );
    760761
    761762                /** Post **************************************************************/