Making WordPress.org

Ticket #5090: 5090.diff

File 5090.diff, 770 bytes (added by asaquzzaman, 5 years ago)
  • wp-includes/ms-site.php

    diff --git a/wp-includes/ms-site.php b/wp-includes/ms-site.php
    index 1862374..575cf7c 100644
    a b function wp_insert_site( array $data ) { 
    130130                 * @param int    $network_id Network ID. Only relevant on multi-network installations.
    131131                 * @param array  $meta       Meta data. Used to set initial site options.
    132132                 */
    133                 do_action_deprecated( 'wpmu_new_blog', array( $new_site->id, $user_id, $new_site->domain, $new_site->path, $new_site->network_id, $meta ), '5.1.0', 'wp_insert_site' );
     133                do_action_deprecated( 'wpmu_new_blog', array( $new_site->id, $user_id, $new_site->domain, $new_site->path, $new_site->network_id, $meta ), '5.1.0', 'wp_initialize_site' );
    134134        }
    135135
    136136        return (int) $new_site->id;