Changeset 16977 for trunk/wp-includes/link-template.php
- Timestamp:
- 12/16/2010 06:06:59 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r16951 r16977 2271 2271 2272 2272 /** 2273 * Retrieve the url to the admin area for either the current blog or the network 2274 * depending on whether multisite is enabled. 2275 * 2276 * @since 3.1.0 2277 * 2278 * @param string $path Optional path relative to the admin url 2279 * @param string $scheme The scheme to use. Default is 'admin', which obeys force_ssl_admin() and is_ssl(). 'http' or 'https' can be passed to force those schemes. 2280 * @return string Admin url link with optional path appended 2281 */ 2282 function maybe_network_admin_url( $path = '', $scheme = 'admin' ) { 2283 if ( is_multisite() ) 2284 return network_admin_url( $path, $scheme ); 2285 else 2286 return admin_url( $path, $scheme ); 2287 } 2288 2289 /** 2273 2290 * Get the URL to the user's dashboard. 2274 2291 *
Note: See TracChangeset
for help on using the changeset viewer.