post_form_autocomplete_off

DeprecatedDeprecated

This function has been deprecated.

SummerySummery

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

Syntax

post_form_autocomplete_off()

DescriptionDescription

Replaced with wp_page_reload_on_back_button_js() that also fixes this problem.

SourceSource

File: wp-admin/includes/deprecated.php


			

ChangelogChangelog

Changelog
Version Description
4.6.0 This function has been deprecated.
4.0.0 Introduced.
Scroll to Top