[wp-trac] [WordPress Trac] #20833: Settings API notices/errors can get lost by checking for errors for a specific setting

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 24 15:13:48 UTC 2012


#20833: Settings API notices/errors can get lost by checking for errors for a
specific setting
------------------------------------+---------------------
 Reporter:  kobenland               |       Owner:  ryan
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:  3.5
Component:  Administration          |     Version:  2.9
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch dev-feedback  |
------------------------------------+---------------------
Changes (by ryan):

 * owner:   => ryan
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [21315]:
 {{{
 #!CommitTicketReference repository="" revision="21315"
 For get_settings_errors(), make sure errors from transient get added to
 the global variable and not unset when checking for an error of a specific
 setting. Also always return an array, as noted in the documentation. Props
 obenland. fixes #20833
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20833#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list