Changeset 47122 for trunk/src/wp-admin/network/site-settings.php
- Timestamp:
- 01/29/2020 12:43:23 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/network/site-settings.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/network/site-settings.php
r45932 r47122 45 45 $val = wp_unslash( $val ); 46 46 if ( $key === 0 || is_array( $val ) || in_array( $key, $skip_options ) ) { 47 continue; // Avoids "0 is a protected WP option and may not be modified" error when edit blog options 47 continue; // Avoids "0 is a protected WP option and may not be modified" error when edit blog options. 48 48 } 49 49 update_option( $key, $val ); … … 158 158 <?php 159 159 } 160 } // End foreach 160 } // End foreach. 161 161 /** 162 162 * Fires at the end of the Edit Site form, before the submit button.
Note: See TracChangeset
for help on using the changeset viewer.