Skip to:
Content

BuddyPress.org

Ticket #4744: get_template_directory.patch

File get_template_directory.patch, 478 bytes (added by fanquake, 14 years ago)
  • functions.php

    # Above lines and this line are ignored by the patching process.
     
    6262function bp_dtheme_setup() {
    6363
    6464        // Load the AJAX functions for the theme
    65         require( TEMPLATEPATH . '/_inc/ajax.php' );
     65        require( get_template_directory() . '/_inc/ajax.php' );
    6666
    6767        // This theme styles the visual editor with editor-style.css to match the theme style.
    6868        add_editor_style();