Ticket #3115: 3115.diff
File 3115.diff, 648 bytes (added by , 14 years ago) |
---|
-
bp-core.php
1937 1937 if (!empty ( $function ) && !empty ( $hookname )) 1938 1938 add_action( $hookname, $function ); 1939 1939 1940 if ( empty($icon_url) ) 1940 if ( empty($icon_url) ) { 1941 1941 $icon_url = 'images/generic.png'; 1942 elseif ( is_ssl() && 0 === strpos($icon_url, 'http://') ) 1942 if ( function_exists( 'is_network_admin' ) && is_network_admin() ) 1943 $icon_url = '../' . $icon_url; 1944 1945 } elseif ( is_ssl() && 0 === strpos($icon_url, 'http://') ) 1943 1946 $icon_url = 'https://' . substr($icon_url, 7); 1944 1947 1945 1948 do {