Make WordPress Core

Changeset 60361


Ignore:
Timestamp:
06/28/2025 09:26:35 PM (15 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Explicitly return null in wp_set_all_user_settings().

This matches the documented @return type.

Follow-up to [22256], [37263], [39932], [48320].

Props justlevine.
See #63268.

File:
1 edited

Legend:

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

    r60236 r60361  
    18811881
    18821882        if ( ! is_user_member_of_blog() ) {
    1883                 return;
     1883                return null;
    18841884        }
    18851885
Note: See TracChangeset for help on using the changeset viewer.