Make WordPress Core


Ignore:
Timestamp:
06/26/2025 01:04:59 PM (10 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Explicitly return null in functions saving URL rewrite rules.

This matches the documented @return type in save_mod_rewrite_rules() and iis7_save_url_rewrite_rules().

Follow-up to [12726], [17328], [43362].

Props justlevine.
See #63268.

File:
1 edited

Legend:

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

    r60284 r60353  
    264264
    265265    if ( is_multisite() ) {
    266         return;
     266        return null;
    267267    }
    268268
     
    304304
    305305    if ( is_multisite() ) {
    306         return;
     306        return null;
    307307    }
    308308
Note: See TracChangeset for help on using the changeset viewer.