Skip to content

Commit

Permalink
load later
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkingorg committed Sep 19, 2011
1 parent dcbfe65 commit 16d8357
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flickr.php
Expand Up @@ -95,13 +95,13 @@ function akv3_flickr_process_feed_html($url) {
}

function akv3_flickr_process_feed_html_phpquery($url) {
if (!class_exists('phpQuery')) {
include_once('phpQuery.inc.php');
}
$response = wp_remote_get($url);
if (is_wp_error($response)) {
return false;
}
if (!class_exists('phpQuery')) {
include_once('phpQuery.inc.php');
}
// get ids
$photos = array();
$html = phpQuery::newDocumentHTML($response['body']);
Expand Down

0 comments on commit 16d8357

Please sign in to comment.