Skip to content

Commit

Permalink
Fix for missing function
Browse files Browse the repository at this point in the history
  • Loading branch information
jawngee committed Feb 26, 2022
1 parent 3b4a868 commit 273c270
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion classes/Utilities/Search/Searcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,11 @@ private static function getTables() {
$wp_tables = [];
$foundTables = $wpdb->get_results("SHOW TABLES FROM {$wpdb->dbname}", ARRAY_A);
foreach($foundTables as $foundTable) {
$table = array_first($foundTable);
if (empty($foundTable)) {
continue;
}

$table = array_values($foundTable)[0];
if (strpos($table, $wpdb->prefix) !== 0) {
continue;
}
Expand Down
4 changes: 2 additions & 2 deletions ilab-media-tools.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Plugin URI: https://github.com/interfacelab/ilab-media-tools
Description: Automatically upload media to Amazon S3 and integrate with Imgix, a real-time image processing CDN. Boosts site performance and simplifies workflows.
Author: interfacelab
Version: 4.3.2
Version: 4.3.3
Requires PHP: 7.4
Author URI: http://interfacelab.io
*/
Expand Down Expand Up @@ -95,7 +95,7 @@
}

// Version Defines
define( 'MEDIA_CLOUD_VERSION', '4.3.2' );
define( 'MEDIA_CLOUD_VERSION', '4.3.3' );
define( 'MEDIA_CLOUD_INFO_VERSION', '4.0.2' );
define( 'MCLOUD_IS_BETA', false );
// Directory defines
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Requires at least: 4.9
Tested up to: 5.9.1
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Stable tag: 4.3.2
Stable tag: 4.3.3
Requires PHP: 7.4

Automatically store media on Amazon S3, Google Cloud Storage, DigitalOcean Spaces + others. Serve CSS/JS assets through CDNs. Integrate with Imgix.
Expand Down Expand Up @@ -105,7 +105,7 @@ Imgix is a content delivery network with a twist. In addition to distributing y

== Changelog ==

= 4.3.2 - 2/26/2022 =
= 4.3.3 - 2/26/2022 =

* **NOW REQUIRES PHP 7.4** Installing on PHP < 7.4 will not work and result in errors.
* Fixed an issue that would prevent certain tasks from running
Expand Down

0 comments on commit 273c270

Please sign in to comment.