Disables autocomplete on the ‘post’ form (Add/Edit Post screens) for WebKit browsers, as they disregard the autocomplete setting on the editor textarea. That can break the editor when the user navigates to it with the browser’s Back button. See #28037

Signature

post_form_autocomplete_off()

Return

(void)

Source

function post_form_autocomplete_off() {
	global $is_safari, $is_chrome;

	if ( $is_safari || $is_chrome ) {
		echo ' autocomplete="off"';
	}
}
WP Trac GitHub

Link here