Changeset 56192 for trunk/src/wp-includes/ms-site.php
- Timestamp:
- 07/10/2023 10:46:22 PM (2 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/ms-site.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-site.php
r55747 r56192 115 115 } 116 116 117 // Rebuild the data expected by the `wpmu_new_blog` hook prior to 5.1.0 using allowed keys. 118 // The `$allowed_data_fields` matches the one used in `wpmu_create_blog()`. 117 /* 118 * Rebuild the data expected by the `wpmu_new_blog` hook prior to 5.1.0 using allowed keys. 119 * The `$allowed_data_fields` matches the one used in `wpmu_create_blog()`. 120 */ 119 121 $allowed_data_fields = array( 'public', 'archived', 'mature', 'spam', 'deleted', 'lang_id' ); 120 122 $meta = array_merge( array_intersect_key( $data, array_flip( $allowed_data_fields ) ), $meta );
Note: See TracChangeset
for help on using the changeset viewer.