From: Steve Sutton Date: Fri, 7 Jul 2017 20:55:39 +0000 (-0400) Subject: Another https update X-Git-Tag: v1.0.5^2~2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=d58ae0c24de6e2d6971ff860368133a2826255b3;p=WP-Plugins%2Fglm-wp-importer.git Another https update Need to put the or part into () --- diff --git a/controllers/ToolboxImport.php b/controllers/ToolboxImport.php index dee1fa9..3454563 100644 --- a/controllers/ToolboxImport.php +++ b/controllers/ToolboxImport.php @@ -1161,7 +1161,8 @@ $sql = " SELECT * FROM {$wpdb->prefix}posts - WHERE post_content LIKE '%http://is0.gaslightmedia.com%' OR post_content LIKE '%https://is0.gaslightmedia.com%' + WHERE (post_content LIKE '%http://is0.gaslightmedia.com%' OR + post_content LIKE '%https://is0.gaslightmedia.com%') AND post_type = 'page'"; echo '
'.$sql.'
'; $results = $wpdb->get_results($sql, OBJECT);