Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/30/2009 03:18:18 PM (16 years ago)
Author:
apeatling
Message:

Fixed support for single WP in a subdirectory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-cssjs.php

    r2209 r2227  
    169169
    170170    echo
    171 '<script type="text/javascript">var ajaxurl = "' . $bp->root_domain . str_replace( 'index.php', 'wp-load.php', $_SERVER['SCRIPT_NAME'] ) . '";</script>
     171'<script type="text/javascript">var ajaxurl = "' . site_url( 'wp-load.php' ) . '";</script>
    172172';
    173173}
Note: See TracChangeset for help on using the changeset viewer.