[wp-trac] [WordPress Trac] #49426: Site Health: the Rest API test doesn't display the WP_Error code

WordPress Trac noreply at wordpress.org
Tue Feb 18 16:46:24 UTC 2020


#49426: Site Health: the Rest API test doesn't display the WP_Error code
----------------------------------------------+----------------------
 Reporter:  afercia                           |       Owner:  desrosj
     Type:  defect (bug)                      |      Status:  closed
 Priority:  normal                            |   Milestone:  5.4
Component:  Site Health                       |     Version:  5.2
 Severity:  normal                            |  Resolution:  fixed
 Keywords:  has-screenshots has-patch commit  |     Focuses:  ui
----------------------------------------------+----------------------
Changes (by desrosj):

 * owner:  (none) => desrosj
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47306" 47306]:
 {{{
 #!CommitTicketReference repository="" revision="47306"
 Site Health: Display the REST API test error codes correctly.

 This change fixes an issue where the error codes associated with failed
 REST API tests are not being printed to the screen. In addition, the
 square brackets have been replaced with parentheses for consistency, and
 the error code (which is much less useful to end-users than the error
 message itself) has been moved to the end of the line.

 This also clarifies the associated translator comments.

 Props afercia, desrosj.
 Fixes #49426.
 }}}

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


More information about the wp-trac mailing list