Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/site-settings.php

    r45932 r47122  
    4545        $val = wp_unslash( $val );
    4646        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.
    4848        }
    4949        update_option( $key, $val );
     
    158158                <?php
    159159            }
    160         } // End foreach
     160        } // End foreach.
    161161        /**
    162162         * Fires at the end of the Edit Site form, before the submit button.
Note: See TracChangeset for help on using the changeset viewer.