jlemee (@jlemee)

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • @jlemee

    Participant

    I don’t know, where can I verify this information please ?

    @jlemee

    Participant

    I don’t have any errors, but in the debug log, I see:

    PHP Deprecated: Creation of dynamic property BBP_Forums_Component::$members
    PHP Deprecated: Creation of dynamic property BBP_Forums_Component::$activity

    However, I don’t think these are causing the problem. Only the bbp_get_reply_edit_link() function is not working, and I don’t understand why. Do you have any ideas, please?

    @jlemee

    Participant

    I don’t understand why it’s not work.
    I have a function for topic links and function for answer (reply) links

    // change answer links displayed
    add_filter ('bbp_reply_admin_links', 'change_admin_links' ) ;
    
    function change_admin_links ($r) {
        $r['links'] = apply_filters( 'rw_reply_admin_links', array(
                        'reply'  => bbp_get_reply_to_link ( $r ),
                        // 'edit'   => bbp_get_topic_edit_link ( $r ),
                        'edit'   => bbp_get_reply_edit_link ( $r ),
                        'trash'  => bbp_get_reply_trash_link ( $r ),
    
                    ), $r['id'] );
        return $r['links'] ;
    }
    
    //change topic links displayed
    add_filter ('bbp_topic_admin_links', 'change_topic_admin_links' ) ;
    function change_topic_admin_links ($r) {
        $r['links'] = apply_filters( 'rw_topic_admin_links', array(
                        'reply'  => bbp_get_topic_reply_link ( $r ),
                        // 'edit'   => bbp_get_topic_edit_link ( $r ),
                        'edit'   => bbp_get_topic_edit_link ( $r ),
                        'trash'  => bbp_get_topic_trash_link ( $r ),
    
                    ), $r['id'] );
        return $r['links'] ;
    }

    @jlemee

    Participant

    I found it on a bbpress support discussion because I only wanted you to keep the modify, edit and trash links. But the link to edit never worked, before or after adding this code

Viewing 4 replies - 1 through 4 (of 4 total)