mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Privacy: add esc_html to assertion in test_wp_comments_personal_data_exporter.
Props mermel, 1naveengiri. Fixes #44113. git-svn-id: https://develop.svn.wordpress.org/trunk@43371 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1156,7 +1156,7 @@ class Tests_Comment extends WP_UnitTestCase {
|
||||
$this->assertSame( $expected['comment_agent'], $actual['data'][0]['data'][4]['value'] );
|
||||
$this->assertSame( $expected['comment_date'], $actual['data'][0]['data'][5]['value'] );
|
||||
$this->assertSame( $expected['comment_content'], $actual['data'][0]['data'][6]['value'] );
|
||||
$this->assertSame( get_comment_link( $comment_id ), strip_tags( $actual['data'][0]['data'][7]['value'] ) );
|
||||
$this->assertSame( esc_html( get_comment_link( $comment_id ) ), strip_tags( $actual['data'][0]['data'][7]['value'] ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user