[wp-trac] [WordPress Trac] #38197: Update Pingback function To Add Return
WordPress Trac
noreply at wordpress.org
Wed Jan 9 02:24:30 UTC 2019
#38197: Update Pingback function To Add Return
-------------------------------------------------+-------------------------
Reporter: dshanske | Owner:
| nathanatmoz
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future
| Release
Component: Pings/Trackbacks | Version:
Severity: normal | Resolution:
Keywords: good-first-bug has-patch needs- | Focuses:
refresh | performance
-------------------------------------------------+-------------------------
Changes (by pento):
* keywords: good-first-bug has-patch dev-feedback => good-first-bug has-
patch needs-refresh
* milestone: 5.1 => Future Release
Comment:
It seems like it would be more useful for the array elements to be `true`
or a `WP_Error`, with the error extracted from `$client->error`.
Also, `$ping_status` doesn't contain an error if
`discover_pingback_server_uri()` is unable to discover the URI.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38197#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list