Changeset 47122 for trunk/src/wp-includes/ms-site.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-site.php
r47101 r47122 762 762 // Remove all permissions that may exist for the site. 763 763 $table_prefix = $wpdb->get_blog_prefix(); 764 delete_metadata( 'user', 0, $table_prefix . 'user_level', null, true ); // delete all765 delete_metadata( 'user', 0, $table_prefix . 'capabilities', null, true ); // delete all764 delete_metadata( 'user', 0, $table_prefix . 'user_level', null, true ); // Delete all. 765 delete_metadata( 'user', 0, $table_prefix . 'capabilities', null, true ); // Delete all. 766 766 767 767 // Install default site content. … … 864 864 865 865 while ( $index < count( $stack ) ) { 866 // Get indexed directory from stack 866 // Get indexed directory from stack. 867 867 $dir = $stack[ $index ]; 868 868 … … 890 890 } 891 891 892 $stack = array_reverse( $stack ); // Last added dir s are deepest892 $stack = array_reverse( $stack ); // Last added directories are deepest. 893 893 foreach ( (array) $stack as $dir ) { 894 894 if ( $dir != $top_dir ) {
Note: See TracChangeset
for help on using the changeset viewer.