Make WordPress Core

Changeset 25938


Ignore:
Timestamp:
10/26/2013 08:28:34 PM (13 years ago)
Author:
DrewAPicture
Message:

Inline documentation for hooks in wp-admin/includes/schema.php.

Props johnafish, kpdesign.
Fixes #25498.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/schema.php

    r25838 r25938  
    331331
    332332        $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' );
    335339
    336340        if ( ini_get('safe_mode') ) {
    … …  
    842846
    843847/**
    844  * populate network settings
     848 * Populate network settings.
    845849 *
    846850 * @since 3.0.0
    847851 *
    848  * @param int $network_id id of network to populate
     852 * @param int $network_id ID of network to populate.
    849853 * @return bool|WP_Error True on success, or WP_Error on warning (with the install otherwise successful,
    850  *      so the error code must be checked) or failure.
     854 *                       so the error code must be checked) or failure.
    851855 */
    852856function populate_network( $network_id = 1, $domain = '', $email = '', $site_name = '', $path = '/', $subdomain_install = false ) {
    … …  
    946950         * @since 3.7.0
    947951         *
    948          * @param array $sitemeta Associative of meta 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.
    950954         */
    951955        $sitemeta = apply_filters( 'populate_network_meta', $sitemeta, $network_id );
Note: See TracChangeset for help on using the changeset viewer.