Changeset 6057 for trunk/wp-includes/functions.php
- Timestamp:
- 09/07/2007 02:25:54 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r6039 r6057 1183 1183 } 1184 1184 1185 if (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false) 1185 if ( defined('WP_SITEURL') && '' != WP_SITEURL ) 1186 $admin_dir = WP_SITEURL.'/wp-admin/'; 1187 elseif (function_exists('get_bloginfo') && '' != get_bloginfo('wpurl')) 1188 $admin_dir = get_bloginfo('wpurl').'/wp-admin/'; 1189 elseif (strpos($_SERVER['PHP_SELF'], 'wp-admin') !== false) 1186 1190 $admin_dir = ''; 1187 1191 else
Note: See TracChangeset
for help on using the changeset viewer.