WordPress.org
Showcase
Plugins
Themes
Hosting
News
Resources
Learn WordPress
Documentation
Education
Forums
Developers
Blocks
Patterns
Photos
Openverse
↗
︎
WordPress.tv
↗
︎
About
About WordPress
Make WordPress
Events
Five for the Future
Enterprise
Gutenberg
↗
︎
Job Board
↗
︎
Swag
↗
︎
Get WordPress
Search Trac
Get WordPress
Make WordPress Core
Blog
Handbook
Tickets
Components
Browse Source
Trac Timeline
Create a New Ticket
Search:
Login
Notifications
Context Navigation
Back to Ticket #1166
Ticket #1166
: foo.php
File foo.php,
162 bytes
(added by
anonymousbugger
,
21 years ago
)
Line
1
function check_url($url)
2
{
3
$client = new Snoopy();
4
$client->agent = 'WordPress/1.5.1';
5
$client->use_gzip = true;
6
7
return @$client->fetch($url);
8
}
Download in other formats:
Original Format