- Timestamp:
- 09/07/2021 07:23:00 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-links-list-table.php
r51735 r51737 318 318 * 319 319 * @since 4.3.0 320 * 321 * @param object $link Link being acted upon. 320 * @since 5.9.0 Renamed `$link` to `$item` to match parent class for PHP 8 named parameter support. 321 * 322 * @param object $item Link being acted upon. 322 323 * @param string $column_name Current column name. 323 324 * @param string $primary Primary column name. … … 325 326 * if the current column is not the primary column. 326 327 */ 327 protected function handle_row_actions( $ link, $column_name, $primary ) {328 protected function handle_row_actions( $item, $column_name, $primary ) { 328 329 if ( $primary !== $column_name ) { 329 330 return ''; 330 331 } 331 332 333 // Restores the more descriptive, specific name for use within this method. 334 $link = $item; 332 335 $edit_link = get_edit_bookmark_link( $link ); 333 336
Note: See TracChangeset
for help on using the changeset viewer.