Changeset 8672
- Timestamp:
- 08/19/2008 07:41:11 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/link-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r8600 r8672 790 790 function site_url($path = '', $scheme = null) { 791 791 // should the list of allowed schemes be maintained elsewhere? 792 $orig_scheme = $scheme; 792 793 if ( !in_array($scheme, array('http', 'https')) ) { 793 794 if ( ('login_post' == $scheme) && ( force_ssl_login() || force_ssl_admin() ) ) … … 806 807 $url .= '/' . ltrim($path, '/'); 807 808 808 return $url;809 return apply_filters('site_url', $url, $path, $orig_scheme); 809 810 } 810 811
Note: See TracChangeset
for help on using the changeset viewer.