WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#5656 closed enhancement (invalid)

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

Reported by: hansengel Owned by: 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 6 years ago.
Adds alert to Settings > Discussion

Download all attachments as: .zip

Change History (8)

comment:1 hansengel6 years ago

  • Type changed from defect to enhancement

comment:2 darkdragon6 years ago

See also #4779.

comment:3 ffemtcj6 years ago

  • Milestone changed from 2.5 to 2.7

No Patch. Moved to 2.7

hansengel6 years ago

Adds alert to Settings > Discussion

comment:4 hansengel6 years ago

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

comment:5 Otto426 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;
}

comment:6 ryan6 years ago

  • Keywords has-patch removed

comment:7 jacobsantos6 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.