| 1 | Index: bp-core/bp-core-cssjs.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- bp-core/bp-core-cssjs.php (revision 6717) |
|---|
| 4 | +++ bp-core/bp-core-cssjs.php (working copy) |
|---|
| 5 | @@ -150,7 +150,7 @@ |
|---|
| 6 | function bp_core_add_ajax_url_js() { |
|---|
| 7 | ?> |
|---|
| 8 | |
|---|
| 9 | - <script type="text/javascript">var ajaxurl = '<?php echo admin_url( 'admin-ajax.php' ); ?>';</script> |
|---|
| 10 | + <script type="text/javascript">var ajaxurl = '<?php echo network_site_url( '/wp-admin/admin-ajax.php' ); ?>';</script> |
|---|
| 11 | |
|---|
| 12 | <?php |
|---|
| 13 | } |
|---|
| 14 | Index: bp-templates/bp-legacy/buddypress-functions.php |
|---|
| 15 | =================================================================== |
|---|
| 16 | --- bp-templates/bp-legacy/buddypress-functions.php (revision 6717) |
|---|
| 17 | +++ bp-templates/bp-legacy/buddypress-functions.php (working copy) |
|---|
| 18 | @@ -278,7 +278,7 @@ |
|---|
| 19 | |
|---|
| 20 | <script type="text/javascript" charset="utf-8"> |
|---|
| 21 | /* <![CDATA[ */ |
|---|
| 22 | - var ajaxurl = '<?php echo admin_url( 'admin-ajax.php' ); ?>'; |
|---|
| 23 | + var ajaxurl = '<?php echo network_site_url( '/wp-admin/admin-ajax.php' ); ?>'; |
|---|
| 24 | /* ]]> */ |
|---|
| 25 | </script> |
|---|
| 26 | |
|---|