Changeset 23794 for trunk/wp-includes/ms-functions.php
- Timestamp:
- 03/25/2013 09:29:58 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/ms-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-functions.php
r23664 r23794 1735 1735 */ 1736 1736 function update_blog_public( $old_value, $value ) { 1737 global $wpdb; 1738 do_action('update_blog_public'); 1739 update_blog_status( $wpdb->blogid, 'public', (int) $value ); 1737 update_blog_status( get_current_blog_id(), 'public', (int) $value ); 1740 1738 } 1741 1739 add_action('update_option_blog_public', 'update_blog_public', 10, 2);
Note: See TracChangeset
for help on using the changeset viewer.