[buddypress-trac] [BuddyPress] #2556: ”Send To” Drop-down Box Error in ”Compose Message”

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Dec 17 11:18:48 UTC 2010


#2556: ”Send To” Drop-down Box Error in ”Compose Message”
------------------------+-------------------------------------
  Reporter:  leabdea    |      Owner:
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:  1.3
 Component:  Messaging  |    Version:  1.3
Resolution:             |   Keywords:  has-patch needs-testing
------------------------+-------------------------------------

Comment (by herostrat):

 Just checked against a root and a subdomain install (WP 3.0.3):

 Actually this patch is _necessary_ to make it work in a subdirectory. In a
 subdirectory install the current code constructs the URL like:

 {{{
 http://DOMAIN/SUBDOMAIN/SUBDOMAIN/wp-load.php
 }}}

 $bp->root_domain part:

 {{{
 http://DOMAIN/SUBDOMAIN/
 }}}

 str_replace( 'index.php', 'wp-load.php', $_SERVER['SCRIPT_NAME'] ) part:

 {{{
 SUBDOMAIN/wp-load.php
 }}}

 The proposed patch constructs the right path for root and subdirectory
 installs, so +1 for patching...

-- 
Ticket URL: <https://trac.buddypress.org/ticket/2556#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list