[wp-trac] [WordPress Trac] #42742: Add a has_errors() method to WP_Error

WordPress Trac noreply at wordpress.org
Tue Feb 27 02:30:48 UTC 2018


#42742: Add a has_errors() method to WP_Error
-----------------------------------------------------+---------------------
 Reporter:  DrewAPicture                             |       Owner:  robdxw
     Type:  enhancement                              |      Status:  closed
 Priority:  normal                                   |   Milestone:  5.0
Component:  General                                  |     Version:
 Severity:  normal                                   |  Resolution:  fixed
 Keywords:  good-first-bug has-patch has-unit-tests  |     Focuses:
-----------------------------------------------------+---------------------
Changes (by SergeyBiryukov):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"42761"]:
 {{{
 #!CommitTicketReference repository="" revision="42761"
 General: Introduce `WP_Error::has_errors()` method and use it where
 appropriate.

 Props robdxw, DrewAPicture, SergeyBiryukov.
 Fixes #42742.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42742#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list