Opened 20 years ago
Closed 20 years ago
#1285 closed defect (bug) (fixed)
WordPress user-agent string missing version number when sending pingback
Reported by: | error | Owned by: | ryan |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 1.5.1 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
The user agent appears as "WordPress/ PHP/4.3.10". Adding "global $wp_version;" as below in wp-includes/comment-functions.php fixes the issue.
function discover_pingback_server_uri($url, $timeout_bytes = 2048) {
global $wp_version;
Change History (4)
Note: See
TracTickets for help on using
tickets.
http://trac.wordpress.org/changeset/2575