Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 17 years ago

#2522 closed enhancement (fixed)

Disable "pingomatic is down" warning when using update-links.php

Reported by: joen's profile Joen Owned by: markjaquith's profile markjaquith
Milestone: Priority: low
Severity: normal Version: 2.0.1
Component: Optimization Keywords: update-links, pingomatic bg|commit
Focuses: Cc:

Description

In wp-admin/update-links.php on line 26, there is an "fsockopen" function call to api.pingomatic.com to see if links have changed.

When this pingomatic api is up (which in my case means a while ago, or that I'm blacklisted), there's no problem here. When it is down, however, a warning error is spewed out.

When combining this with a cron job such as http://hitormiss.org/projects/blogroll-update - this warning is spewed over the whole blog instead of only in the admin section.

I recommend fsockopen is changed to @fsockopen to disable warnings.

Attachments (2)

update-links.php__branches_2.0.diff (542 bytes) - added by markjaquith 18 years ago.
Patch for /branches/2.0/
update-links.php__trunk.diff (542 bytes) - added by markjaquith 18 years ago.
Patch for /trunk/

Download all attachments as: .zip

Change History (8)

#1 @davidhouse
18 years ago

  • Keywords bg|commit added

+1.

@markjaquith
18 years ago

Patch for /branches/2.0/

@markjaquith
18 years ago

Patch for /trunk/

#2 @markjaquith
18 years ago

  • Owner changed from anonymous to markjaquith
  • Status changed from new to assigned

Uploaded patches just add the @ silencer.

#3 @ryan
18 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [3916]) Silence pingomatic fsockopen. Props Mark Jaquith. fixes #2522

#4 @ryan
18 years ago

  • Milestone set to 2.0.4

#5 @ryan
18 years ago

(In [3917]) Silence pingomatic fsockopen. Props Mark Jaquith. fixes #2522

#6 @(none)
17 years ago

  • Milestone 2.0.4 deleted

Milestone 2.0.4 deleted

Note: See TracTickets for help on using tickets.