Make WordPress Core

Changeset 33918


Ignore:
Timestamp:
09/05/2015 08:38:27 PM (10 years ago)
Author:
jeremyfelt
Message:

Multisite: Pass the ID of the site being updated to wpmu_update_blog_options action.

Props @swissspidy, @MikeHansenMe.
Fixes #32907.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/site-settings.php

    r33641 r33918  
    6363    }
    6464
    65 /**
    66  * Fires after the site options are updated.
    67  *
    68  * @since 3.0.0
    69  */
    70     do_action( 'wpmu_update_blog_options' );
     65    /**
     66     * Fires after the site options are updated.
     67     *
     68     * @since 3.0.0
     69     * @since 4.4.0 Added `$id` parameter.
     70     *
     71     * @param int $id The ID of the site being updated.
     72     */
     73    do_action( 'wpmu_update_blog_options', $id );
     74
    7175    restore_current_blog();
    7276    wp_redirect( add_query_arg( array( 'update' => 'updated', 'id' => $id ), 'site-settings.php') );
Note: See TracChangeset for help on using the changeset viewer.