Ticket #25725: 25725.site-settings.diff
File 25725.site-settings.diff, 913 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/network/site-settings.php
57 57 continue; // Avoids "0 is a protected WP option and may not be modified" error when edit blog options 58 58 update_option( $key, $val ); 59 59 } 60 60 /** 61 * Fires after updating network options 62 * 63 * @since 3.0.0 64 * 65 */ 61 66 do_action( 'wpmu_update_blog_options' ); 62 67 restore_current_blog(); 63 68 wp_redirect( add_query_arg( array( 'update' => 'updated', 'id' => $id ), 'site-settings.php') ); … … 144 149 <?php 145 150 } 146 151 } // 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 */ 147 160 do_action( 'wpmueditblogaction', $id ); 148 161 ?> 149 162 </table>