[buddypress-trac] [BuddyPress] #1948: bp_core_get_root_domain should use get_home_url for better ssl handling, etc
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Mon Feb 15 01:46:52 UTC 2010
#1948: bp_core_get_root_domain should use get_home_url for better ssl handling,
etc
---------------------------------------------+------------------------------
Reporter: junsuijin | Owner: junsuijin
Type: enhancement | Status: new
Priority: major | Milestone: 1.2
Keywords: has-patch, tested, needs-testing |
---------------------------------------------+------------------------------
bp_core_get_root_domain should use the new get_home_url api ( see
http://core.trac.wordpress.org/browser/trunk/wp-includes/link-
template.php#L1771 ),since it respects a user's current scheme (http vs
https), providing full https support to the admin bar among other things.
I've provided a patch that gives one possible way to accomplish this, and
have successfully tested it on the WordPress trunk (converted from a
3-blog MU install).
--
Ticket URL: <https://trac.buddypress.org/ticket/1948>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list