Link Manager: Fix usage of translation functions after [35998].
Uses `printf()` instead, adds translator comment. Fixes #35135. git-svn-id: https://develop.svn.wordpress.org/trunk@36792 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c67a463427
commit
c6c9dcb8c6
|
@ -184,11 +184,12 @@ class WP_Links_List_Table extends WP_List_Table {
|
|||
*/
|
||||
public function column_name( $link ) {
|
||||
$edit_link = get_edit_bookmark_link( $link );
|
||||
?>
|
||||
<strong><a class="row-title" href="<?php
|
||||
echo $edit_link ?>" aria-label="<?php esc_attr_e( sprintf( __( 'Edit “%s”' ), $link->link_name ) );
|
||||
?>"><?php echo $link->link_name; ?></a></strong><br />
|
||||
<?php
|
||||
printf( '<strong><a class="row-title" href="%s" aria-label="%s">%s</a></strong>',
|
||||
$edit_link,
|
||||
/* translators: %s: link name */
|
||||
esc_attr( sprintf( __( 'Edit “%s”' ), $link->link_name ) ),
|
||||
$link->link_name
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue