Changeset 25938
- Timestamp:
- 10/26/2013 08:28:34 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/schema.php
r25838 r25938 331 331 332 332 $guessurl = wp_guess_url(); 333 334 do_action('populate_options'); 333 /** 334 * Fires before creating WordPress options and populating their default values. 335 * 336 * @since 2.6.0 337 */ 338 do_action( 'populate_options' ); 335 339 336 340 if ( ini_get('safe_mode') ) { … … 842 846 843 847 /** 844 * populate network settings848 * Populate network settings. 845 849 * 846 850 * @since 3.0.0 847 851 * 848 * @param int $network_id id of network to populate852 * @param int $network_id ID of network to populate. 849 853 * @return bool|WP_Error True on success, or WP_Error on warning (with the install otherwise successful, 850 * 854 * so the error code must be checked) or failure. 851 855 */ 852 856 function populate_network( $network_id = 1, $domain = '', $email = '', $site_name = '', $path = '/', $subdomain_install = false ) { … … 946 950 * @since 3.7.0 947 951 * 948 * @param array $sitemeta Associative ofmeta keys and values to be inserted.949 * @param int $network_id Network ID being created.952 * @param array $sitemeta Associative array of network meta keys and values to be inserted. 953 * @param int $network_id ID of network to populate. 950 954 */ 951 955 $sitemeta = apply_filters( 'populate_network_meta', $sitemeta, $network_id );
Note: See TracChangeset
for help on using the changeset viewer.