Skip to content

Commit a602e8e

Browse files
committed
switch to double quoutes
1 parent 88d3d32 commit a602e8e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/packages/forms/src/contact-form/class-contact-form-plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3678,7 +3678,7 @@ public function export_to_gdrive() {
36783678
|| ! wp_verify_nonce( sanitize_text_field( $post_data[ $this->export_nonce_field_gdrive ] ), 'feedback_export' )
36793679
) {
36803680
wp_send_json_error(
3681-
__( 'You aren\'t authorized to do that.', 'jetpack-forms' ),
3681+
__( "You aren't authorized to do that.", 'jetpack-forms' ),
36823682
403,
36833683
JSON_UNESCAPED_SLASHES
36843684
);

projects/packages/forms/tests/php/contact-form/Util_Test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ public function test_export_to_gdrive_security_validation() {
787787
$output = ob_get_clean();
788788

789789
// Verify that an error response was sent
790-
$this->assertStringContainsString( 'You aren\'t authorized to do that.', $output );
790+
$this->assertStringContainsString( "You aren't authorized to do that.", $output );
791791

792792
// Restore original user
793793
wp_set_current_user( $original_user->ID );

0 commit comments

Comments
 (0)