Changeset 27045
- Timestamp:
- 01/27/2014 04:31:54 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r26692 r27045 86 86 87 87 wp_cache_flush(); 88 89 /** 90 * Fires after a site is fully installed. 91 * 92 * @since 3.9.0 93 * 94 * @param WP_User $user The site owner. 95 */ 96 do_action( 'wp_install', $user ); 88 97 89 98 return array('url' => $guessurl, 'user_id' => $user_id, 'password' => $user_password, 'password_message' => $message); … … 318 327 $wpdb->query( "INSERT INTO {$wpdb->blog_versions} ( `blog_id` , `db_version` , `last_updated` ) VALUES ( '{$wpdb->blogid}', '{$wp_db_version}', NOW());" ); 319 328 } 329 330 /** 331 * Fires after a site is fully upgraded. 332 * 333 * @since 3.9.0 334 * 335 * @param int $new_db_version The new $wp_db_version. 336 * @param int $old_db_version The old $wp_db_version. 337 */ 338 do_action( 'wp_upgrade', $wp_db_version, $wp_current_db_version ); 320 339 } 321 340 endif;
Note: See TracChangeset
for help on using the changeset viewer.