﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
20833,Settings API notices/errors can get lost by checking for errors for a specific setting,kobenland,ryan,"When using the Settings API, setting errors are saved in a transient to be available after redirection.

After the redirect, when a plugin now checks for errors:
{{{
#!php
<?php
//by checking
get_settings_errors( 'settings-name' );

// or displaying
settings_errors( 'settings-name' );
}}}

any existing errors retrieved from the transient gets lost, because they share the same variable and every error that does '''not''' match the requested setting gets unset.

This was introduced in [13177] (#11474).",defect (bug),closed,normal,3.5,Administration,2.9,normal,fixed,has-patch,
