[wp-trac] [WordPress Trac] #35911: Simplify the credits page with an if/else statment
WordPress Trac
noreply at wordpress.org
Tue Feb 23 02:13:08 UTC 2016
#35911: Simplify the credits page with an if/else statment
----------------------------+-----------------------------
Reporter: ramiy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Keywords:
Focuses: administration |
----------------------------+-----------------------------
in the current page, if we don't receive any data from dotorg API, we
`exit;`.
This can be replaced with a simple if/else statement.
A simple message if no result returned, or a list of contributors if we
did get the results from the API.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35911>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list