id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses
10525,post.php suppressed E_WARNING,Mittineague,,"Using the Error Reporting plugin I get
E_WARNING
Couldn't find constant DOING_AUTOSAVE
at ...../wp-includes/post.php (3471)
{{{
function wp_save_post_revision( $post_id ) {
// We do autosaves manually with wp_create_post_autosave()
if ( @constant( 'DOING_AUTOSAVE' ) )
return;
}}}
Would it not be easy enough to do a defined() before the constant() and eliminate the need for suppression?",enhancement,closed,low,2.9,Autosave,,minor,fixed,has-patch commit,,