From 16d8357850762c34cfd33596456396adf8fe6c35 Mon Sep 17 00:00:00 2001 From: Alex King Date: Sun, 18 Sep 2011 23:59:31 -0600 Subject: [PATCH] load later --- flickr.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flickr.php b/flickr.php index f0408dd..f7283b8 100644 --- a/flickr.php +++ b/flickr.php @@ -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']);