mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-31 21:48:36 +01:00
Privacy: make the emails in export and erasure list-tables clickable.
Props birgire. Merges [43057] to the 4.9 branch. See #43911. Built from https://develop.svn.wordpress.org/branches/4.9@43086 git-svn-id: http://core.svn.wordpress.org/branches/4.9@42915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
14d25f6094
commit
d4be2db521
@ -1247,7 +1247,7 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table {
|
||||
* @return string
|
||||
*/
|
||||
public function column_email( $item ) {
|
||||
return sprintf( '%1$s %2$s', $item->email, $this->row_actions( array() ) );
|
||||
return sprintf( '<a href="%1$s">%2$s</a> %3$s', esc_url( 'mailto:' . $item->email ), $item->email, $this->row_actions( array() ) );
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1334,7 +1334,7 @@ class WP_Privacy_Data_Export_Requests_Table extends WP_Privacy_Requests_Table {
|
||||
'download_data' => $download_data_markup,
|
||||
);
|
||||
|
||||
return sprintf( '%1$s %2$s', $item->email, $this->row_actions( $row_actions ) );
|
||||
return sprintf( '<a href="%1$s">%2$s</a> %3$s', esc_url( 'mailto:' . $item->email ), $item->email, $this->row_actions( $row_actions ) );
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1425,7 +1425,7 @@ class WP_Privacy_Data_Removal_Requests_Table extends WP_Privacy_Requests_Table {
|
||||
);
|
||||
}
|
||||
|
||||
return sprintf( '%1$s %2$s', $item->email, $this->row_actions( $row_actions ) );
|
||||
return sprintf( '<a href="%1$s">%2$s</a> %3$s', esc_url( 'mailto:' . $item->email ), $item->email, $this->row_actions( $row_actions ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9.6-alpha-43084';
|
||||
$wp_version = '4.9.6-alpha-43086';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user