WordPress.org

Make WordPress Core

Ticket #25498: 25498.2.diff

File 25498.2.diff, 1.1 KB (added by kpdesign, 8 years ago)

Second pass

  • src/wp-admin/includes/schema.php

     
    330330        global $wpdb, $wp_db_version, $current_site, $wp_current_db_version;
    331331
    332332        $guessurl = wp_guess_url();
     333        /**
     334         * Fires before creating WordPress options and setting their default values.
     335         *
     336         * @since 2.6.0
     337         */
     338        do_action( 'populate_options' );
    333339
    334         do_action('populate_options');
    335 
    336340        if ( ini_get('safe_mode') ) {
    337341                // Safe mode can break mkdir() so use a flat structure by default.
    338342                $uploads_use_yearmonth_folders = 0;
     
    929933         *
    930934         * @since 3.7.0
    931935         *
    932          * @param array $sitemeta Associative of meta keys and values to be inserted.
    933          * @param int $network_id Network ID being created.
     936         * @param array $sitemeta   Associative array of meta keys and values to be inserted.
     937         * @param int   $network_id Network ID being created.
    934938         */
    935939        $sitemeta = apply_filters( 'populate_network_meta', $sitemeta, $network_id );
    936940