Quick Edit stores filtering of title to database
|Reported by:||kingjeffrey||Owned by:||filosofo|
line 1188 of /wp-admin/includes/template.php consists of this line:
$title = esc_attr( get_the_title( $post->ID ) );
$title is later stored to the title text field in the quick edit form for posts.
The problem with this structure is that any filtering done by plugins on the the_title hook is saved to the database via the quick edit form – creating destructive change that is not reversed when the plugin is deactivated.
Please consider using the_title_attribute or a direct db call so that the the_title hook is not called.
Change History (10)
- Keywords has-patch added; destructive filtering removed
- Owner set to filosofo
- Status changed from new to accepted