plugin updates
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user