Make WordPress Core


Ignore:
Timestamp:
06/03/2025 04:49:48 PM (9 months ago)
Author:
johnbillion
Message:

General: Various fixes to the correctness of code and documentation reported by PHPStan.

Props justlevine

See #63268

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-automatic-updater.php

    r59460 r60275  
    412412                $upgrader_item = $item->theme;
    413413                $theme         = wp_get_theme( $upgrader_item );
    414                 $item_name     = $theme->Get( 'Name' );
     414                $item_name     = $theme->get( 'Name' );
    415415                // Add the current version so that it can be reported in the notification email.
    416416                $item->current_version = $theme->get( 'Version' );
Note: See TracChangeset for help on using the changeset viewer.