wp-admin/includes/class-wp-ms-themes-list-table.php:310Compares the order of two themes by a specific field.
$theme_aWP_Theme$theme_bWP_Themeint public function _order_callback( $theme_a, $theme_b ) { global $orderby, $order; $a = $theme_a[ $orderby ]; $b = $theme_b[ $orderby ]; return 'DESC' === $order ? $b <=> $a : $a <=> $b; }2 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$theme_a retyped from array to WP_Theme.verified against source$theme_b retyped from array to WP_Theme.verified against sourcesrc/wp-admin/includes/class-wp-ms-themes-list-table.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.