Changeset 32611 for trunk/src/wp-includes/ms-load.php
- Timestamp:
- 05/26/2015 09:50:13 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-load.php
r32116 r32611 20 20 return SUBDOMAIN_INSTALL; 21 21 22 if ( defined('VHOST') && VHOST == 'yes' ) 23 return true; 24 25 return false; 22 return ( defined( 'VHOST' ) && VHOST == 'yes' ); 26 23 } 27 24 … … 69 66 * @since 3.0.0 70 67 * 71 * @return bool|string Returns true on success, or drop-in file to include.68 * @return true|string Returns true on success, or drop-in file to include. 72 69 */ 73 70 function ms_site_check() { … … 118 115 * @since 3.9.0 119 116 * 117 * @global wpdb $wpdb 118 * 120 119 * @param string $domain Domain to check. 121 120 * @param string $path Path to check. 122 121 * @param int|null $segments Path segments to use. Defaults to null, or the full path. 123 * @return object| boolNetwork object if successful. False when no network is found.122 * @return object|false Network object if successful. False when no network is found. 124 123 */ 125 124 function get_network_by_path( $domain, $path, $segments = null ) { … … 261 260 * @since 3.9.0 262 261 * 262 * @global wpdb $wpdb 263 * 263 264 * @param object|int $network The network's database row or ID. 264 * @return object| boolObject containing network information if found, false if not.265 * @return object|false Object containing network information if found, false if not. 265 266 */ 266 267 function wp_get_network( $network ) { … … 282 283 * @since 3.9.0 283 284 * 285 * @global wpdb $wpdb 286 * 284 287 * @param string $domain Domain to check. 285 288 * @param string $path Path to check. 286 289 * @param int|null $segments Path segments to use. Defaults to null, or the full path. 287 * @return object| boolSite object if successful. False when no site is found.290 * @return object|false Site object if successful. False when no site is found. 288 291 */ 289 292 function get_site_by_path( $domain, $path, $segments = null ) { … … 392 395 * @access private 393 396 * @since 3.0.0 397 * 398 * @global wpdb $wpdb 399 * @global string $domain 400 * @global string $path 394 401 */ 395 402 function ms_not_installed() { … … 464 471 * @deprecated 3.9.0 465 472 * 473 * @global object $current_site 474 * 466 475 * @return object 467 476 */
Note: See TracChangeset
for help on using the changeset viewer.