- Timestamp:
- 09/07/2021 06:18:10 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php
r51734 r51735 397 397 * 398 398 * @since 4.3.0 399 * 400 * @param array $blog Current site. 401 */ 402 public function column_cb( $blog ) { 399 * @since 5.9.0 Renamed `$blog` to `$item` to match parent class for PHP 8 named parameter support. 400 * 401 * @param array $item Current site. 402 */ 403 public function column_cb( $item ) { 404 // Restores the more descriptive, specific name for use within this method. 405 $blog = $item; 406 403 407 if ( ! is_main_site( $blog['blog_id'] ) ) : 404 408 $blogname = untrailingslashit( $blog['domain'] . $blog['path'] );
Note: See TracChangeset
for help on using the changeset viewer.