mirror of
git://develop.git.wordpress.org/
synced 2025-02-22 07:35:46 +01: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:
parent
819626ce83
commit
acbbd28d0e
@ -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'] ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user