Make WordPress Core

Opened 17 years ago

Closed 16 years ago

#5656 closed enhancement (invalid)

Options>Discussion should warn if track/pingbacks won't work

Reported by: hansengel's profile hansengel Owned by: hansengel's profile hansengel
Milestone: Priority: normal
Severity: minor Version: 2.3.1
Component: Administration Keywords:
Focuses: Cc:

Description

If allow_url_fopen is set to Off and the Curl extension isn't loaded, trackbacks and pingbacks won't work. There should be some kind of notification that they will not work on the Options>Discussion page when they enabled (e.g. when enabled, check if track/pingbacks are possible, and if not, show a notification).

Thanks to Donncha for the inspiration.

Attachments (1)

5656.r7946.diff (678 bytes) - added by hansengel 17 years ago.
Adds alert to Settings > Discussion

Download all attachments as: .zip

Change History (8)

#1 @hansengel
17 years ago

  • Type changed from defect to enhancement

#2 @darkdragon
17 years ago

See also #4779.

#3 @ffemtcj
17 years ago

  • Milestone changed from 2.5 to 2.7

No Patch. Moved to 2.7

@hansengel
17 years ago

Adds alert to Settings > Discussion

#4 @hansengel
17 years ago

  • Keywords has-patch added; needs-patch removed
  • Owner changed from anonymous to hansengel
  • Status changed from new to assigned

#5 @Otto42
17 years ago

Suggestion: Since we're using wp_remote_fopen for all this sort of thing now, make a checker function near it in functions.php and use that instead.

function wp_remote_fopen_check() {
	if (ini_get( 'allow_url_fopen' ) || function_exists( 'curl_init' ))
		return true;
	return false;
}

#6 @ryan
16 years ago

  • Keywords has-patch removed

#7 @jacobsantos
16 years ago

  • Milestone 2.7 deleted
  • Resolution set to invalid
  • Status changed from assigned to closed

No longer an issue, pingbacks and trackbacks uses the HTTP API in 2.7.

Note: See TracTickets for help on using tickets.