Merged in feature/81-dev-dev01 (pull request #5)
auto-patch 81-dev-dev01-2023-12-05T22_45_26 * auto-patch 81-dev-dev01-2023-12-05T22_45_26
This commit is contained in:
@@ -174,7 +174,8 @@ class WP_Links_List_Table extends WP_List_Table {
|
||||
$link = $item;
|
||||
|
||||
?>
|
||||
<label class="label-covers-full-cell" for="cb-select-<?php echo $link->link_id; ?>">
|
||||
<input type="checkbox" name="linkcheck[]" id="cb-select-<?php echo $link->link_id; ?>" value="<?php echo esc_attr( $link->link_id ); ?>" />
|
||||
<label for="cb-select-<?php echo $link->link_id; ?>">
|
||||
<span class="screen-reader-text">
|
||||
<?php
|
||||
/* translators: Hidden accessibility text. %s: Link name. */
|
||||
@@ -182,7 +183,6 @@ class WP_Links_List_Table extends WP_List_Table {
|
||||
?>
|
||||
</span>
|
||||
</label>
|
||||
<input type="checkbox" name="linkcheck[]" id="cb-select-<?php echo $link->link_id; ?>" value="<?php echo esc_attr( $link->link_id ); ?>" />
|
||||
<?php
|
||||
}
|
||||
|
||||
@@ -290,6 +290,9 @@ class WP_Links_List_Table extends WP_List_Table {
|
||||
* @param string $column_name Current column name.
|
||||
*/
|
||||
public function column_default( $item, $column_name ) {
|
||||
// Restores the more descriptive, specific name for use within this method.
|
||||
$link = $item;
|
||||
|
||||
/**
|
||||
* Fires for each registered custom link column.
|
||||
*
|
||||
@@ -298,7 +301,7 @@ class WP_Links_List_Table extends WP_List_Table {
|
||||
* @param string $column_name Name of the custom column.
|
||||
* @param int $link_id Link ID.
|
||||
*/
|
||||
do_action( 'manage_link_custom_column', $column_name, $item->link_id );
|
||||
do_action( 'manage_link_custom_column', $column_name, $link->link_id );
|
||||
}
|
||||
|
||||
public function display_rows() {
|
||||
@@ -332,7 +335,8 @@ class WP_Links_List_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
// Restores the more descriptive, specific name for use within this method.
|
||||
$link = $item;
|
||||
$link = $item;
|
||||
|
||||
$edit_link = get_edit_bookmark_link( $link );
|
||||
|
||||
$actions = array();
|
||||
|
||||
Reference in New Issue
Block a user