WordPress.org
News
Showcase
Hosting
Extend
Themes
Plugins
Patterns
Blocks
Openverse
↗
︎
Learn
Learn WordPress
Documentation
Forums
Developers
WordPress.tv
↗
︎
Community
Make WordPress
Photo Directory
Five for the Future
Events
Job Board
↗
︎
About
About WordPress
Enterprise
Gutenberg
↗
︎
Swag Store
↗
︎
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
}
Trac UI Preferences
Download in other formats:
Original Format