Skip to:
Content

bbPress.org


Ignore:
Timestamp:
05/23/2013 07:09:03 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Hierarchical replies:

  • Introduce setting, option, functions, JS, CSS, and Walker class to support hierarchical replies.
  • Tweak functions where saving the additional reply_to meta data is necessary.
  • Add meta data field in dashboard to show the reply_to ID.
  • There will likely be more tweaking necessary, as we test this further and get more eyes on the code.
  • Fixes #2036.
  • Props jmdodd for this huge effort.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/default/bbpress-functions.php

    r4872 r4944  
    180180        }
    181181
    182         // Topic favorite/subscribe
     182        // Topic-specific scripts
    183183        if ( bbp_is_single_topic() ) {
     184
     185            // Topic favorite/unsubscribe
    184186            wp_enqueue_script( 'bbpress-topic', $this->url . 'js/topic.js', array( 'jquery' ), $this->version );
     187
     188            // Hierarchical replies
     189            if ( bbp_thread_replies() ) {
     190                wp_enqueue_script( 'bbpress-reply', $this->url . 'js/reply.js', array(), $this->version );
     191            }
    185192        }
    186193
Note: See TracChangeset for help on using the changeset viewer.