Ticket #20305: delete-undelete-actions.diff
File delete-undelete-actions.diff, 650 bytes (added by , 12 years ago) |
---|
-
wp-includes/ms-blogs.php
300 300 do_action( "make_ham_blog", $blog_id ); 301 301 } 302 302 303 // If deleted status changed, issue actions. 304 if ( $details[ 'deleted' ] != $current_details[ 'deleted' ] ) { 305 if ( $details[ 'deleted' ] == 1 ) 306 do_action( "make_delete_blog", $blog_id ); 307 else 308 do_action( "make_undelete_blog", $blog_id ); 309 } 310 303 311 if ( isset($details[ 'public' ]) ) { 304 312 switch_to_blog( $blog_id ); 305 313 update_option( 'blog_public', $details[ 'public' ] );