post_form_autocomplete_off() – 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
You appear to be a bot. Output may be restricted
Description
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
Replaced with wp_page_reload_on_back_button_js() that also fixes this problem.
Usage
post_form_autocomplete_off();
Parameters
Returns
void
Source
File name: wordpress/wp-admin/includes/deprecated.php
Lines:
function post_form_autocomplete_off() { global $is_safari, $is_chrome; _deprecated_function( post_form_autocomplete_off, '4.6.0' ); if ( $is_safari || $is_chrome ) { echo ' autocomplete="off"'; } }