plugin updates

This commit is contained in:
Tony Volpe
2024-10-11 13:25:50 -04:00
parent 5e5b879a68
commit a6fc17dcaa
391 changed files with 6812 additions and 4326 deletions

View File

@@ -4,7 +4,7 @@
Plugin URI: http://www.joomunited.com
Description: WP media Folder is a WordPress plugin that enhance the WordPress media manager by adding a folder manager inside.
Author: Joomunited
Version: 5.9.5
Version: 5.9.7
Update URI: https://www.joomunited.com/juupdater_files/wp-media-folder.json
Author URI: http://www.joomunited.com
Text Domain: wpmf
@@ -79,7 +79,7 @@ if (!defined('WPMF_TAXO')) {
define('_WPMF_GALLERY_PREFIX', '_wpmf_gallery_');
define('WPMF_PLUGIN_URL', plugin_dir_url(__FILE__));
define('WPMF_DOMAIN', 'wpmf');
define('WPMF_VERSION', '5.9.5');
define('WPMF_VERSION', '5.9.7');
define('WPMF_HIDE_USER_MEDIA_FOLDER_ROOT', true);
include_once(ABSPATH . 'wp-admin/includes/plugin.php');
@@ -1726,7 +1726,7 @@ if ($remote_video) {
*/
function wpmfFindImages($content)
{
if (preg_match_all('/<img [^<>]+ \/>/i', $content, $matches)) {
if (preg_match_all('/(<img[^>]+>)/i', $content, $matches)) {
if (isset($matches[0]) && is_array($matches[0])) {
foreach ($matches[0] as $img) {
$dom = new DOMDocument();
@@ -1955,7 +1955,7 @@ function wpmfDownloadFile()
break;
case 'onedrive':
require_once WPMFAD_PLUGIN_DIR . '/class/wpmfAddonOneDriveAdmin.php';
$library = new WpmfAddonOneDriveBusinessAdmin;
$library = new WpmfAddonOneDrive;
$library->getContentFile($drive_id, 1);
break;
case 'onedrive_business':