Make WordPress Core

Ticket #25725: 25725.site-settings.diff

File 25725.site-settings.diff, 913 bytes (added by admiralthrawn, 11 years ago)
  • src/wp-admin/network/site-settings.php

     
    5757                        continue; // Avoids "0 is a protected WP option and may not be modified" error when edit blog options
    5858                update_option( $key, $val );
    5959        }
    60 
     60/**
     61 * Fires after updating network options
     62 *
     63 * @since 3.0.0
     64 *
     65 */
    6166        do_action( 'wpmu_update_blog_options' );
    6267        restore_current_blog();
    6368        wp_redirect( add_query_arg( array( 'update' => 'updated', 'id' => $id ), 'site-settings.php') );
     
    144149                        <?php
    145150                        }
    146151                } // End foreach
     152                /**
     153                 * Fired when a blog from the network is being edited 
     154                 *
     155                 * @since 3.0.0
     156                 *
     157                 * @param int $id - the ID of the blog
     158                 *
     159                 */
    147160                do_action( 'wpmueditblogaction', $id );
    148161                ?>
    149162        </table>