Changeset 26120 for trunk/src/wp-includes/link-template.php
- Timestamp:
- 11/13/2013 03:22:48 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r26081 r26120 2188 2188 */ 2189 2189 function network_site_url( $path = '', $scheme = null ) { 2190 global $current_site;2191 2192 2190 if ( ! is_multisite() ) 2193 2191 return site_url($path, $scheme); 2192 2193 $current_site = get_current_site(); 2194 2194 2195 2195 if ( 'relative' == $scheme ) … … 2219 2219 */ 2220 2220 function network_home_url( $path = '', $scheme = null ) { 2221 global $current_site;2222 2223 2221 if ( ! is_multisite() ) 2224 2222 return home_url($path, $scheme); 2225 2223 2224 $current_site = get_current_site(); 2226 2225 $orig_scheme = $scheme; 2227 2226
Note: See TracChangeset
for help on using the changeset viewer.