- Timestamp:
- 09/02/2021 10:25:58 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php
r49197 r51728 561 561 * 562 562 * @since 4.3.0 563 * 564 * @param array $blog Current site. 563 * @since 5.9.0 Renamed `$blog` to `$item` to match parent class for PHP 8 named param. 564 * 565 * @param array $item Current site. 565 566 * @param string $column_name Current column name. 566 567 */ 567 public function column_default( $ blog, $column_name ) {568 public function column_default( $item, $column_name ) { 568 569 /** 569 570 * Fires for each registered custom column in the Sites list table. … … 574 575 * @param int $blog_id The site ID. 575 576 */ 576 do_action( 'manage_sites_custom_column', $column_name, $ blog['blog_id'] );577 do_action( 'manage_sites_custom_column', $column_name, $item['blog_id'] ); 577 578 } 578 579
Note: See TracChangeset
for help on using the changeset viewer.