Make WordPress Core

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's profile error Owned by: ryan's profile 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)

#1 @error
20 years ago

  • Patch set to No

#2 @ryan
20 years ago

  • duplicate_id changed from 0 to 1086
  • Owner changed from anonymous to rboren
  • Resolution changed from 10 to 60
  • Status changed from new to closed

#3 @ryan
20 years ago

  • Status changed from closed to assigned

#4 @ryan
20 years ago

  • fixed_in_version set to 1.5.1
  • Resolution changed from 60 to 20
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.