WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/03/2021 10:02:13 PM (11 months ago)
Author:
johnbillion
Message:

Docs: Promote many bool types to true or false where only that value is used.

See #51800

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-site.php

    r49693 r49927  
    669669 *                           Default empty array.
    670670 * }
    671  * @return bool|WP_Error True on success, or error object on failure.
     671 * @return true|WP_Error True on success, or error object on failure.
    672672 */
    673673function wp_initialize_site( $site_id, array $args = array() ) {
     
    800800 *
    801801 * @param int|WP_Site $site_id Site ID or object.
    802  * @return bool|WP_Error True on success, or error object on failure.
     802 * @return true|WP_Error True on success, or error object on failure.
    803803 */
    804804function wp_uninitialize_site( $site_id ) {
Note: See TracChangeset for help on using the changeset viewer.