Changeset 48121 for trunk/src/wp-includes/ms-blogs.php
- Timestamp:
- 06/22/2020 05:24:34 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-blogs.php
r48044 r48121 721 721 } 722 722 723 $ pref_whitelist= array( 'site_id', 'domain', 'path', 'registered', 'last_updated', 'public', 'archived', 'mature', 'spam', 'deleted', 'lang_id' );724 725 if ( ! in_array( $pref, $ pref_whitelist, true ) ) {723 $allowed_field_names = array( 'site_id', 'domain', 'path', 'registered', 'last_updated', 'public', 'archived', 'mature', 'spam', 'deleted', 'lang_id' ); 724 725 if ( ! in_array( $pref, $allowed_field_names, true ) ) { 726 726 return $value; 727 727 }
Note: See TracChangeset
for help on using the changeset viewer.