- Timestamp:
- 09/14/2023 12:44:23 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php
r56450 r56586 510 510 public function column_cb( $item ) { 511 511 // Restores the more descriptive, specific name for use within this method. 512 $theme = $item; 512 $theme = $item; 513 513 514 $checkbox_id = 'checkbox_' . md5( $theme->get( 'Name' ) ); 514 515 ?> … … 879 880 */ 880 881 public function column_default( $item, $column_name ) { 882 // Restores the more descriptive, specific name for use within this method. 883 $theme = $item; 884 885 $stylesheet = $theme->get_stylesheet(); 886 881 887 /** 882 888 * Fires inside each custom column of the Multisite themes list table. … … 888 894 * @param WP_Theme $theme Current WP_Theme object. 889 895 */ 890 do_action( 891 'manage_themes_custom_column', 892 $column_name, 893 $item->get_stylesheet(), // Directory name of the theme. 894 $item // Theme object. 895 ); 896 do_action( 'manage_themes_custom_column', $column_name, $stylesheet, $theme ); 896 897 } 897 898
Note: See TracChangeset
for help on using the changeset viewer.