Make WordPress Core

Changeset 61721


Ignore:
Timestamp:
02/23/2026 10:39:36 PM (3 months ago)
Author:
SergeyBiryukov
Message:

Code Quality: Correct return statement in _remove_theme_support().

This matches the documented bool return type to indicate the feature support was successfully removed.

Follow-up to [20212].

Props huzaifaalmesbah.
See #64238.

File:
1 edited

Legend:

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

    r61470 r61721  
    30963096            }
    30973097            add_theme_support( 'custom-header', array( 'uploads' => false ) );
    3098             return; // Do not continue - custom-header-uploads no longer exists.
     3098            return true; // Do not continue - custom-header-uploads no longer exists.
    30993099    }
    31003100
Note: See TracChangeset for help on using the changeset viewer.