Last active
August 29, 2015 14:02
-
-
Save dbernar1/2452771e7f935c89ebf8 to your computer and use it in GitHub Desktop.
Disabling autocomplete for WP post editor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: Disabling autocomplete for editor | |
* Description: See https://core.trac.wordpress.org/ticket/28037 | |
*/ | |
add_action( 'post_edit_form_tag' , 'disable_autocomplete_for_editor__gfm_ac' ); | |
function disable_autocomplete_for_editor__gfm_ac( ) { | |
echo ' autocomplete="off" '; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment