Skip to:
Content
Pages
Categories
Search
Top
Bottom

Uncheck “keep revision log” by default

  • @dominikb-1

    Participant

    Hi folks, after accidently creating a log an struggeling to get it out of the database again, i wondered, how i can make the checkbox for the revision log unchecked by default.

    Thanks in advance
    Dominik

Viewing 2 replies - 1 through 2 (of 2 total)
  • @siamlottery

    Participant

    If me, I will create child theme of bbpress and edit the file.

    @dominikb-1

    Participant

    in form-reply.php i find this line:

    <input name="bbp_log_reply_edit" id="bbp_log_reply_edit" type="checkbox" value="1" <?php bbp_form_reply_log_edit(); ?> tabindex="<?php bbp_tab_index(); ?>" />

    it does not seem like, i can uncheck the box here.

    I have my subscription boxes auto-checked via:

    function pw_bbp_auto_checK_subscribe( $checked, $topic_subscribed  ) {
    
        if( $topic_subscribed == 0 )
            $topic_subscribed = true;
    
        return checked( $topic_subscribed, true, false );
    }

    is there maybe a way, to turn this around and use it on the log checkbox?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar