Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/17/2011 05:26:05 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Normalize bbp-twentyten theme files. Introduce bbp_tab_index functions for forms. Rename some page- files to action- since they are not page templates. Introduce bbp_login and bbp_register place-holders in bbp-twentyten theme.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-general-functions.php

    r2790 r2810  
    669669    // Editing a topic
    670670    } elseif ( bbp_is_topic_edit() ) {
    671         $template = array( 'page-bbp_edit.php', 'single-' . $bbp->topic_id, 'single.php', 'index.php' );
     671        $template = array( 'action-bbp_edit.php', 'single-' . $bbp->topic_id, 'single.php', 'index.php' );
    672672
    673673        if ( !empty( $_GET['action'] ) && in_array( $_GET['action'], array( 'merge', 'split' ) ) )
    674             array_unshift( $template, 'page-bbp_split-merge.php' );
     674            array_unshift( $template, 'action-bbp_split-merge.php' );
    675675
    676676    // Editing a reply
    677677    } elseif ( bbp_is_reply_edit() ) {
    678         $template = array( 'page-bbp_edit.php', 'single-' . $bbp->reply_id, 'single.php', 'index.php' );
     678        $template = array( 'action-bbp_edit.php', 'single-' . $bbp->reply_id, 'single.php', 'index.php' );
    679679    }
    680680
Note: See TracChangeset for help on using the changeset viewer.